Specify private key usage explicitly (#652)

This commit is contained in:
Max Goedjen authored and GitHub committed 2025-09-01 02:41:47 +00:00
1 parent 935ac32ea2
commit 99a6d48e53
1 file changed
+1 -1
@@ -112,7 +112,7 @@ extension SecureEnclave {
var accessError: SecurityError?
let flags: SecAccessControlCreateFlags = switch attributes.authentication {
case .notRequired:
[]
[.privateKeyUsage]
case .presenceRequired:
[.userPresence, .privateKeyUsage]
case .biometryCurrent: