| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Test for finish-handshake function | Nick Mathewson | 2020-10-23 | 1 | -0/+6 | |
| | | ||||||
| * | More tests for ed25519identity | Nick Mathewson | 2020-10-21 | 1 | -2/+9 | |
| | | ||||||
| * | Implement From, not Into. | Nick Mathewson | 2020-10-19 | 1 | -4/+4 | |
| | | | | | | These traits are inverses of one another, but implementing From is always preferred since rust 1.41 relaxed the "orphan rules". | |||||
| * | Validate master-key-ed25519 field in routerdescs | Nick Mathewson | 2020-10-19 | 1 | -0/+6 | |
| | | ||||||
| * | Improvements to Relay type in tor-netdir. | Nick Mathewson | 2020-10-19 | 1 | -0/+8 | |
| | | | | | | | | | | | | Now, a Relay is always valid. This required some changes to the API: all_relays() has to return a new UncheckedRelay type that might or might not be valid, and the functions on Relay and ChanTarget that return ed25519 identities need to return an Ed25519Identity, not an ed25519::PublicKey. This change required some new encoding/decoding/conversion functions on Ed25519Identity. | |||||
| * | Clarify kludgey magic in our to_der() function. | Nick Mathewson | 2020-10-18 | 1 | -1/+6 | |
| | | ||||||
| * | Use Ed25519Identity in microdescriptors. | Nick Mathewson | 2020-10-15 | 1 | -3/+12 | |
| | | ||||||
| * | Add an (unchecked) Ed25519Identity type | Nick Mathewson | 2020-10-15 | 1 | -0/+76 | |
| | | | | | | This type differs from ed25519::PublicKey in that it is _not_ checked or expanded. | |||||
| * | llcrypto: Move ed25519 module into its own file. | Nick Mathewson | 2020-10-15 | 2 | -75/+74 | |
| | | ||||||
| * | tests for some failing cases in mdconsensus | Nick Mathewson | 2020-10-06 | 1 | -1/+1 | |
| | | ||||||
| * | Make rsa::PublicKey derive Debug. | Nick Mathewson | 2020-10-02 | 1 | -1/+1 | |
| | | ||||||
| * | Enable batch ed25519 verification. | Nick Mathewson | 2020-10-02 | 1 | -0/+58 | |
| | | ||||||
| * | Document private members in most crates | Nick Mathewson | 2020-09-24 | 4 | -2/+25 | |
| | | ||||||
| * | Now that the rsa crate has pkcs1 decoding, use it. | Nick Mathewson | 2020-09-13 | 1 | -40/+7 | |
| | | | | | | | Also, instead of implementing an otherwise-derivable Hash for rsa public keys, tell clippy not to worry that we're defining partialeq but not hash. | |||||
| * | stop exposing rsa::errors::Result. | Nick Mathewson | 2020-09-13 | 1 | -7/+4 | |
| | | ||||||
| * | Add unit test for ValidatableEd25519Signature | Nick Mathewson | 2020-09-13 | 1 | -0/+28 | |
| | | ||||||
| * | Add test vectors for curve25519->ed25519 parts of llcrypto | Nick Mathewson | 2020-09-13 | 1 | -1/+2 | |
| | | | | | | | Also add a terminating NUL byte to a derivation string, to ensure that our results match Tor's results. (This does not actually serve a purpose FWICT.) | |||||
| * | llcrypto: Fix a bug in ed25519->curve25519 secret key conversion | Nick Mathewson | 2020-09-13 | 1 | -4/+30 | |
| | | | | | | | | We were taking the sign bit from the _secret_ key, which is totally incorrect. Instead it needs to be taken from the _public_ key. Additionally, add a unit test for ed25519->curve25519 code. | |||||
| * | llcrypto: tests for rsa kludge | Nick Mathewson | 2020-09-13 | 2 | -0/+31 | |
| | | ||||||
| * | cargo fix --edition-idioms | Nick Mathewson | 2020-09-09 | 1 | -5/+5 | |
| | | ||||||
| * | Also RSA identities on channel handshakes | Nick Mathewson | 2020-09-09 | 2 | -0/+64 | |
| | | | | | | | This took a good bit of hacking, including a kludge to extract an RSA subject key from an x509 cert, since we didn't have a good way to do that. | |||||
| * | Fix bogus docs in ll::pk::rsa | Nick Mathewson | 2020-09-09 | 1 | -2/+2 | |
| | | ||||||
| * | Fix clippy warnings; improve key type for consensus. | Nick Mathewson | 2020-09-07 | 1 | -2/+1 | |
| | | ||||||
| * | RSAIdentity: Better Display and Debug. | Nick Mathewson | 2020-09-07 | 1 | -1/+14 | |
| | | ||||||
| * | Migrate certificate and routerdesc checking to tor-checkable | Nick Mathewson | 2020-09-03 | 1 | -8/+7 | |
| | | | | | | Now these types are parsed and returned wrapped inside a checkable object. | |||||
| * | llcrypto: Define a "ValidatableSignature" type | Nick Mathewson | 2020-09-03 | 2 | -0/+67 | |
| | | | | | | This type wraps a signature, a public key, and the signed object. It's meant to be useful for implementing SelfSigned objects. | |||||
| * | Implement an ersatz hash() for RSAIdentity | Nick Mathewson | 2020-08-28 | 1 | -1/+7 | |
| | | | | | | For whatever reason, something I had didn't like me implementing a custom PartialEq but deriving Hash | |||||
| * | llcrypto: make RSAIdentity implement the Hash trait. | Nick Mathewson | 2020-08-27 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade to latest version of rsa crate | Nick Mathewson | 2020-06-12 | 1 | -13/+13 | |
| | | ||||||
| * | update to use latest rust-crypto traits and modules | Nick Mathewson | 2020-06-10 | 1 | -1/+1 | |
| | | ||||||
| * | Use links for traits in llcrypto docs | Nick Mathewson | 2020-05-08 | 3 | -4/+8 | |
| | | ||||||
| * | Upgrade to a modern version of "sha-1". | Nick Mathewson | 2020-05-08 | 1 | -44/+3 | |
| | | | | | | Apparently the "sha1" crate doesn't implement the RustCrypto API, but the "sha-1" crate does. | |||||
| * | make id field in RSAIdentity private | Nick Mathewson | 2020-05-08 | 1 | -2/+4 | |
| | | ||||||
| * | most missing docs for llcrypto | Nick Mathewson | 2020-05-08 | 6 | -22/+70 | |
| | | ||||||
| * | Stop re-exporting traits from tor-llcrypto. It does not help. | Nick Mathewson | 2020-05-08 | 4 | -11/+2 | |
| | | ||||||
| * | llcrypto: small documentation improvements | Nick Mathewson | 2020-05-08 | 1 | -6/+10 | |
| | | ||||||
| * | Fresh git repository for work on "arti" | Nick Mathewson | 2020-05-07 | 7 | -0/+309 | |
| Arti is a rust tor implementation. It's project I've been working on for a few months now, in weekends and in spare time. It doesn't speak the tor protocol yet, and it doesn't connect to the network at all. It needs much more documentation and testing, but I'm just about ready to show it to others. See the README.md for a description of what is there and what isn't. | ||||||
