diff --git a/keychain-kit/Sources/Keychain.swift b/keychain-kit/Sources/Keychain.swift index da0291f..4b2038b 100644 --- a/keychain-kit/Sources/Keychain.swift +++ b/keychain-kit/Sources/Keychain.swift @@ -26,6 +26,7 @@ public struct Keychain { kSecClass : kSecClassGenericPassword, kSecAttrAccount : key as AnyObject, kSecMatchLimit : kSecMatchLimitOne, + kSecReturnAttributes : kCFBooleanTrue, kSecReturnData : kCFBooleanTrue ]