caryoscelus
6260a98759
Merge branch 'main' into git-and-newdir
2024-05-10 10:28:18 +00:00
caryoscelus
bdddf58712
WIP: change default data directories, subdirectories and config file
2024-05-07 14:03:44 +00:00
caryoscelus
ee0829d95e
Minor CryptBitcoin refactor
2023-12-22 11:00:58 +00:00
caryoscelus
23321bd300
Fix SyntaxWarning: invalid escape sequence
2023-11-17 17:56:28 +00:00
caryoscelus
cbf9c78e8c
helper function: quickly check if a string looks like a valid Bitcoin address
2023-07-23 10:44:21 +00:00
caryoscelus
023ec7706f
onion-v3 support fix (partial)
...
thanks @anonymoose
2021-12-25 18:19:07 +00:00
caryoscelus
cbc2c67b34
fix typo in onionv3 support
...
thanks @anonymoose
2021-12-24 14:50:07 +00:00
caryoscelus
acb313f481
onionv3 support WIP
...
thanks to @anonymoose, @zeroseed and @geekless
2021-12-22 15:54:16 +00:00
caryoscelus
be00a7e855
Add ed25519.py from torproject (onion-v3 support)
...
57364fae7269ec562c5fc8cdb073ff9463d9a0f0
https://gitweb.torproject.org/stem.git/commit/stem/util/ed25519.py?id=57364fae7269ec562c5fc8cdb073ff9463d9a0f0
2021-12-21 10:03:18 +00:00
Tamas Kocsis
c515e26cd6
Fix OpenSSL dll/so location find patcher
2020-11-03 02:51:42 +01:00
Tamas Kocsis
5cac059ef4
Display warning if SSLCurve native load failed
2020-11-03 02:50:21 +01:00
Ivanq
0a9a9b5a57
Support compressed keys
2020-03-30 09:40:06 +03:00
Ivanq
a4d91f7081
Import sslcrypto from lib
2020-03-21 22:52:56 +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
shortcutme
1cc0ec3f31
Indepently configurable OpenSSL lib/bin file
2020-02-20 17:23:00 +01:00
canewsin
8facd9ff84
Added Custom Openssl Path for Native Clients and start_dir config
...
This Parameter helpful where openssl path is not fixed always, we can also use this to reduce code verbosity by providing other like these and provide them as parameter
if sys.platform.startswith("win"):
self.openssl_bin = "tools\\openssl\\openssl.exe"
elif config.dist_type.startswith("bundle_linux"):
self.openssl_bin = "../runtime/bin/openssl"
else:
self.openssl_bin = "openssl"
Also Added Custom start_dir config option since android path issue of not valid "./" path, where files via provided path are not loading on some systems like Android client.
for more detailed conversation see pull request [#2422 ](https://github.com/HelloZeroNet/ZeroNet/pull/2422 )
2020-02-18 23:09:16 +05:30
shortcutme
08a0a63631
Create ssl contexts only once
2019-12-17 14:22:29 +01:00
shortcutme
958882c1c5
Revert "Switch to sslcrypto for cryptography tasks ( #2338 )"
...
This reverts commit fbc7b6fc4f
.
2019-12-15 18:30:42 +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
shortcutme
7b210429b5
Multi threaded eciesDecrypt
2019-11-25 14:37:55 +01:00
shortcutme
10ceeb7f02
Remove no longer necessary files after cert generation
2019-10-24 03:09:28 +02:00
shortcutme
448bb3ce98
Fix OpenSSL cert generation using LibreSSL
2019-10-24 03:09:16 +02:00
shortcutme
20c63c73b3
Support silent loading of verify lib
2019-10-16 15:43:07 +02:00
shortcutme
d3fce8ca36
Support Linux bundle OpenSSL
2019-09-04 20:16:32 +02:00
shortcutme
0b04176f18
Rev4203, Change console encoding to utf8 on Windows
2019-09-03 12:00:25 +02:00
Ivanq
500c96abe2
Fix UnicodeDecodeError when OpenSSL is not found
...
Fixes #2180
2019-09-02 14:35:28 +00:00
Ivanq
01ff89315b
Add GitLab CI/CD support ( #2163 )
...
* Use GitLab CI/CD
* Force colored tests
* Get rid of an error
* Mark tests as slow
* Disable codecov & coveralls
* Python 3.5-3.8
* Add Python 3.4
* Support both OpenSSL 1.1.0 and 1.1.1+
* Test both OpenSSL 1.1.0 and 1.1.1+
* Fix OpenSSL 1.1.1
* Fix Python 3.4 build
2019-08-19 17:30:31 +02:00
shortcutme
6a245a202c
Fix server connections encryption
2019-08-15 03:19:05 +02:00
shortcutme
8f491fe6e1
Use SSLContext for connection encryption, add fake SNI, ALPN
2019-08-15 03:08:40 +02:00
shortcutme
c9a2b86c16
Log possible OpenSSL cert generation error message at the same line
2019-07-18 03:33:35 +02:00
shortcutme
27fcb70774
Log loaded verify lib path and load time
2019-07-18 03:32:45 +02:00
shortcutme
ff32f822ba
Raise exception instead of using assert
2019-07-03 18:35:55 +02:00
shortcutme
e5d3b0e7b8
Use openssl from tools directory on Windows
2019-05-30 04:24:58 +02:00
shortcutme
100c2c8741
Set serial by command line to avoid .srl file creation
2019-04-10 19:59:02 +02:00
shortcutme
4a4f311cf8
Better logging of cert generation
2019-03-29 02:29:55 +01:00
shortcutme
bad4d14cf6
Save OpenSSL rand file in data directory to avoid error message on Windows
2019-03-29 02:29:32 +01:00
shortcutme
de303bf453
Modern crypto ciphers
2019-03-27 03:09:09 +01:00
shortcutme
3d8d3a9237
Randomize SSL subject (merged ValdikSS's commit)
2019-03-27 03:08:37 +01:00
shortcutme
0a1c22530a
More clear paramter name for verify
2019-03-20 00:48:09 +01:00
shortcutme
e6c0fe0370
OpenSSL config file to lib dir
2019-03-20 00:47:43 +01:00
shortcutme
0e2f7fb122
Use global rsa module
2019-03-16 02:39:11 +01:00
shortcutme
ee631730c7
Remove sha1 sum function
2019-03-16 02:38:47 +01:00
shortcutme
f7fd445c73
Test sha sum parameter type properly
2019-03-16 02:38:38 +01:00
shortcutme
5c0fc38272
Remove not used ECC cert generation
2019-03-16 02:37:48 +01:00
shortcutme
6df0321962
Py3 compatibilty of CryptConnection module
2019-03-16 02:37:38 +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
b0b9a4d33c
Change to Python3 coding style
2019-03-15 21:06:59 +01:00
shortcutme
ce6668ef8c
Avoid adding supported crypto multiple times
2019-01-20 03:27:44 +01:00
shortcutme
a49fcb0176
Fix verification for files without sign
2018-10-30 04:41:45 +01:00
shortcutme
8d26a572dd
Hashlib-like truncated sha512/256 object
2017-10-03 15:22:05 +02:00