mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-12-25 13:47:08 +00:00
Restrict key types smart card will load
This commit is contained in:
parent
a0bd55d1bf
commit
6c012e9d24
@ -90,6 +90,8 @@ extension SmartCard.Store {
|
||||
guard let tokenID = tokenID else { return }
|
||||
let attributes = [
|
||||
kSecClass: kSecClassKey,
|
||||
kSecAttrKeyType: kSecAttrKeyTypeEC,
|
||||
kSecAttrKeySizeInBits: 256,
|
||||
kSecAttrTokenID: tokenID,
|
||||
kSecReturnRef: true,
|
||||
kSecMatchLimit: kSecMatchLimitAll,
|
||||
|
Loading…
Reference in New Issue
Block a user