synheart_auth 0.1.2
synheart_auth: ^0.1.2 copied to clipboard
Flutter plugin for Synheart device authentication — ECDSA P-256 keys backed by iOS Secure Enclave or Android Keystore.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.2 - 2026-05-08 #
Changed #
- Android: bumped Maven dep to
ai.synheart:synheart-auth:0.1.1. Picks upDeviceRegistrarregister/rotate race fix,ClockSkewTrackerauto-applying skew on every signed request,AuthNetworkClientHTTP timeouts, and §13 audit-log PII redaction.
0.1.1 - 2026-05-08 #
Fixed #
- Android: Replaced filesystem-relative source include of
synheart-auth-kotlinwith the published Maven Central artifact (ai.synheart:synheart-auth:0.1.0). 0.1.0 only resolved when the Flutter plugin and the Kotlin SDK were sibling directories on disk — pub.dev consumers (where the package lives in~/.pub-cache/) sawimport ai.synheart.auth.registration.AttestationProviderfail to resolve. 0.1.0 has been retracted on pub.dev for this reason.
0.1.0 - 2026-03-04 #
Initial release.
- Request signing for HSI ingest via the
ai.synheart.authMethodChannel (iOS Secure Enclave / Android Keystore on the native side). signRequest()returns the six wire headers (X-App-ID, X-Device-ID, X-Synheart-Signature, X-Synheart-Timestamp, X-Synheart-Nonce, X-Synheart-Sig-Version).correctClockSkew(serverTimestamp)to align the device clock with the server.- Typed
DeviceAuthStatelifecycle andSynheartAuthErrorhierarchy. SynheartAuth.forTesting(bridge:)for mock injection.
Note: registerDevice() and rotateKey() are exposed on the API for
parity but currently throw UnsupportedError. Device registration and
key rotation are performed by the native runtime; this Flutter
shell only signs.