1
0
mirror of https://github.com/metabolist/metatext synced 2024-12-11 00:45:54 +01:00

Keychain items accessible after first unlock

This commit is contained in:
Justin Mazzocchi 2021-01-05 15:39:03 -08:00
parent 61d1a3619d
commit f34fc7097d
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C

View File

@ -18,6 +18,7 @@ extension LiveKeychain: Keychain {
var query = genericPasswordQueryDictionary(account: account, service: service)
query[kSecValueData as String] = data
query[kSecAttrAccessible as String] = kSecAttrAccessibleAfterFirstUnlock
var status = SecItemAdd(query as CFDictionary, nil)