COD-ssi

Enforcing Mutual Privacy for Credential Oblivious Disclosure in Self Sovereign Identity

Elia Onofri¹, Andrea De Salve², Paolo Mori³, Laura Emilia Maria Ricci⁴, Roberto Di Pietro¹

¹ KAUST–CEMSE, Saudi Arabia · ² CNR–ISASI, Italy · ³ CNR–IIT, Italy · ⁴ University of Pisa, Italy

ESORICS 2026

~/COD-ssi $ whoami

Path

  • B.Sc. Mathematics
  • M.Sc. Computational Sciences
  • Ph.D. in Mathematics
  • Prev. researcher at IAC–CNR, Rome
  • Prev. adjunct professor, Roma Tre University
  • Postdoctoral researcher at CRI-Lab, KAUST

Interests

  • Applied cryptography
  • Security & privacy
  • Graph theory
  • Theoretical computer science
  • Distributed ledgers
  • AI & trustworthy ML
  • Numerical analysis & modelling
A graph drawing
COD-ssi · ESORICS 2026

The team

Elia OnofriCRI-Lab, KAUST
Andrea De SalveCNR–ISASI
Paolo MoriCNR–IIT
Laura E. M. RicciUniversity of Pisa
Roberto Di PietroCRI-Lab, KAUST

We @CRI-Lab are hiring PhD students · roberto.dipietro@kaust.edu.sa

Partially supported by SERICS (PE00000014), MUR NRRP – NextGenerationEU

  • 1
  • 2
COD-ssi · ESORICS 2026

Agenda

  1. Self-Sovereign Identityidentity models, the three roles, the classical flow
  2. Selective Disclosureone question, hash-based SD, and who protects the Verifier
  3. COD-ssithe idea, the oblivious PRF, the model, security
  4. Cost Analysisa claim, a presentation, on an ordinary laptop
  5. Conclusionhighlights and open problems
COD-ssi · ESORICS 2026

01

Self-Sovereign Identity

Your credentials, in your own wallet — with cryptographic superpowers

  1. Self-Sovereign Identity
  2. Selective Disclosure
  3. COD-ssi
  4. Cost Analysis
  5. Conclusion
COD-ssi · ESORICS 2026

What is self-sovereign identity?

  • A digital identity model: individuals hold, manage and share their own data, as they see fit
  • … just like in the physical world …
  • … yet with cryptographic superpowers
  • No third party controls the individual's personal data

Two primitives
Decentralised IDentifiers (DIDs) · Verifiable Credentials (VCs)

Identity documents: passport, driver permit, ID card
  • 1
COD-ssi · ESORICS 2026

Traditional identity models & SSI

NON-FEDERATEDuserservice Aservice Bone account per serviceFEDERATEDuserIdPservice Aservice Bthe IdP sees every loginSELF-SOVEREIGNissuerholderverifiertrustsnobody in the middle

“Login with Google” always hands over name, e-mail and picture
… and Google sees where you went

  • 1
  • 2
  • 3
  • 4
COD-ssi · ESORICS 2026

The SSI ecosystem

  • Issuer: creates and signs a Verifiable Credential (VC) a university, a government, a bank
  • Holder: stores VCs in a wallet, builds Verifiable Presentations (VPs)
  • Verifier: requests and validates a presentation
  • The open question: every interaction may reveal more data than necessary
IssuerHolderVCVerifierVPtrusts
COD-ssi · ESORICS 2026

The classical SSI model

IssuerHolderVerifierVerifiable Credential (VC)Payload CVC = {ci : vi}Metadata MVCProof PVCsign(CVC ‖ MVC, skissuer)Verifiable Presentation (VP)Payload VC[·] = {VC1, …, VCm}Metadata MVPProof PVPsign(VC[·] ‖ MVP, skholder)issue VCsend VCverify VCcreate VPsend VPvalidate VP and VCsclassicalworkflow

Everything inside the VP is revealed (all or nothing)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
COD-ssi · ESORICS 2026

