mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Add ecdh tests for multiple keys including unprotected ones
This commit is contained in:
committed by
sosthene-nitrokey
parent
433313a837
commit
5ff9e592ec
+1
-4
@@ -276,10 +276,7 @@ impl AsymmetricKeyReference {
|
||||
}
|
||||
|
||||
pub fn is_encrypted(self) -> bool {
|
||||
match self {
|
||||
Self::CardAuthentication => false,
|
||||
_ => true,
|
||||
}
|
||||
!matches!(self, Self::CardAuthentication)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user