SomberNight
d54184dbc1
fix some DeprecationWarnings in python3.12
...
...\electrum\electrum\logging.py:137: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
...\electrum\electrum\x509.py:310: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
2 years ago
Sander van Grieken
74a1f38a8b
payment identifier types as enum
3 years ago
ThomasV
15eb765eac
payment_identifiers:
...
- this separates GUI from core handling
- the PaymentIdentifier class handles network requests
- the GUI is agnostic about the type of PI
3 years ago
SomberNight
373db76ac9
util: kill bh2u
...
no longer useful, and the name is so confusing...
3 years ago
SomberNight
2cf2135528
ecc: abstract away some usage of python-ecdsa: bytes<->int conversions
6 years ago
SomberNight
6940c424d1
logging: cli options to filter for modules using -v
...
old style "-v" still works
filtering examples:
-v=debug,network=error,interface=error // effectively blacklists network and interface
-v=warning,network=debug,interface=debug // effectively whitelists network and interface
7 years ago
SomberNight
3385a94753
logging: basics
7 years ago
SomberNight
7bea1cce1f
x509: show cert expiration date in error
...
related #5292
7 years ago
SomberNight
78f5afff74
use certifi directly instead of requests
7 years ago
SomberNight
1ef804c652
small import clean-up
7 years ago
Janus
262d431ff5
x509: handle dates in the 22nd century
7 years ago
Janus
097ac144d9
file reorganization with top-level module
8 years ago
SomberNight
9b7536e75c
use explicit utf-8 encoding when opening files in text mode
8 years ago
SomberNight
b02252d664
fix #4065
8 years ago
Justin Turner Arthur
857eb4ac1d
Remove unused imports. Explicitly import a few deep imports.
8 years ago
Justin Turner Arthur
9a0aa9b478
Remove Python 2 support imports.
8 years ago
ThomasV
216e9403be
cleanup six (no python2 support)
8 years ago
ThomasV
4f516dc08e
fixes for paymentrequests and python3
8 years ago
Dmitry Sorokin
362ca96f38
x509 fixes and plugins
8 years ago
Dmitry Sorokin
d304ccdf17
py3 in qtgui
8 years ago
Dmitry Sorokin
5be78950ca
py3
8 years ago
ThomasV
8c42c6d39f
show certificate name in error popup
10 years ago
ThomasV
305843999e
Relicensing
10 years ago
ThomasV
10701d72c9
New class for decoding asn1 structures
10 years ago
Roman Zeyde
a3a01be8ce
remove unused code
11 years ago
ThomasV
ca3c320ef4
simplify x509 constructor
11 years ago
ThomasV
e8d30129ea
replace TLSLite dependency with minimal RSA implementation
11 years ago
ThomasV
e4038dcdba
move create_csr to gui
11 years ago
ThomasV
8ba70c941b
add function to create CSR
11 years ago
ThomasV
f82de35bd2
x509: use SKI and AKI to find parent certificate if it is missing
11 years ago
ThomasV
7796243fdd
get_common_name: return string if missing
11 years ago
ThomasV
ed5258e406
parse certificates without pyasn1
11 years ago
ThomasV
036f96cf35
store invoices in a separate file, with their status
11 years ago
ThomasV
4fe32d2ad1
add root certificate to chain if missing. fixes #1137
11 years ago
ThomasV
58d2e90fa5
parse PEM list using tlslite
11 years ago
ThomasV
3e1078c79b
add support for rsa+sha384 and rsa+sha512 in paymentrequests
11 years ago
ThomasV
16c72d286c
try to import all python dependencies from the main script
11 years ago
Tafelpoot
d9c5250a6f
removed trailing whitespace and fixed indentation in history widget
11 years ago
ThomasV
fbb0801d15
better workaround for tlslite issue
11 years ago
ThomasV
9a3ca0dc31
add support for RSA_SHA256
12 years ago
ThomasV
f635c5110c
try pyasn1-modules as well
12 years ago
ThomasV
8feb2a7b67
fix missing import. fixes #738
12 years ago
ThomasV
b03d11003e
update comment on x509 class
12 years ago
ThomasV
f9985ae233
use x509 to check if server certificate has expired
12 years ago
ThomasV
958f764dae
verify payment requests with tlslite and pyasn1 (pure python) instead of m2Crypto
12 years ago