I am experiencing what it seems to be some kind of bug.
I am using the latest version of Locksmith (4.0) on Xcode 8.0.
Every time I try to save in keychain with an user account that has dots (like an email address), Locksmith throws an error Code=3.
Seems to be a comestic error, cause I can retrieve the correct saved string from keychain later with no issues.
If I take out the dots from the user account the error simply disappears.
Tried also downgrading to Locksmith 3.1 (also in Xcode 8.0) and the error message still shows up the same way.
The code I am using is:
do {
//Saving data to Keychain
try Locksmith.saveData(data: ["password": "123456"], forUserAccount: "usuario@teste.com.br")
} catch let err as NSError{
print(err.debugDescription)
}
The error message:
Error Domain=Locksmith.LocksmithError Code=3 "(null)"
Hi guys,
I am experiencing what it seems to be some kind of bug. I am using the latest version of Locksmith (4.0) on Xcode 8.0. Every time I try to save in keychain with an user account that has dots (like an email address), Locksmith throws an error Code=3. Seems to be a comestic error, cause I can retrieve the correct saved string from keychain later with no issues. If I take out the dots from the user account the error simply disappears.
Tried also downgrading to Locksmith 3.1 (also in Xcode 8.0) and the error message still shows up the same way.
The code I am using is:
The error message: Error Domain=Locksmith.LocksmithError Code=3 "(null)"