tor-cert: add a few hs TODOs

This commit is contained in:
Nick Mathewson 2023-01-04 12:25:03 -05:00
parent eba937e54c
commit 9a54e01dd0
1 changed files with 3 additions and 0 deletions

View File

@ -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.