02

Selective Disclosure

Disclose what the question needs — and nothing more

  1. Self-Sovereign Identity
  2. Selective Disclosure
  3. COD-ssi
  4. Cost Analysis
  5. Conclusion
COD-ssi · ESORICS 2026

One question: to disclose or not to disclose?

A credential is not one document: it is a bundle of claims

Holderpersonal ID credentialnameJ. Doebirth_date2003-05-14birth_placePisa, ITnationalityITaddressVia Roma 12document_noCA1234567portrait[photo]age_over_18trueVerifier18+ website“are you over 18?”nameJ. Doebirth_date2003-05-14birth_placePisa, ITnationalityITaddressVia Roma 12document_noCA1234567portrait[photo]age_over_18trueVP: all 8 claimslearns your birth date, birthplace, address,document number, face …age_over_18trueVP: age_over_18 onlylearns one bit: over 18

Disclose what the question needs — and nothing more

  • 1
  • 2
  • 3
  • 4
  • 5
COD-ssi · ESORICS 2026

Hash-based selective disclosure

  • The Issuer signs commitments, not values: , with a fresh salt
  • Plain pairs travel aside, as credential data
  • At presentation, the Holder reveals the selected ; the Verifier recomputes

Why it won
Commit–reveal · claim-level granularity · plain hashing
the SD-JWT / RFC 9901 line

  • 1
COD-ssi · ESORICS 2026

The selective-disclosure SSI model

IssuerHolderVerifierissue VCsend VCverify VCcreate VPsend VPvalidate VPclassicalVerifiable Credential (VC)Payload CVCh = {ci : xi}xi = H(vi ‖ ti): digests, not valuesMetadata MVC · Proof PVCCredential Data (DVC)c1 : v1, t1 … cn : vn, tn+ DVCcollect claimsrequest claim(s) cisend vi, ti in plainrecompute xi, verifyselectivedisclosure

The Holder sees exactly which claims were asked for

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
COD-ssi · ESORICS 2026

… but who protects the Verifier?

Every SD scheme protects one side: the Holder learns exactly which claims were requested — say, a bank scoring a loan

HolderVerifierc1c2c3c4c5c6c7c8request: income, delinq-countc2c7the Holder reads exactly which two — and with them, the bank’s verdict

What leaks
Decision criteria · business rules · research focus

… and it is protected by law
Trade secrets (GDPR Rec. 63) · model confidentiality (Basel III Pillar 3)

Colluding Holders compare requests ⇒ model extraction

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
COD-ssi · ESORICS 2026

State of the art: selective disclosure, feature by feature

YearApproachClaim-level
granularity
Holder
privacy
Verifier
privacy
Issuer
binding
Primitive§Bound by
Holder
Cost⋆Adopted
in SSI
Open
source
2022Atomic credentials(✓)‖✓✗✓Signatures✓low✓✓
2025Hash-based / SD-JWT✓✓✗✓Hash commitments✓low✓✓
2023Merkle-tree based✓✓✗✓Hash trees✓low(✓)✗
2018Attribute-based enc.✓✓✗✓ABE✓high✗✗
2019Threshold cryptography✓✓✗✓Threshold sig.✓high✗✓
2004CL signatures✓✓✗✓ZKP (SRSA)✓high(✓)✓
2023BBS+ signatures✓✓✗✓Pairings + ZKP✓med✓✓
2023zk-creds (zkSNARK)✓✓✗†✓zkSNARK✓high✗✓
1998Private Information Retrieval✓✗✓✗PIR✗med✗✓
2026COD-ssi (this work)✓✓✓✓OPRF + AEAD✓med✓‡✓

§ ABE: attribute-based encryption · ZKP: zero-knowledge proof · OPRF: oblivious PRF · AEAD: authenticated encryption   ⋆ Presentation-time cost, relative to a plain signed credential   ‖ One VC per claim, hence no intra-credential flexibility   Dominant deployed choice   † The proved predicate itself discloses the Verifier's decision logic   ‡ Drop-in on top of hash-based SD

