diff --git a/crates/tor-cert/src/lib.rs b/crates/tor-cert/src/lib.rs index d5b6550a9..6e553922b 100644 --- a/crates/tor-cert/src/lib.rs +++ b/crates/tor-cert/src/lib.rs @@ -129,6 +129,7 @@ caret_int! { // 08 through 09 and 0B are used for onion services. They // probably shouldn't be, but that's what Tor does. + // TODO hs: Add these types. } } @@ -173,6 +174,8 @@ pub enum CertifiedKey { X509Sha256Digest([u8; 32]), /// Some unrecognized key type. Unrecognized(UnrecognizedKey), + // TODO hs: Add new alternatives here for the case that we're handling key types from + // onion services. These will correspond to types in tor-hscrypto. } /// A key whose type we didn't recognize.