Skip to content

Commit

Permalink
Update Keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Apr 10, 2024
1 parent a725ae6 commit 77b8042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ impl ExtensionImpl<AuthExtension> for AuthBackend {
let key_id = keystore.store_key(
Location::Volatile,
Secrecy::Secret,
Kind::Symmetric(KEY_LEN),
Kind::Symmetric(KEY_LEN).into(),
&*k,
)?;
Ok(reply::GetPinKey {
Expand Down Expand Up @@ -378,7 +378,7 @@ impl ExtensionImpl<AuthExtension> for AuthBackend {
let key_id = keystore.store_key(
Location::Volatile,
Secrecy::Secret,
Kind::Symmetric(KEY_LEN),
Kind::Symmetric(KEY_LEN).into(),
&*key,
)?;
Ok(reply::GetApplicationKey { key: key_id }.into())
Expand Down

0 comments on commit 77b8042

Please sign in to comment.