COD-ssi · ESORICS 2026

03

COD-ssi

Encrypt every claim, share keys obliviously

COD-ssi logo
  1. Self-Sovereign Identity
  2. Selective Disclosure
  3. COD-ssi
  4. Cost Analysis
  5. Conclusion
COD-ssi · ESORICS 2026

The idea: encrypt every claim, share keys obliviously

Setup

  • The Verifier declares it needs claims (here: 2 of 8), without saying which
  • The Holder builds the VP with all (encrypted) claims it is willing to disclose
  • The Verifier obliviously picks the claim keys it wants
  • The Verifier decrypts only those claims

Enforcement without knowledge
The Holder still caps how much leaves the wallet, while having no idea what left

HolderVerifierc1c2c3c4c5c6c7c8request: No = 2 — not which onescounted: 2which: ?c2c7opens 2: income, delinq-count · the other 6 stay noise
  • 1
  • 2
  • 3
  • 4
  • 5
COD-ssi · ESORICS 2026

The tool: oblivious PRF (2HashDH)

An OPRF splits a PRF evaluation: the client brings the input , the server the key , and only the client walks away with

HolderOPRF server · holds mskVPVerifierOPRF client · holds xir ←$ G, a = H1(xi)rab = amskVPbki = H2(xi, b1/r) = FmskVP(xi)

UC-secure under one-more Diffie–Hellman in the ROM (Jarecki et al. 2014; Beullens et al. 2025) · COD-ssi is OPRF-agnostic

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
COD-ssi · ESORICS 2026

The COD-ssi model

IssuerHolderVerifierissue VCsend VCverify VCcreate VPsend VPvalidate VPclassical+ DVCcollect & encryptPresentation Data (DVP)Payload EVC[·] = {EVC1, …, EVCm}Encrypted Credential Data (EVC)ci : (IVi, Encki(IVi, vi ‖ ti, xi))one fresh key ki per claimrequest No of N claimsclaim names cisend all N encrypted claims EVCa = H1(xi)r (blinded)b = amskVPderive ki, decrypt, verifyobliviousdisclosureObliviousness liesin the ki derivation
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
COD-ssi · ESORICS 2026

Creating the presentation: one key per claim

The Holder samples a fresh , then, for every claim:

  1. reuse the commitment the Issuer already signed
  2. derive a claim key through the OPRF
  3. AEAD-encrypt under a fresh nonce

Issuance is untouched
is already in the credential, and already covered by the Issuer's signature

Unlinkable across presentations
is fresh per VP: the same claim yields unrelated keys

Verification
OPRF rounds, then decrypt and check

  • 1
  • 2
  • 3
COD-ssi · ESORICS 2026

Security

Setting

  • Internal roles honest-but-curious
  • External adversary malicious, full network control

Known limit
A malicious Holder can misbuild the VP and mount a selective-failure attack (backup)

Four properties (Def. 1)

PropertyReduces to
1.ConfidentialityAEAD IND-CPA, OPRF
2.Authenticity, integrityAEAD INT-CTXT
3a.Client privacy (Verifier)OPRF pseudorandomness
3b.Server privacy (Holder)OPRF client privacy
4.Issuer verifiabilitySD in the ROM

3a + 3b: the OT-like dual guarantee of COD

Security is composition: no new hardness assumption anywhere

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
COD-ssi · ESORICS 2026

04

Cost Analysis

An ordinary laptop, a JavaScript prototype, 1000 runs per configuration

  1. Self-Sovereign Identity
  2. Selective Disclosure
  3. COD-ssi
  4. Cost Analysis
  5. Conclusion
COD-ssi · ESORICS 2026

Experimental setup

Testbed

  • Intel Core i7-9750H @ 2.60 GHz 16 GB RAM · Linux laptop, idle machine
  • JavaScript prototype, open source
  • claims per VC random 30-byte hex values
  • 1000 repetitions per configuration top and bottom 1 % discarded

