Skip to main content

sinew_security 1.1.0 copy "sinew_security: ^1.1.0" to clipboard
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), with BiometricStore (Stored | BiometricFailed) and BiometricUnlock (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, through BiometricPrompt + CryptoObject (needs FlutterFragmentActivity). iOS: a Keychain item with biometryCurrentSet, this device only, cleared after a reinstall (clearOnReinstall). Unavailable on desktop and web.
  • S4: FieldCipher (create, encrypt, decrypt, rotateKey) and DecryptionFailed: AES-256-GCM through webcrypto (BoringSSL on native, Web Crypto on web) with context as associated data and a fresh fillRandomBytes nonce 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 one flutter_secure_storage entry, 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.