Explain error 25308

This commit is contained in:
Kornel committed 2018-12-10 12:45:40 +00:00
1 parent 1926b7bfa6
commit 1cde8110df
2 files changed
+4

No files matched your search

+2
View File
@@ -31,6 +31,8 @@ func findPublicKey() -> Data? {
}
else if res == errSecUserCanceled {
print("\nABORTED! You've cancelled the request to read the key from the Keychain. Please run the tool again.");
} else if res == errSecInteractionNotAllowed {
print("\nERROR! The operating system has blocked access to the Keychain.");
} else {
print("\nERROR! Unable to access existing item in the Keychain", res, "(you can look it up at osstatus.com)");
}
+2
View File
@@ -30,6 +30,8 @@ func findKeys() -> (Data, Data) {
}
else if res == errSecUserCanceled {
print("ABORTED! You've cancelled the request to read the key from the Keychain. Please run the tool again.");
} else if res == errSecInteractionNotAllowed {
print("ERROR! The operating system has blocked access to the Keychain.");
} else {
print("ERROR! Unable to access required key in the Keychain", res, "(you can look it up at osstatus.com)");
}