Instantiation

  • OPRF: 2HashDH on secp256k1 noble-curves, SHA-256 hash-to-curve
  • AEAD: AES-GCM, 256-bit key fresh 96-bit IV per claim
  • Commitments: HMAC under SHA3-512 fresh 1024-bit salt per claim
  • W3C VCs in JWT · did:ethr SD-JWT, RFC 9901

Three levels measured
claim · credential · presentation — including and the oblivious interaction

  • 1
COD-ssi · ESORICS 2026

What a claim costs

Per-claim averages over all runs: independent of the number of claims

02468Claim hash (Issuer)0.019 msClaim encrypt (Holder)7.6 msOblivious request (Verifier)7.5 msOblivious response (Holder)6.1 msClaim decrypt (Verifier)6.3 msClaim verify (Verifier)0.008 msaverage per claim, ms
  • Hashing, verifying: free (< 0.02 ms)
  • Encrypt 7.6 ms · decrypt 6.3 ms · OPRF 7.5 / 6.1 ms
  • The cost is elliptic-curve key derivation, not the encryption
COD-ssi · ESORICS 2026

What a presentation costs: the classical baseline

Classical SD presentation: VP creation and verification time, VP size, 2 to 1024 claims
  • Baseline VP: always < 100 ms, dominated by signature checking
  • VP size: 3 kB (2 claims) → 0.53 MB (1024 claims)
COD-ssi · ESORICS 2026

What a presentation costs: the COD-ssi overhead ()

COD-ssi overhead: D_VP encryption and decryption time, D_VP size, 2 to 1024 claims
  • Overhead grows linearly; the plot decrypts every claim: the worst case
  • Realistic band (≤ 128 claims): < 2 s and ≈ 1 MB
COD-ssi · ESORICS 2026

05

Conclusion

In a credential exchange, the question is data too

  1. Self-Sovereign Identity
  2. Selective Disclosure
  3. COD-ssi
  4. Cost Analysis
  5. Conclusion
COD-ssi · ESORICS 2026

Highlights

  • COD-ssi: the first solution enforcing Verifier privacy in SSI credential exchange
  • One OPRF-derived key per claim ⇒ enforcement without knowledge
  • Security by composition: OPRF, AEAD, hash-based SD; no new assumption
  • Sits on top of SD-JWT: issuance untouched, Issuer absent at presentation time
  • < 2 s and ≈ 1 MB up to 128 claims, with an open-source prototype

Main takeaway
In a credential exchange the question is data too. COD-ssi is the first scheme that keeps it private — without giving up the Holder's disclosure bound.

  • 1
COD-ssi · ESORICS 2026

Open problems

  • Verifier privacy against a malicious Holder ZK proofs of correct encryption, to kill the selective-failure attack
  • Formalising VPP-SD Verifier-Privacy-Preserving SD as a construction-independent notion
  • Publicly auditable presentation requests an authority certifies the Verifier's policy: transparency with confidentiality
  • Beyond hash-based SD, and post-quantum encrypted-credential paradigms · 2HashOPRF is a drop-in
COD-ssi · ESORICS 2026

We are hiring PhD students

What we work on at CRI-Lab, KAUST

  • Cyber-physical systems security
  • Satellite and space security
  • Cryptocurrencies and distributed ledgers
  • LLM trustworthiness and security
  • Agentic security and safety
  • Privacy-preserving credentials — and many more, in a curiosity-driven fashion

Fully funded position
Covered tuition fees · monthly stipend
Relocation · on-campus housing
Medical insurance · visa support

King Abdullah University of Science and Technology

Interested? Come by and talk to me after the session, or write to our PI, Prof. Roberto Di Pietro: roberto.dipietro@kaust.edu.sa

COD-ssi · ESORICS 2026

Backup

Notation, algorithms, costs, proofs, attacks, caveats

