Kashiko Koibumi
5ccfd520b8
Merge branch 'bytes-key' into py3
2024-05-27 00:09:56 +09:00
Kashiko Koibumi
a4c4338190
use bytes() on keys to be hashable in Python3
2024-05-26 23:38:41 +09:00
Kashiko Koibumi
21a7bdba44
use six.int2byte(), six.byte2int, six.BytesIO
2024-05-25 12:27:32 +09:00
Kashiko Koibumi
f37a973f5f
use six.PY2 and six.PY3
2024-05-25 09:06:02 +09:00
17a09a665b
Moved samples into the samples module
2024-04-06 03:47:51 +03:00
5a48ee0ad5
Add tests for base58 and WIF decoding using pyelliptic.arithmetic
2024-04-06 03:47:19 +03:00
anand-skss
6a33fe58e1
Code Quality
2024-03-04 15:37:03 +00:00
anand k
e5e0f43b42
Code Quality
2024-02-26 13:18:02 +05:30
b3c5900eb3
Code quality fixes
2024-02-20 08:47:07 +08:00
8e95279906
Pad pubkey coordinates in pyelliptic.ECC.get_pubkey()
2024-02-01 17:20:46 +02:00
688094371e
Relax the assertion about privkey length
2024-02-01 17:20:46 +02:00
d3644aa354
Add a test for short pubkey coordinates
2024-02-01 17:20:13 +02:00
c80529eb9e
Suppress pylint protected-access in test_ecc
2022-11-15 03:55:09 +02:00
d751fb9081
ctypes.c_size_t in argtypes of EVP_DigestUpdate and HMAC
2022-11-15 03:19:16 +02:00
99fda8c84f
Linting for pyelliptic.ecc: edit doc example for python3 and PEP8,
...
remove redundant parentheses, reuse Cipher.gen_IV(),
fix misspelled ECDH and a wrong docstring for .get_curve().
2022-11-15 03:19:15 +02:00
ce199a24dc
Added more tests for pyelliptic.ECC
...
including parts of the encryption process, described in the Specification
with samples. Appended TestECC to builtin tests.
2022-11-15 03:19:15 +02:00
0fc5cd5927
Started a dummy test for random keys in pyelliptic.ECC()
2022-11-15 03:19:15 +02:00
fe7f8f6c95
OpenSSL improve memory handling
...
- replace void * with BIGNUM * where applicable
- fixes #1622
- replace 0 with None when using a NULL pointer as parameter
- maybe needs more work in how the data is accessed
- EC_POINT struct is now defined but isn't used yet
Closes : #1707
2022-11-15 03:18:41 +02:00
78e16e61a0
Build tests into the windows bundle if DEBUG=True is set in pyinstaller spec
2022-08-07 17:36:21 +03:00
98430c1cab
Use bytes everywhere in arithmetic
2021-08-17 15:57:08 +03:00
01b0fee4b4
Move to pyelliptic.tests also test_blindsig and test_openssl
2021-08-17 15:57:08 +03:00
6360c2773d
Separate pyelliptic tests from crypto tests and add simple tests for
...
changebase(), decode(), encode(), hex_to_point() and point_to_hex()
2021-08-17 15:57:08 +03:00
da8bd36614
Fix python3 issues in pyelliptic:
...
- use dotted imports, remove unneeded shebangs
- openssl._OpenSSL._version is of type bytes
- use b'\x00' literal instead of chr(0) in eccblind and test_openssl
- use // and divmod in arithmetic to fit PEP238:
https://docs.python.org/3/whatsnew/2.2.html#pep-238-changing-the-division-operator
2021-02-18 17:11:36 +02:00
lakshya
3f773c78f7
setting, openssl and bmproto quality fixes
2020-05-28 13:43:03 +05:30
ff1f451691
Blind signature updates
...
- added serializing and deserializing
- added a signature chain class `ECCBlindSigChain`
- added more tests
2020-03-31 14:13:32 +08:00
213519bd93
Blind chain signature verification
...
- also adds serialisation, deserialisation and optional metadata
2020-03-14 10:20:06 +08:00
lakshyacis
6139efc377
Imported packages sequencing and formatting 2
2020-01-27 14:43:25 +05:30
lakshyacis
8659c5313d
openssl pylint issue fixes
2020-01-07 13:20:31 +05:30
lakshyacis
814aae5166
eccblind quality fixes
2020-01-07 13:20:31 +05:30
lakshyacis
36c24cc09a
cipher quality fixes
2020-01-07 13:20:30 +05:30
lakshyacis
b16515dc09
arithmetic docstring and formatting
2020-01-07 13:20:30 +05:30
b5df242141
Fixed badly formatted docstrings and some wrong text
2019-10-18 01:06:02 +03:00
lakshyacis
a6f951d37f
openssl pylint fixes
2019-09-27 13:11:58 +05:30
lakshyacis
4448e6ee7b
hash pylint fixes
2019-09-27 13:11:58 +05:30
lakshyacis
e0d81bb7e8
cipher pylint fixes
2019-09-27 13:11:40 +05:30
lakshyacis
fa65b17fc9
__init__ pylint fixes
2019-09-27 13:10:24 +05:30
b934c4e01e
Minor refactoring to separate objects
2019-08-27 23:13:58 +02:00
2e0f7755c6
Blind signature support in pyelliptic
...
- add blind signature functionality to pyelliptic as described in #1409
- add tests for blind signatures
- PEP8 fixes for pyelliptic
- some minor refactoring is necessary for further integration, this is just a
minimal implementation to pass a test
2019-08-27 23:13:45 +02:00
coffeedogs
78ddb2f2f2
Changes based on style and lint checks. (final_code_quality_12)
2018-10-31 16:20:42 +00:00
coffeedogs
3b75d900f6
Added: Sphinx docs, testing readthedocs integration
...
* Added: Sphinx configuration including readthedocs config
* Added: Sphinx fabric task to auto-document the project
* Fixed: Some issues in the code causing autodoc to fail when parsing
* Added: Manual docs - structure, proof of concepts and RsT examples
* Fixed: RsT formatting in docstrings
* Fixed: Some adjacent minor style and lint issues
2018-06-13 10:07:45 +01:00
coffeedogs
ab1dd319e3
Fixed: Code style and lint fixes
2018-05-24 10:53:11 +01:00
50b74c2223
No lib symlinks in openwrt
2018-03-14 12:56:23 +02:00
a95f4aa255
LibreSSL compatibility
...
- code distinguishes between OpenSSL 1.1.x and LibreSSL and works with
both
2017-02-18 17:22:17 +01:00
59b5ac3a61
OpenSSL 1.1.0 compatibility fixes
...
- function check missed 1.1.0 release
- TLS didn't work with anonymous ciphers
2017-01-14 17:47:57 +01:00
6778d6046f
Add OpenSSL 1.1.0 compatibility
...
- thanks to Wolfgang Frisch <wfr@roembden.net>
2017-01-13 12:02:34 +01:00
mailchuck
2043d796dd
Typo
2016-05-02 15:00:23 +02:00
mailchuck
a0da175d45
Typo
2016-05-02 15:00:23 +02:00
mailchuck
dc34c00f38
Improve OpenSSL library finder
2016-05-02 15:00:23 +02:00
Jonathan Warren
6ebf8666dc
support SHA256 signatures
2015-03-27 15:25:32 -04:00
Jonathan Warren
e898b40203
Removed obsolete Protocol v2 code
2014-12-25 04:06:57 -05:00