mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 02:01:36 +03:00
Allow ECC P-384 only on supported FW
This commit is contained in:
parent
496087f27f
commit
9ca44856e5
@ -27,7 +27,9 @@ List<KeyType> getSupportedKeyTypes(Version version, bool isFips) => [
|
||||
if (!isFips) KeyType.x25519,
|
||||
],
|
||||
KeyType.eccp256,
|
||||
KeyType.eccp384,
|
||||
if (version.isAtLeast(4, 0)) ...[
|
||||
KeyType.eccp384,
|
||||
]
|
||||
];
|
||||
|
||||
PinPolicy getPinPolicy(SlotId slot, bool match) {
|
||||
|
Loading…
Reference in New Issue
Block a user