COD-ssi · ESORICS 2026

Notation

Symbol Definition Meaning
did:<method>:<id> A DID controlled by name
— Secret key bound to
VC A [SD] verifiable credential
, — Metadata, Issuer signature
Claim–value dictionary
Claim–digest dictionary (signed)
, string Claim name (path), and value
Credential data: the plain claims
, , nonce Claim digest and its salt
The SD random oracle (SHA-3)
VP A verifiable presentation
— List of VCs on the same DID
, — Metadata, Holder signature
Presentation data (encrypted)
Encrypted claims of one VC
, Eligible claims; disclosure quota
Symbol Definition Meaning
, The (O)PRF (2HashDH); keyed
— Key, input, output spaces
Fresh VP master secret (Holder)
2HashDH hash-to-group
2HashDH finaliser
— Blinded request, response, blinding factor
Claim-specific symmetric key
AEAD encryption (AES-GCM)
AEAD decryption
nonce Fresh 96-bit initialisation vector
, Ciphertext, authentication tag
— Adversary
, Exp secp256k1 OPRF group; exponentiation in
— Issuer, Holder, Verifier
COD-ssi · ESORICS 2026

Algorithms 1 and 2: VP creation and verification

1 · VP creation (Holder)

In: SD credentials
Out: ,

  1. Sample a fresh from ;

  2. For each : ; for each claim :

    • retrieve from ;
    • key:
    • encrypt: ; fresh ;
    • pack: add to

    then add to

  3. Construct ; sign ; return VP,

2 · VP verification (Verifier)

In: VP, , quota
Out: the decrypted claims of interest

  1. Validate , and for each VC in
  2. For :
    • select and a claim in it;
    • sample from ; send to the Holder
    • receive ; evaluate
    • retrieve ; check the tag ; decrypt under
    • verify
  3. Return
COD-ssi · ESORICS 2026

Verification: pulling keys, not claims

Standard checks first: VP and VC signatures, subject binding, expiry, revocation

Then, times, the Verifier plays OPRF client on a claim of its choice:

  • →  , send
  • ←  Holder replies (blind)
  • →  recover , then
  • →  check (Issuer binding)

Quota: the Holder simply stops answering after queries disclosure bound preserved without knowing what was disclosed

What the Holder learns
Only : the number of opened claims

What the Verifier learns
The claims it queried; every other ciphertext stays indistinguishable from an encryption under a fresh random key

Where it runs
Holder ↔ Verifier only: the Issuer plays no part at presentation time

COD-ssi · ESORICS 2026

Cost of the oblivious interaction

OPRF request and response time, query and response size, 2 to 1024 claims
  • Verifier request time > Holder response time: the extra blinding and unblinding exponentiations
  • Communication is symmetric: request and response both ≈ 0.12 MB at 1024 claims
  • W.r.t. classical hash-based SD: more computation (elliptic curve vs plain hashing), smaller responses (group elements, not plaintext claims and nonces)
COD-ssi · ESORICS 2026

Asymptotic complexity

Phase Party Group ops Sym. ops Comm.
VP creation Holder —
VP validation Verifier — —
OPRF disclosure Verifier
Holder —
Storage () — — —

Exp: exponentiation in · : hash-to-group · : standard hashes · Enc, Dec: AEAD · SigV: signature verification

Reading
Creation is linear in , disclosure linear in ; exponentiation dominates. The Verifier's per claim against the Holder's one is exactly the asymmetry measured per claim.

COD-ssi · ESORICS 2026

Structure of VC, VP and

