PlainKeychain

A really simple key-value wrapper for keychain.

Features

✅ Key-value pairs using kSecClassGenericPassword.

❌ Internet passwords (kSecClassInternetPassword).

❌ Biometric authentication (TouchID or FaceID).

❌ Cross-app access with kSecAttrAccessGroup.

Example

let keychain = PlainKeychain(service: "MyApp")

try keychain.setString("John", forKey: "nickname")

try keychain.getString(forKey: "nickname") // John

try keychain.deleteString(forKey: "nickname")

GitHub

View Github