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.
brew install cmake openssl zstd
make
./build/anonymous-creds