Verifiable Credential (VC)Payload CVChc1 : x1 = H(v1 ‖ t1)…cn : xn = H(vn ‖ tn)Metadata MVCProof PVCsign(CVCh ‖ MVC, skissuer)Credential Data (DVC)Payload CVCc1 : v1, t1 … cn : vn, tnVerifiable Presentation (VP)Payload VC[·]1 : VC1 = (CVC1h, MVC1, PVC1)…m : VCm = (CVCmh, MVCm, PVCm)Metadata MVPProof PVPsign(VC[·] ‖ MVP, skholder)Presentation Data (classic SD)Payload1 : [c· : v·, t·] … m : [c· : v·, t·]Presentation Data (DVP)Payload EVC[·]1 : EVC1…m : EVCmEncrypted Credential Data (EVC)c1 : (IV1, Enck1(IV1, v1 ‖ t1, x1))…cn : (IVn, Enckn(IVn, vn ‖ tn, xn))

Gold: the standard SD structure · cyan: the material COD-ssi adds, substituting the classic SD presentation data

COD-ssi · ESORICS 2026

2HashDH in detail

Setting. Group of prime order; ,

Protocol. Client holds , server holds

  1. client samples , sends
  2. server returns
  3. client unblinds
  4. client outputs

Security. One-more Diffie–Hellman in the ROM ⇒ UC-secure evaluation, optimal round complexity

Why an OPRF and not plain OT?
The Holder never holds “messages” to transfer: the ciphertexts are already public in . Only the keys need obliviousness: one OPRF key replaces OT instances.

Why the commitment as input?
is already in and signed by the Issuer ⇒ key derivation inherits Issuer binding for free

Freshness matters
is deterministic: reusing across presentations makes claims linkable. Sample it fresh, per VP.

COD-ssi · ESORICS 2026

Definition 1: security of VP with oblivious SD

Let contain encrypted claims . The protocol is secure if, against PPT adversaries:

  1. Confidentiality. For any not obtaining , the triple is computationally indistinguishable from an AEAD encryption of any equal-length message under a fresh uniform key.
  2. Authenticity and integrity. Any modification of is detected with overwhelming probability.
  3. Obliviousness of disclosure (dual guarantee):
    • (a) Client privacy. A PPT Verifier learns only for queried inputs; all other outputs are indistinguishable from independent uniform values.
    • (b) Server privacy. A PPT Holder gains no information on which subset of keys was retrieved, beyond policy-observable events (e.g. quota exhaustion).
  4. Issuer verifiability. Each claim remains cryptographically verifiable against the Issuer's signature in the corresponding VC.
COD-ssi · ESORICS 2026

Proof sketch of Theorem 1

Premises. 2HashDH is UC-secure in the ROM; AES-GCM is IND-CPA and INT-CTXT; SHA-3-based SD is secure in the ROM.

  • Property 3 (obliviousness) follows directly from OPRF UC-security: (a) pseudorandomness bounds what the Verifier learns to the queried inputs; (b) client privacy bounds what the Holder learns about the queried subset to nothing.
  • Properties 1–2 (confidentiality, integrity). By 3a, for every unqueried the key is indistinguishable from uniform; hence is indistinguishable from random by IND-CPA, and forgeries of are caught by INT-CTXT tag verification, even under an active network adversary.
  • Property 4 (Issuer verifiability) is inherited: the Issuer's signature stays bound to , hence to ; any credential modification invalidates it.

Composition
An AEAD achieving IND-CPA + INT-CTXT realises the authenticated-encryption functionality under UC composition ⇒ AES-GCM inherits UC-style composability, and the overall protocol satisfies Definition 1. Full treatment in the extended version (arXiv:2604.10685).

COD-ssi · ESORICS 2026

Extending security to malicious internal parties

  • Malicious Issuer. No role in VP verification; standard credential validation (signature, commitment checks) neutralises any malformed-credential vector. ⇒ no meaningful impact
  • Malicious Verifier. May deviate arbitrarily, but OPRF security plus AEAD IND-CPA/INT-CTXT bound its advantage on any claim whose key it did not obtain to a negligible quantity. Two practical caveats: OPRF determinism (linkability unless is fresh) and Holder policy signals (uniform errors, padding, rate limits)
  • Malicious Holder, at verification. Acts only as OPRF server; by the UC-security of 2HashDH against malicious servers, any deviation is indistinguishable from the ideal functionality or a detectable abort. The Verifier's OPRF input is pseudorandom, so selective failures leak nothing.
  • Malicious Holder, at creation. The residual vulnerability: Theorem 1 requires honest generation per Algorithm 1 (next slide).
