summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* client-demo: do a TLS handshake.Nick Mathewson2020-09-093-20/+83
|
* netdir: look in right path for cached-microdescs.newNick Mathewson2020-09-091-1/+1
|
* New "linkspec" module to encapsulate info needed to connect/extend.Nick Mathewson2020-09-0810-94/+214
|
* rename weightfn variantsNick Mathewson2020-09-081-11/+11
|
* Add a handy function for picking a random relay.Nick Mathewson2020-09-083-2/+46
|
* Start on accessors for relay weight.Nick Mathewson2020-09-082-2/+70
|
* add emacs tmpfiles to gitignoreNick Mathewson2020-09-081-0/+2
|
* Create a stub for a minimal demo client program.Nick Mathewson2020-09-083-0/+63
| | | | | | | | For now, it's set up to just use a chutney network, so I don't cause major drama with the real network. I'll be working on this in parallel with proto and netdir improvements, until it works.
* netdir: add the ability to add authorities from a chutney directory.Nick Mathewson2020-09-082-1/+37
|
* netdir: Add an extra day's tolerance to consensus timeoutsNick Mathewson2020-09-081-0/+2
|
* TimerangeBound: add functions to extend the tolerancesNick Mathewson2020-09-081-0/+13
| | | | | (This seems much cleaner than baking extra tolerances into the "true" validity intervals")
* Refactor timerangebound to unwrap bounds earlier.Nick Mathewson2020-09-084-43/+34
| | | | This will make them easier to adjust
* Bugfix: parse ed25519 ids right in mdsNick Mathewson2020-09-082-3/+3
|
* Netdir: a few more accessorsNick Mathewson2020-09-083-7/+45
|
* netdoc: add a few accessorsNick Mathewson2020-09-072-2/+42
|
* Fix clippy warnings; improve key type for consensus.Nick Mathewson2020-09-077-15/+23
|
* RSAIdentity: Better Display and Debug.Nick Mathewson2020-09-072-1/+15
|
* netdoc: ignore bad entries in families.Nick Mathewson2020-09-071-0/+4
| | | | Some of these are nicknames, which we can safely ignore.
* Start on a 'netdir' crate to wrap netdoc.Nick Mathewson2020-09-077-2/+257
| | | | For now, this assumes an existing Tor cache directory.
* relaycell: slight error cleanupNick Mathewson2020-09-071-18/+23
|
* relaycell: move cmd into Unrecognized.Nick Mathewson2020-09-071-6/+20
|
* proto::relaycell: documentation and light refactoringNick Mathewson2020-09-072-103/+192
|
* rename relaycell stuff to its own module; rename a bitNick Mathewson2020-09-066-61/+61
|
* proto: Finish documenting chancellNick Mathewson2020-09-063-21/+196
|
* proto: small err cleanupsNick Mathewson2020-09-065-49/+35
|
* proto: make write_body_onto destructive. That might help down the roadNick Mathewson2020-09-062-19/+18
|
* Reinstate ChanCell as a meaningful type.Nick Mathewson2020-09-062-24/+24
|
* proto: major refactor to channel cellsNick Mathewson2020-09-068-758/+832
| | | | | | | The protocol is now based around a message-oriented scheme intended to use futures_codec, which in turn uses BytesMut. The transition to BytesMut is incomplete, and we're not nearly so zero-copy as intended. We should think about that.
* tor-bytes: Add initial support for the bytes crateNick Mathewson2020-09-053-0/+17
|
* Make MDConsensus also follow the checkable pattern.Nick Mathewson2020-09-031-14/+92
|
* Port authcert to use tor_checkable.Nick Mathewson2020-09-034-28/+55
|
* Migrate certificate and routerdesc checking to tor-checkableNick Mathewson2020-09-039-131/+255
| | | | | Now these types are parsed and returned wrapped inside a checkable object.
* checkable: Add a simple type for self-signed objects.Nick Mathewson2020-09-033-0/+36
|
* llcrypto: Define a "ValidatableSignature" typeNick Mathewson2020-09-033-1/+68
| | | | | This type wraps a signature, a public key, and the signed object. It's meant to be useful for implementing SelfSigned objects.
* New module with traits for time-bound and signed objectsNick Mathewson2020-09-014-0/+218
| | | | | | | | | | | Too often I've been writing code that defers timeliness checking to an is_valid_at() method [which you'd better call or else whoops] and which does signature checking while parsing [not great for performance]. Instead, let's make return types where you can't get at the interior object without first either checking the signatures/timeliness, or declaring that (dangerously) you don't care.
* WANT_FROM_OTHER_CRATES: observations on tlsNick Mathewson2020-09-011-2/+13
|
* Implement an ersatz hash() for RSAIdentityNick Mathewson2020-08-281-1/+7
| | | | | For whatever reason, something I had didn't like me implementing a custom PartialEq but deriving Hash
* Run cargo-upgrade.Nick Mathewson2020-08-285-21/+20
|
* llcrypto: add test vectors for sha3 and shakeNick Mathewson2020-08-281-1/+147
|
* Small readme editNick Mathewson2020-08-281-2/+3
|
* netdoc: Parser for microdesc consensus documentsNick Mathewson2020-08-277-0/+1375
| | | | | There's more to do here, and things to refactor, but this ought to be enough to get a rudimentary client working.
* llcrypto: make RSAIdentity implement the Hash trait.Nick Mathewson2020-08-271-1/+1
|
* netdoc: parse multiple authcerts from a string.Nick Mathewson2020-08-272-0/+42
|
* netdoc: add a check_len method for B64Nick Mathewson2020-08-261-0/+11
|
* Add a B16 argument type, to mirror B64.Nick Mathewson2020-07-201-0/+29
|
* More parsing for fingerprints, including non-spaced fingerprints.Nick Mathewson2020-07-201-4/+22
|
* Expose Protocols::new() as public.Nick Mathewson2020-07-201-1/+1
|
* tor-netdoc: Make SectionRules derive Clone.Nick Mathewson2020-07-201-0/+1
| | | | | | This is going to come in handy for the networkstatus stuff, where I need to define different variants of SectionRules for votes and consensuses.
* Update to latest packages; ed25519 now needs signature crate traits.Nick Mathewson2020-07-209-25/+33
|
* Run cargo fix --edition-idiomsNick Mathewson2020-06-263-3/+3
|