Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update VaultStore+Crypto.swift to disable OS-level PIN unlock fallback (#1562)
Leendert de Borst510b3c95d7f3
diff --git a/apps/mobile-app/ios/VaultStoreKit/VaultStore+Crypto.swift b/apps/mobile-app/ios/VaultStoreKit/VaultStore+Crypto.swiftindex f75efccbd..8e53a58a3 100644--- a/apps/mobile-app/ios/VaultStoreKit/VaultStore+Crypto.swift+++ b/apps/mobile-app/ios/VaultStoreKit/VaultStore+Crypto.swift@@ -172,10 +172,12 @@ extension VaultStore {/// Store the encryption key in the keychaininternal func storeKeyInKeychain(_ keyData: Data) throws {+ // Use .biometryCurrentSet to require biometric authentication only (no passcode fallback)+ // This also invalidates the key when biometrics are added/removed.guard let accessControl = SecAccessControlCreateWithFlags(nil,kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly,- [.userPresence],+ [.biometryCurrentSet],nil) else {throw NSError(domain: "VaultStore", code: 11, userInfo: [NSLocalizedDescriptionKey: "Failed to create access control"])