Add param

This commit is contained in:
Max Goedjen 2025-08-24 11:54:47 -07:00
parent 6ce8486d50
commit cf45addb4f
No known key found for this signature in database

View File

@ -162,7 +162,7 @@ extension SmartCard.Store {
let publicKeySecRef = SecKeyCopyPublicKey(publicKeyRef)!
let publicKeyAttributes = SecKeyCopyAttributes(publicKeySecRef) as! [CFString: Any]
let publicKey = publicKeyAttributes[kSecValueData] as! Data
let attributes = Attributes(keyType: KeyType(secAttr: algorithmSecAttr, size: keySize)!)
let attributes = Attributes(keyType: KeyType(secAttr: algorithmSecAttr, size: keySize)!, authentication: .unknown)
return SmartCard.Secret(id: tokenID, name: name, publicKey: publicKey, attributes: attributes)
}
state.secrets.append(contentsOf: wrapped)