COD-ssi · ESORICS 2026

The selective-failure attack, step by step

The missing binding. Nothing cryptographically ties

The attack.

  1. Holder encrypts , or derives from a manipulated
  2. The ciphertext is still AEAD-valid, but inconsistent with the VC
  3. Verifier picks claim : AEAD or fails ⇒ the Holder sees an abort and learns the pick
  4. Verifier does not pick it: silence ⇒ the Holder learns claim was not selected

Mitigations

i. Issuer-assisted
Issuer signs commitments binding soundness restored; Issuer online at presentation

ii. Trusted environment
VP generated inside an enclave no Issuer, but a trusted-software assumption

iii. ZK proof
Proof of correct encryption full binding, no added trust, significant cost

COD-ssi · ESORICS 2026

Motivating example II: medical data access

Setting: access to electronic health records for research

  • Medical data under strict proportionality requirements (GDPR Art. 9, HIPAA)
  • Researchers need only a limited subset: laboratory results, diagnostic codes, …
  • Disclosing which fields are accessed reveals the research focus
  • ⇒ premature exposure of ongoing scientific work, and of competitive positioning

What COD-ssi gives
Patients release no more than the attributes effectively queried, and the researcher's selection stays hidden

The balance
Data minimisation enforced without surrendering research confidentiality: under classical SD, the two are in direct conflict

COD-ssi · ESORICS 2026

Why not PIR, ZK, or anonymous credentials?

  • Private information retrieval. Fetches a record without revealing its index, but from a database held by one server no binding of the item to an Issuer-certified credential, no bound on how many items the Verifier obtains: both central here
  • Zero-knowledge SD (zkSNARK, zk-creds). The Holder proves a predicate over its claims the predicate itself is the Verifier's decision logic: the leak is built into the interface
  • Anonymous credentials (CL, BBS+). Strong Holder-side unlinkability and SD the Holder still takes part in policy-dependent proof generation, hence learns the policy; hidden-policy variants do not remove that dependency

Every existing family leaves the Verifier's request in the clear

COD-ssi · ESORICS 2026

Residual leakage and deployment caveats

  • Cardinality. The Holder always learns , the number of opened claims: by design, it is what makes quota enforcement possible
  • Linkability. is deterministic: the same across two presentations gives identical keys for identical claims mitigation: sample fresh per VP (as in Algorithm 1)
  • Policy-observable events. Quota exhaustion, error timing, and error type are side channels mitigation: uniform error handling, constant-time responses, padding, rate limiting
  • Implementation metadata. Ordering of the OPRF queries, message sizes and session structure can narrow the candidate subset mitigation: batch and shuffle the queries; pad to a fixed shape
COD-ssi · ESORICS 2026

Alternative interaction models

The presentation is normally Holder-initiated, but COD-ssi adapts:

  • Holder-initiated (default). The Holder picks the eligible claims; the Verifier declares it needs of them without saying which; the Holder agrees and builds
  • Verifier-declared policy. The Verifier's requirements are fixed, known in advance, and encoded in the presentation request they can be publicly certified, e.g. by a supervisory authority: regulatory transparency together with business confidentiality
  • Proactive Holder. The Holder offers a set of claims without waiting for a request; the Verifier draws from it obliviously

Invariant across all three
COD runs exclusively between Holder and Verifier at presentation time; the Issuer's role never extends beyond standard credential issuance

COD-ssi · ESORICS 2026

Towards VPP-SD: a construction-independent notion

Properties 3a and 3b jointly capture the OT-like privacy structure of COD. A construction-independent formalisation, Verifier-Privacy-Preserving Selective Disclosure, would cover instantiations beyond the OPRF-based design.

