Skip to content

tauri-plugin-sign-keypairDevice keys that never leave the device

Hardware-backed ECDSA P-256 (ES256) signing for device-bound authentication in Tauri v2 apps, via AndroidKeyStore and the Apple Secure Enclave.

tauri-plugin-sign-keypair

Where to start ​

  • Adding it to an app? Getting started covers installing, registering the plugin, permissions and a first sign-and-verify.
  • New to device keys, secure elements or JWS? The explainer starts from "what is a signature" and is meant to be read in order, one through eight.
  • Already have enrolled devices? A hardware key cannot be imported, so moving a device onto one means re-enrolment. Migrating existing devices sets out the options.

This plugin is a port of vaam-apps/flutter-sign-keypair, the same hardware-backed signer for Flutter apps. The Kotlin and Swift keystore code is a direct port; the Rust, TypeScript and WebCrypto sides are new. Fixes do not flow automatically between the two projects.

Released under the MIT License.