Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Oct 9, 2024
1 parent 6283af5 commit 105f2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hpke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ impl ExtensionImpl<HpkeExtension> for StagingBackend {
.into())
}
HpkeRequest::SealKey(req) => {
// TODO: need to check both secret and private keys
// TODO: need to check both secret and public keys
let serialized_key =
keystore.load_key(key::Secrecy::Secret, None, &req.key_to_seal)?;
let mut message = Message::from_slice(&serialized_key.serialize()).unwrap();
Expand Down

0 comments on commit 105f2f9

Please sign in to comment.