35 Commits (1257f21b1bc65f2c53b1e000a3a53c9da2ffe870)

Author SHA1 Message Date
ThomasV 2f3d89f415 prepare for separation of ecc module: 2 years ago
SomberNight 13e2949088
rm some legacy cruft for old python versions 2 years ago
SomberNight 235e28ce20
crypto: add some notes re considerations 2 years ago
SomberNight 76e547a084
followup: call super().__init__() for WalletFileException descendants 2 years ago
SomberNight 9f1b8613d0
swaps: code style clean-up, add type hints, force kwargs 2 years ago
SomberNight 312f2641e7
don't use bare except 3 years ago
SomberNight 28fe345b0b
keystore.check_password: raise better exc if called on pwless ks 3 years ago
SomberNight 79fec3417a
crypto.py: rm {En,De}codeAES_base64. instead use {En,De}codeAES_bytes 3 years ago
SomberNight e47e0afa91
commands: add "version_info" cmd 4 years ago
Benoit Verret f731c38293
Minor style changes 5 years ago
SomberNight 707a58abf1
crypto: add comment about ripemd.py 5 years ago
SomberNight 151a45911f
follow-up prev: too much copy-paste 5 years ago
SomberNight 9740744d70
crypto: add chacha20_decrypt; unused for now 5 years ago
SomberNight 9bc4182924
crypto: check version of pycryptodomex/cryptography at runtime 5 years ago
SomberNight 7e534f4865
dependencies: rm pyaes from requirements 5 years ago
SomberNight e1a2299f0c channel backup versions: trivial clean-up 6 years ago
ThomasV f9788a5d90 channel backups: add MAC 6 years ago
ThomasV 26ae6d68a3 add encryption version to channel backups 6 years ago
SomberNight 725b6f1564
crypto: chacha20-methods: make associated_data param optional 6 years ago
JeremyRand 62ca53cdf4
Fix "backed" typo in crypto.py 6 years ago
SomberNight 1ea89af012
crypto.pw_decode: fix one case of raising incorrect exception 6 years ago
SomberNight 789b78cab5
crypto: trivial clean-up of pw_encode/pw_decode functions 6 years ago
ThomasV c8f602c9d7 pw_decode, pw_encode: separate bytes functions 6 years ago
SomberNight 74a3faf803
crypto: add 'cryptography' as alt dependency for 'pycryptodomex' 6 years ago
SomberNight 18f3a37032
crypto: move LN-related chacha20/poly1305 code into crypto.py 6 years ago
ThomasV 5666188e9e update lnbase after crypto refactoring 6 years ago
ThomasV 6ba846bff0 fix hash in make_offered_htlc 6 years ago
SomberNight 8f5f0e46aa
keystore: fail sooner if unsupported version 7 years ago
SomberNight 0c9a03ac54
keystore: revert KDF change from #4838 7 years ago
SomberNight f04e5fbed6
crypto: fix pkcs7 padding check 7 years ago
SomberNight 48b0de7871
keystore: stronger pbkdf for encryption 7 years ago
SomberNight aceb022f9d
crypto: more type annotations 7 years ago
SomberNight 082a83dd85
rename crypto.Hash to sha256d 7 years ago
Janus 097ac144d9 file reorganization with top-level module 8 years ago
SomberNight bc0036297b fast hmac on python 3.7+ 8 years ago
SomberNight 1f6ccfb134
fast hmac on python 3.7+ 8 years ago
SomberNight 16e4827e8c
use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py 8 years ago