Nick Mathewson
|
5a2f70f86a
Clean up comments, mark more branches as BUG.
|
8 years ago |
Nick Mathewson
|
d4c57909f8
Test failing cases of ed25519 authentication.
|
8 years ago |
Nick Mathewson
|
acbb60cd63
Move unittests' RSA pregen code into a new file, and improve.
|
8 years ago |
Nick Mathewson
|
af2459f09e
Unit tests for cert-chain-processing, including failed cases
|
8 years ago |
Nick Mathewson
|
a90a111a5f
Label a few conditions in link authentication code as bugs.
|
8 years ago |
Nick Mathewson
|
672fe4bee4
Extend link handshake tests to handle successful Ed25519 handshakes.
|
8 years ago |
Nick Mathewson
|
99af260acc
For testing: function to construct (but not save) Ed keys and certs
|
8 years ago |
Nick Mathewson
|
67e66898d2
For testing: add a tor_x509_cert_dup().
|
8 years ago |
Nick Mathewson
|
88c2a6b936
Send and receive AUTHENTICATE cells correctly with ED keys.
|
8 years ago |
Nick Mathewson
|
e64bac6eb4
Increase TLS RSA link key length to 2048 bits
|
8 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.
|
8 years ago |
Nick Mathewson
|
0704fa8a63
Handle u32 overflow in ed25519 cert expiration time.
|
8 years ago |
Nick Mathewson
|
fae7060aea
Fix a misfeature with the Ed cert expiration API
|
8 years ago |
Nick Mathewson
|
0b4221f98d
Make the current time an argument to x509 cert-checking functions
|
8 years ago |
Nick Mathewson
|
e3c8253721
Add function to check RSA->Ed cross-certifications
|
8 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.
|
8 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 |
Nick Mathewson
|
b004ff45d7
New authentication types to use RFC5705.
|
8 years ago |
Nick Mathewson
|
fdd8f8df67
Send ed25519 certificates in certs cell, when we have them.
|
9 years ago |
Nick Mathewson
|
5205e95275
Refactor connection_or_send_certs_cell() to use trunnel
|
9 years ago |
Nick Mathewson
|
986695fb74
When parsing certs cells, allow more certs types
|
9 years ago |
teor
|
8f465808a0
Check for getpagesize before using it to mmap files
|
8 years ago |
Ivan Markin
|
922bc45a56
hs: Added rend_service_is_ephemeral() and made related code use it
|
8 years ago |
teor
|
0ee9049e94
Use the latest options in rend_service_check_private_dir
|
8 years ago |
teor
|
1747f28861
Check every hidden service directory's permissions when configuring
|
8 years ago |
teor
|
01fe039b78
Test single onion service configs where the directory does not exist
|
8 years ago |