Skip to content

Hardware key signing: Secure Enclave / StrongBox / TPM integration #3

@joelteply

Description

@joelteply

Summary

Phase 2 signing using platform hardware security modules for non-exportable ES256 keys.

Platforms

  • macOS/iOS: SecKeyCreateSignature with Secure Enclave key (Touch ID protected)
  • Android: KeyStore with setIsStrongBoxBacked(true)
  • Windows: TPM 2.0 via NCryptSignHash

Design

This is NOT WebAuthn — it's raw Secure Enclave access. WebAuthn signs clientDataJSON (challenge-response), not arbitrary data. The platform's native crypto API signs the JCS-canonical attestation payload directly.

The credentialId field optionally links to a WebAuthn credential for cross-referencing.

Depends on

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions