Nick Mathewson
|
32854aef28
whitespace fixes
|
7 years ago |
Nick Mathewson
|
d9ca4e20bd
Merge branch 'feature_15055_v2'
|
7 years ago |
Nick Mathewson
|
f156156d56
Audit use of tor_tls_cert_get_key().
|
7 years ago |
Nick Mathewson
|
b978494ed9
Extract the common code in add_*_cert to a helper.
|
7 years ago |
Isis Lovecruft
|
19abc2eae7
Mark some functions as needing documentation in src/or/routerkeys.c.
|
7 years ago |
Isis Lovecruft
|
a53059c6a0
Document two additional functions in src/or/routerkeys.c.
|
7 years ago |
Nick Mathewson
|
70e7d28b3e
Generate our x509 certificates using sha256, not sha1.
|
7 years ago |
Nick Mathewson
|
805e97a433
Drop support for AUTHTYPE_RSA_SHA256_RFC5705 authentication.
|
7 years ago |
Nick Mathewson
|
53656381df
Changes file for 15055 branch.
|
7 years ago |
Nick Mathewson
|
5a2f70f86a
Clean up comments, mark more branches as BUG.
|
7 years ago |
Nick Mathewson
|
d4c57909f8
Test failing cases of ed25519 authentication.
|
7 years ago |
Nick Mathewson
|
acbb60cd63
Move unittests' RSA pregen code into a new file, and improve.
|
7 years ago |
Nick Mathewson
|
af2459f09e
Unit tests for cert-chain-processing, including failed cases
|
7 years ago |
Nick Mathewson
|
a90a111a5f
Label a few conditions in link authentication code as bugs.
|
7 years ago |
Nick Mathewson
|
672fe4bee4
Extend link handshake tests to handle successful Ed25519 handshakes.
|
7 years ago |
Nick Mathewson
|
99af260acc
For testing: function to construct (but not save) Ed keys and certs
|
7 years ago |
Nick Mathewson
|
67e66898d2
For testing: add a tor_x509_cert_dup().
|
7 years ago |
Nick Mathewson
|
88c2a6b936
Send and receive AUTHENTICATE cells correctly with ED keys.
|
7 years ago |
Nick Mathewson
|
e64bac6eb4
Increase TLS RSA link key length to 2048 bits
|
7 years ago |
Nick Mathewson
|
b4a5c77901
Verify ed25519 link handshake certificates
|
9 years ago |
Nick Mathewson
|
99b3e54691
Add "Ed ID" arguments to a bunch of connection-ID-related fns.
|
7 years ago |
Nick Mathewson
|
0704fa8a63
Handle u32 overflow in ed25519 cert expiration time.
|
7 years ago |
Nick Mathewson
|
fae7060aea
Fix a misfeature with the Ed cert expiration API
|
7 years ago |
Nick Mathewson
|
0b4221f98d
Make the current time an argument to x509 cert-checking functions
|
7 years ago |
Nick Mathewson
|
e3c8253721
Add function to check RSA->Ed cross-certifications
|
7 years ago |
Nick Mathewson
|
348b90a915
Refactor RSA certificate checking into its own function.
|
9 years ago |
Nick Mathewson
|
e94f1b4e0d
Free rsa_ed_crosscert at exit.
|
7 years ago |
Nick Mathewson
|
e23389841c
Migrate certificates into a sub-structure of or_handshake_state
|
9 years ago |
Nick Mathewson
|
4ef42e7c52
Refactor ...compute_authenticate_cell_body() to return a var_cell_t.
|
9 years ago |
Nick Mathewson
|
2bf6553949
Code to send correct authentication data when we are using AUTHTYPE>2
|
9 years ago |