react-native-keychain/RNKeychainManager
Igor Mandrigin c2701a516c Implement security level guarantees for Android.
Supported security levels:
- ANY
- SECURE_SOFTWARE
- SECURE_HARDWARE (TEE or SE guarantees).

(1) Add `getSecurityLevel()` API that returns which security level is
supported on this Android version and the specific device.

(2) For APIs that store credentials, an additional optional parameter was added
that fails storing the credentials if the security level is not what is
expected.

```
// Store the credentials.
// Will fail if Keychain can't guarantee at least SECURE_HARDWARE level of encryption key.
await Keychain.setGenericPassword(username, password, Keychain.SECURITY_LEVEL.SECURE_HARDWARE);
```

(3) StongBox support on Android 9+ (and supported devices [Pixel 3]).
2019-01-20 20:15:18 +01:00
..
RNKeychainManager.h Use absolute references (#50) 2017-01-10 20:35:04 +01:00
RNKeychainManager.m Implement security level guarantees for Android. 2019-01-20 20:15:18 +01:00