mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-21 13:16:32 +00:00
Keychain items accessible after first unlock
This commit is contained in:
parent
61d1a3619d
commit
f34fc7097d
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue