Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 583 Bytes

File metadata and controls

23 lines (16 loc) · 583 Bytes

macos-secure-enclave-zero-knowledge

Demo of Longfellow ZK using the macOS Secure Enclave. Paper from Google: Anonymous Credentials from ECDSA

This demo binds an ISO mdoc-style credential to an ephemeral Secure Enclave P-256 key, signs the device-auth transcript inside the enclave, then proves:

age_over_18 == true

The verifier checks a Longfellow zero-knowledge proof. It does not learn the credential contents or the Secure Enclave private key.

run

brew install cmake openssl zstd
make
./build/anonymous-creds