Share
Embed
Anastasia: Cinderella's Stepsister Turning Shabby X.509 Certificates into Elegant Anonymous Keyย Attestations
Presented at IIW 41 (Internet Identity Workshop), October 21, 2025
Dan Yamamoto
November 01, 2025
Transcript
15 slides
-
Anastasia: Cinderella's Stepsister Turning Shabby X.509 Certificates into Elegant Anonymous
Key Attestations Dan Yamamoto (Internet Initiative Japan Inc.) / Katsuyoshi Ozaki (DataSign Inc.) Keisuke Hasegawa (SECOM Intelligent Systems Laboratory) / Kazue Sako (Waseda University) IIW41 / October 21, 2025 -
Digital Identity Wallet 1 Issuer Verifier Wallet n Name n
IsOver21 Credential Presentation n n IsOver21 -
with Device Binding 2 Issuer Verifier Wallet n Name n
IsOver21 n ๐๐๐ n Signed nonce verifiable with ๐๐๐ ๐๐ ๐ ๐๐๐ Credential PoP Presentation n n IsOver21 n ๐๐๐ ๐๐ ๐: device private key, ๐๐๐: device public key -
with Key Attestation 3 Issuer Verifier Wallet n Name n
IsOver21 n ๐๐๐ n Signed nonce verifiable with ๐๐๐ ๐๐ ๐ ๐๐๐ X.509 Certs for Key Attestation n โ๐๐๐ is in a secure deviceโ Credential PoP Attestation CA Presentation n n IsOver21 n ๐๐๐ ๐๐ ๐: device private key, ๐๐๐: device public key -
Example: Android Key Attestation Certificate Chain 4 Algorithm: RSA4096 Issuer:
Key Attestation CA Subject: Key Attestation CA Validity: 2022-03-20 -- 2042-03-15 Subject Public Key: ๐๐! Signature: ๐! Algorithm: RSA4096 Issuer: Key Attestation CA Subject: Google Droid CA2 Validity: 2022-01-26 -- 2037-01-22 Subject Public Key: ๐๐" Signature: ๐" Algorithm: ES384 Issuer: Google Droid CA2 Subject: Google Droid CA3 Validity: 2025-10-07 -- 2025-12-16 Subject Public Key: ๐๐# Signature: ๐# Algorithm: ES256 Issuer: Google Droid CA3 Subject: StrongBox Validity: 2025-10-06 -- 2025-10-31 Subject Public Key: ๐๐$ Signature: ๐$ Algorithm: ES256 Issuer: StrongBox Subject: Android Keystore Key Validity: 1970-01-01 -- 2048-01-01 Subject Public Key: ๐๐% == device PK Signature: ๐% Root Cert CA Cert 1 CA Cert 2 CA Cert 3 EE Cert -
Challenge: Unlinkable Key Attestation with X.509 6 n X.509 certificates
consist of many correlating factors: lSerial number lValidity period (exact datetime) lSubject public key lSignature value lKey identifiers lExtended attributes for attestation, (e.g., Boot key hash) n โฆ But they do not support selective disclosure or range proofs n Do not provide unlinkability -
Prior Work: Cinderella 7 n Microsoft Research (Presented at IEEE
S&P 2016) n Use zk-SNARKs (Pinocchio) to anonymize RSA-based X.509 certificates n ๐ Tiny proofs (288 B) & fast verification (milliseconds) โ verifier-friendly n ๐ โParse outside, re-serialize insideโ design โ efficient circuits n ๐ Support proof of OCSP-stapling for revocation n ๐ข Huge parameters (GB-scale) & non-universal trusted setup n ๐ข Proof generation takes hundreds of seconds โ not suitable for mobile devices -
Cinderella in an ETSI Techinical Report 8 One immediate issue
is proving performance. Since the resulting Cinderella pseudo-certificates can take up to 9 minutes to generate for complex policies on a computer, it is recommended that they are generated offline and refreshed typically on a daily basis. โฆ Yet, progress in zk-SNARK proving performance - e.g. lookup table with PLONKish arithmetization, assembly provers for mobile platforms, and tolerance of "bigger" proofs (hundreds of kilobytes) would arguably make a re- implementation of Cinderella practical on mobile phones -
Our Proposal 9 n Pseudonymous key attestation: an attestation scheme
that verifies a device key as genuine while keeping it unlinkable to the deviceโs real-world identity n Built upon the Cinderella approach, enabling on-device execution on smartphones: l Uses UltraHonk (a PLONKish scheme) instead of Pinocchio to reduce prover computation cost l Prevents memory overflow by concatenating per-certificate proofs instead of generating a single chain-wide proof l Leverages zk-DSL Noir for circuit design, enabling developer-friendly circuit implementation and maintenance, and integrates with Mopro for seamless mobile deployment n Performance: Generates a two-level chain proof (CA โ EE; ES256) in about 30 seconds on an Android device (Google Pixel 9a) Anastasia: Cinderella's Stepsister Turning X.509 Certificates into Pseudonymous Key Attestations -
Example: Pseudonymous Android Key Attestations 10 Algorithm: RSA4096 Issuer: Key
Attestation CA Subject: Key Attestation CA Validity: 2022-03-20 -- 2042-03-15 Subject Public Key: ๐๐! Signature: ๐! Algorithm: RSA4096 Issuer: Key Attestation CA Subject: Google Droid CA2 Validity: 2022-01-26 -- 2037-01-22 Subject Public Key: ๐๐" Signature: ๐" Algorithm: ES384 Issuer: Google Droid CA2 Subject: Google Droid CA3 Validity: 2025-10-07 -- 2025-12-16 Subject Public Key: ๐๐# Signature: ๐# Algorithm: ES256 Issuer: Google Droid CA3 Subject: StrongBox Validity: 2025-10-06 -- 2025-10-31 Subject Public Key: ๐๐$ Signature: ๐$ Algorithm: ES256 Issuer: StrongBox Subject: Android Keystore Key Validity: 1970-01-01 -- 2048-01-01 Subject Public Key: ๐๐% Signature: ๐% Root Cert CA Cert 1 CA Cert 2 CA Cert 3 EE Cert ๐๐ฆ๐ -
Current Implementation 11 Algorithm: RSA4096 Issuer: Key Attestation CA Subject:
Key Attestation CA Validity: 2022-03-20 -- 2042-03-15 Subject Public Key: ๐๐! Signature: ๐! Algorithm: RSA4096 Issuer: Key Attestation CA Subject: Google Droid CA2 Validity: 2022-01-26 -- 2037-01-22 Subject Public Key: ๐๐" Signature: ๐" Algorithm: ES384 Issuer: Google Droid CA2 Subject: Google Droid CA3 Validity: 2025-10-07 -- 2025-12-16 Subject Public Key: ๐๐# Signature: ๐# Algorithm: ES256 Issuer: Google Droid CA3 Subject: StrongBox Validity: 2025-10-06 -- 2025-10-31 Subject Public Key: ๐๐$ Signature: ๐$ Algorithm: ES256 Issuer: StrongBox Subject: Android Keystore Key Validity: 1970-01-01 -- 2048-01-01 Subject Public Key: ๐๐% Signature: ๐% Root Cert CA Cert 1 CA Cert 2 CA Cert 3 EE Cert Not supported (Our ZK circuit currently supports only ES256 anonymization) ๐๐ฆ๐ -
Demo 12 1. Generate a key pair and X.509 certificate
chain on Android 2. Prove the validity of attestation certificates on Android 3. Verify proof on Web verifier -
Summary and Future Works 14 Summary n We design Anastasia,
a system that transforms X.509 certificate chains into anonymous key attestations using ZKP, building upon Microsoftโs Cinderella n In the prototype, a two-level chain proof (CA โ EE; ES256) is generated in about 30 seconds on Google Pixel 9a Future Works p Additionally support ES384 and RSA4096 certificates p Support privacy-preserving revocation applying ZK to CRL p Add iOS support p Provide formal security audit Repository