Commit graph

81 commits

Author SHA1 Message Date
caryoscelus
3e4f61e1a8 fix compatibility with modern hashlib
ripemd160 has been removed from hashlib, we have to mend it with
other implementation for now
2022-05-12 22:44:19 +04:00
Guilherme
e4f42b8ce3 Avoid iterating in uninitialized result 2020-05-11 11:51:10 -03:00
Ivanq
0a9a9b5a57 Support compressed keys 2020-03-30 09:40:06 +03:00
Ivanq
66194ce435 Update gevent-ws to v2.0.7 to fix werkzeug 2020-03-17 23:48:36 +03:00
Ivanq
ba156bbdec Potential fix of BrokenPipeError 2020-03-17 07:54:56 +03:00
Ivanq
d3d18234df Upgrade gevent-ws to v2.0.5 2020-03-16 20:50:10 +03:00
ZeroNet
faa24a8b41
Merge pull request #2478 from imachug/sslcrypto-weird
Switch to sslcrypto v4.0 to support OpenSSL without builtin curves
2020-03-16 17:43:30 +01:00
Ivanq
7e17a4e967 Switch to sslcrypto v4.0 to support OpenSSL without builtin curves 2020-03-15 20:18:04 +03:00
Ivanq
19f003141b Disable process_result on websocket requests 2020-03-14 07:27:19 +03:00
Ivanq
a2457b2488 Forgot that Upgrade is case-insensitive 2020-03-09 11:06:35 +03:00
ZeroNet
296e4aab57
Fix sslcrypto thread safety (#2454)
* Use sslcrypto instead of pyelliptic and pybitcointools

* Fix CryptMessage

* Support Python 3.4

* Fix user creation

* Get rid of pyelliptic and pybitcointools

* Fix typo

* Delete test file

* Add sslcrypto to tree

* Update sslcrypto

* Add pyaes to src/lib

* Fix typo in tests

* Update sslcrypto version

* Use privatekey_bin instead of privatekey for bytes objects

* Fix sslcrypto

* Fix Benchmark plugin

* Don't calculate the same thing twice

* Only import sslcrypto once

* Handle fallback sslcrypto implementation during tests

* Fix sslcrypto fallback implementation selection

* Fix thread safety

* Add derivation

* Bring split back

* Fix typo

* v3.3

* Fix custom OpenSSL discovery
2020-03-05 17:54:46 +01:00
Ivanq
219b90668f
Switch from gevent-websocket to gevent-ws (#2439)
* Switch from gevent-websocket to gevent-ws

* Return error handling, add gevent_ws source to lib
2020-02-28 01:20:04 +01:00
shortcutme
958882c1c5
Revert "Switch to sslcrypto for cryptography tasks (#2338)"
This reverts commit fbc7b6fc4f.
2019-12-15 18:30:42 +01:00
ZeroNet
2f7323043f
Merge pull request #2358 from imachug/bencode
Switch to bencode_open
2019-12-15 12:49:04 +01:00
Ivanq
fbc7b6fc4f Switch to sslcrypto for cryptography tasks (#2338)
* Use sslcrypto instead of pyelliptic and pybitcointools

* Fix CryptMessage

* Support Python 3.4

* Fix user creation

* Get rid of pyelliptic and pybitcointools

* Fix typo

* Delete test file

* Add sslcrypto to tree

* Update sslcrypto

* Add pyaes to src/lib

* Fix typo in tests

* Update sslcrypto version

* Use privatekey_bin instead of privatekey for bytes objects

* Fix sslcrypto

* Fix Benchmark plugin

* Don't calculate the same thing twice

* Only import sslcrypto once

* Handle fallback sslcrypto implementation during tests

* Fix sslcrypto fallback implementation selection
2019-12-15 12:46:06 +01:00
Ivanq
3178b69172 Switch to bencode_open 2019-12-12 17:46:16 +03:00
shortcutme
10817aefae
Fix pyelliptic OpenSSL 1.1 compatibility if it's also present in site-packages 2019-09-15 22:08:48 +02:00
shortcutme
1cfe874893
Use find_library first to locate libeay32 2019-08-08 23:37:43 +02:00
shortcutme
5da46ca29c
Cleanup whitespace in pyelliptic 2019-08-08 23:37:21 +02:00
shortcutme
cc21cbd1bd
Use relative import in pyelliptic 2019-08-08 23:36:58 +02:00
shortcutme
fbafd23177
Add OpenSSL 1.1 support to CryptMessage plugin by using radfish's pyelliptic version 2019-08-02 16:13:54 +02:00
shortcutme
617027eb52
Rev4089, Support compressed addresses in libsecp256k1 sign verification 2019-05-02 17:38:36 +02:00
shortcutme
3d8d3a9237
Randomize SSL subject (merged ValdikSS's commit) 2019-03-27 03:08:37 +01:00
shortcutme
e6c0fe0370
OpenSSL config file to lib dir 2019-03-20 00:47:43 +01:00
shortcutme
f0b53c4cbb
Add bundled pybitcointools 2019-03-16 03:01:50 +01:00
shortcutme
3eae349a0a
Remove included win_inet_pton, websocket, rsa, socks, pyelliptic, pybitcointools, pyasn1, opensslVerify, merkletools, geventwebsocket, BitcoinECC, bencode module 2019-03-16 02:58:49 +01:00
shortcutme
bc93796727
Add faster libsecp256k1 support for sign verification, Remove old style signing support, 2019-03-16 02:36:11 +01:00
shortcutme
8ab9b06185
Subtl module py3 compatibility 2019-03-16 02:06:28 +01:00
shortcutme
b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme
044456cd98
Add win_inet_pton package for missing socket functions 2019-01-20 03:09:46 +01:00
Mickaël Schoentgen
e8298726ca Fix DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-06 15:15:47 +01:00
shortcutme
669572b0e6
Fix udp tracker lib error reporting 2018-08-26 22:55:31 +02:00
shortcutme
09f1ad0625
Add websocket client to allow API command requests from CLI 2018-04-03 14:47:43 +02:00
shortcutme
8e2be5cfe2
Add Merkletools package for bigfile plugin 2017-10-04 13:29:32 +02:00
ZeroNet
5f753d41d4 Merge pull request #1061 from cclauss/patch-3
import binascii
2017-07-31 13:49:13 +02:00
cclauss
231195ba0a import binascii
Solves the undefined name on line 30
2017-07-31 12:28:55 +02:00
cclauss
504b147cee import math
Resolves the undefined name on line 54
2017-07-31 12:06:11 +02:00
shortcutme
f30b2b6fc2
Rev2130, Use SslPatch to load openssl library, Fix Android 6 openssl loading 2017-07-04 01:12:58 +02:00
shortcutme
ebbe19131b
Rev2128, Update to OpenSSL v1.0.2l 2017-06-30 10:13:25 +02:00
shortcutme
4c7ff9bb53
Fix unhandled expcetion on invalid cert 2017-04-12 00:31:37 +02:00
shortcutme
880d536837
Disable geventwebsocket logging 2017-04-08 17:22:29 +02:00
shortcutme
1144f28982
Rev2027, Rollback PySocks as it does not works well with Tor/gevent 2017-04-08 17:22:00 +02:00
shortcutme
3384bd1e58
Rev2026, Change diferent openssl binary for better compatibility 2017-04-08 12:14:59 +02:00
shortcutme
8650651567
Prefer OpenSSL 1.0 2017-04-07 00:12:50 +02:00
shortcutme
2f38f8d9f3
Update gevent websocket to 0.10.1 2017-04-06 23:26:19 +02:00
shortcutme
44afaf7a4b
Update openssl dlls to 1.0.2k 2017-04-06 23:25:25 +02:00
shortcutme
ccfcdbc6ca
Update pyelliptic 2017-04-06 23:24:38 +02:00
shortcutme
fbe96a0a6d
Update rsa to 3.4.2 2017-04-06 19:21:32 +02:00
shortcutme
fa65a6dc05
Update PySocks to 1.6.7 2017-04-06 19:20:27 +02:00
shortcutme
9921fc07dd
Update pybitcointools to 1.1.42 2017-04-06 19:19:47 +02:00