mirror of
https://github.com/metabolist/metatext
synced 2024-12-26 01:32:49 +01:00
Keychain items accessible after first unlock
This commit is contained in:
parent
61d1a3619d
commit
f34fc7097d
@ -18,6 +18,7 @@ extension LiveKeychain: Keychain {
|
|||||||
var query = genericPasswordQueryDictionary(account: account, service: service)
|
var query = genericPasswordQueryDictionary(account: account, service: service)
|
||||||
|
|
||||||
query[kSecValueData as String] = data
|
query[kSecValueData as String] = data
|
||||||
|
query[kSecAttrAccessible as String] = kSecAttrAccessibleAfterFirstUnlock
|
||||||
|
|
||||||
var status = SecItemAdd(query as CFDictionary, nil)
|
var status = SecItemAdd(query as CFDictionary, nil)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user