sinew_security 1.1.0
sinew_security: ^1.1.0 copied to clipboard
FieldCipher and BiometricVault on vetted crypto per platform.
1.1.0 #
- Released with the other packages (lockstep). No changes in this package.
1.0.0 #
- S4:
BiometricVault(create,availability,isStored,store(secret, reason:),unlock(reason:),disable), withBiometricStore(Stored|BiometricFailed) andBiometricUnlock(Unlocked|BiometricFailed): a plugin with Kotlin's crypto-bound flows. Android: a Keystore key needing a strong biometric match for every use, invalidated by new enrollments, throughBiometricPrompt+CryptoObject(needsFlutterFragmentActivity). iOS: a Keychain item withbiometryCurrentSet, this device only, cleared after a reinstall (clearOnReinstall). Unavailable on desktop and web. - S4:
FieldCipher(create,encrypt,decrypt,rotateKey) andDecryptionFailed: AES-256-GCM throughwebcrypto(BoringSSL on native, Web Crypto on web) withcontextas associated data and a freshfillRandomBytesnonce per value, in Kotlin's layout (version | key id | nonce | ciphertext | tag); the Kotlin fixtures (Tink, CryptoKit, Web Crypto) decrypt. The keyring (Kotlin's byte layout) is oneflutter_secure_storageentry, first-unlock this-device-only; concurrent opens of one alias share it. Builds need CMake (see the README). Replaces the S0 placeholder. - S0: package skeleton.