Verifier-privacy game
A malicious Holder prepares a presentation, observes the disclosure, and must tell which of two equal-size attribute subsets the Verifier selected. Verifier privacy ≡ negligible distinguishing advantage, modulo the policy-observable leakage.

Symmetric game
Bounds the Verifier's advantage in learning unqueried claims, recovering client privacy and confidentiality

Why it matters
Games over an abstract VP scheme syntax make alternative designs comparable, rather than tying the notion to 2HashDH

COD-ssi · ESORICS 2026

Credential-level statistics

VC creation and verification time, VC and D_VC size, 2 to 1024 claims

VC creation and verification times (left scale), VC and sizes (right scale), against the number of claims: verification is dominated by signature checking and stays nearly flat; sizes grow linearly

COD-ssi · ESORICS 2026

Baseline: classical hash-based SD disclosure

SD request and response time, query and response size, 2 to 1024 claims

The non-oblivious baseline: SD request and response times (left scale, note the units), sizes (right scale). Against the OPRF plot, COD-ssi costs more computation (elliptic curve vs plain hashing) but sends smaller responses: group elements replace plaintext claims and nonces.

COD-ssi · ESORICS 2026

Implementation details

Component Instantiation
Language JavaScript
DID method did:ethr v2.3.10, local Ethereum chain
VC / VP format W3C, JWT encoding (did-jwt-vc v3.1.4)
SD format SD-JWT (RFC 9901)
Claim commitment under SHA3-512, fresh 1024-bit salt
OPRF group secp256k1 (noble-curves v1.9.4)
Hash-to-group SHA-256-based hash-to-curve
Finaliser SHA-256
AEAD AES-GCM, 256-bit key, fresh 96-bit IV per claim
Benchmark host Intel Core i7-9750H @ 2.60 GHz, 16 GB RAM, Linux
Configurations claims, 30-byte random hex values
Repetitions 1000 per configuration, top/bottom 1 % discarded

https://github.com/eOnofri04/COD-ssi

COD-ssi · ESORICS 2026

References

  • Beullens, Dodgson, Faller, Hesse: The 2Hash OPRF framework and efficient post-quantum instantiations. Springer (2025)
  • Camenisch, Lysyanskaya: Signature schemes and anonymous credentials from bilinear maps. Springer (2004)
  • Chor, Kushilevitz, Goldreich, Sudan: Private information retrieval. J. ACM 45(6) (1998)
  • De Salve, Lisi, Mori, Ricci: Selective disclosure in self-sovereign identity based on hashed values. IEEE ISCC (2022)
  • Fett, Yasuda, Campbell: Selective Disclosure for JSON Web Tokens. RFC 9901 (2025); Internet-Draft -22 (2025)
  • Hernández-Ramos et al.: Protecting personal data in IoT platform scenarios through encryption-based selective disclosure. Comput. Commun. 130 (2018)
  • Jarecki, Kiayias, Krawczyk: Round-optimal password-protected secret sharing and T-PAKE in the password-only model. Springer (2014)
  • Mukta et al.: Blockchain-based verifiable credential sharing with selective disclosure. IEEE TrustCom (2020)
  • Onofri, De Salve, Mori, Ricci, Di Pietro: COD-ssi (extended version). arXiv:2604.10685 (2026)
  • Rosenberg, White, Garman, Miers: zk-creds: flexible anonymous credentials from zkSNARKs and existing identity infrastructure. IEEE S&P (2023)
  • Sonnino et al.: Coconut: threshold issuance selective disclosure credentials with applications to distributed ledgers. NDSS (2019)
  • Sporny et al.: Verifiable credentials implementation guidelines 1.0. W3C (2019)
  • Tessaro, Zhu: Revisiting BBS signatures. EUROCRYPT (2023)
  • Tian, Kong, Zhang, Li, Li: Authenticated selective disclosure of credentials in hybrid-storage blockchain. IEEE ICPADS (2023)
COD-ssi · ESORICS 2026