How long can an OID4VCI c_nonce be used, and how many times?

Credential proof nonce is short-lived and single-useOID4VCI 1.0 §7 and 8.2MUSTRoles: issuer

Requirement as recorded in the ProtocolSoup registry

A credential proof nonce is short-lived and single-use, including when two Credential Requests attempt to consume it concurrently.

Read §7 and 8.2 in OID4VCI 1.0

Self-test verdict

PassCommit 00bac3fEvaluated

This is ProtocolSoup's result against its own implementation at the commit shown. It is not a certification of ProtocolSoup or of any other product.

Captured from production

Captured Commit 00bac3f

Captured from the deployed ProtocolSoup at the commit shown. Every request and response is shown exactly as sent and received.

Passing exchange

Accepted, as requiredConformance client

The conformance client obtains a c_nonce from /oid4vci/nonce and sends /oid4vci/credential a Credential Request whose jwt proof carries it.

Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.

  1. 1.POST https://protocolsoup.com/oid4vci/credential200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oid4vci/credential HTTP/2.0
    Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiSldUIn0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImNyZWRlbnRpYWxfY29uZmlndXJhdGlvbl9pZHMiOlsiVW5pdmVyc2l0eURlZ3JlZUNyZWRlbnRpYWxTREpXVCJdLCJleHAiOjE3OTY1NjMzMzcsImlhdCI6MTc5NjU2MzAzNywiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29pZDR2Y2kiLCJqdGkiOiJqdGktZTQ4YTI1YjYwZTRmYjkzOCIsIm5iZiI6MTc5NjU2MzAzNywib2ZmZXJfaWQiOiIxV2FJQnNzOXR2czhrZTMyMFhDQmRjbDYiLCJzY29wZSI6InZjOmlzc3VlIiwic3ViIjoid2FsbGV0OjFXYUlCc3M5dHZzOGtlMzIwWENCZGNsNiJ9.Nlrm0GRIOfu5kCLioOOzB2jQtLKpGvm95iW7keOV6yXkYGba4WofZGFuSo_9FbXBrlZ0H3GuJN_-IbULp8TvFFCHZ5OX_NmgNtPrZnfScSzKibhECPKIlK_KDvx5pCLgRJpW5wOtLYuuoOPOZ2eoLpPOT1AXdwIw1wdIxd3oc30WBQmIBoCr8cMUpkV6p0ZDjJ68WIEVc7FUs0cv9J2OWUx7IGy4GUhKRryHOhUEdlMCQVLFNZel_FC5xu9xq2krL0I4xov0VBRbv7mtouRXa-JfZnnjritCSlF_KZkwRshJXHJo9LiO9eJkEQ2j93V3P_dW06xpwHfF7FP0ajrkjQ
    Content-Length: 537
    Content-Type: application/json
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    {"credential_configuration_id":"UniversityDegreeCredentialSDJWT","proofs":{"jwt":["eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6Ijdfd1VfeE52TVB6djZkWk9GcGt5a1pGWHJxemhYQWFXMDRRUUh1Sk10eHMiLCJ5IjoiR1k0SlZmMVZSVWRpRUpHOW5ha1VTbU9PQVRUMElXQ1JCWFNWWTRkaXNlOCJ9LCJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCJ9.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImlhdCI6MTc5NjU2MzAzOCwibm9uY2UiOiJ5amRVbnhHcUl6MloxeGkwbG1wUmI1OWcifQ.DqkUn6zLzpHc6jvsdkud1QvEm0SA0PGzv406jYihvA0FPDfjT4PM0x_yrUy9VOc-I3gZ7dlyDs-f3Pc3p0qmhA"]}}

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b91f36b3b1425-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:17:19 GMT
    Fly-Request-Id: 01M95R0X16HZ3ZQ269TD7JMVQ3-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=B1GABWJvC15inKYhNzOGOD4m40jRUyds34Qy3Zpp2OR%2B32MdRUVphWqRg03mnKTxZfUjP7s9qeC1WZmhN6TlmejgBIkwETEg10TRZegxErtAJOaJSdZIng3WgDG%2B0qTav2k%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=3,cfOrigin;dur=212
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"credentials":[{"credential":"eyJhbGciOiJFUzI1NiIsImtpZCI6Ik5KMER1S0x2M0VsU0tCTWpKMEpkOXdZRkZnbmczVk5GcEwwdzFldDhRMUkiLCJ0eXAiOiJkYytzZC1qd3QiLCJ4NWMiOlsiTUlJQ2ZqQ0NBaVNnQXdJQkFnSVJBS0FCQklSc2hyczRhYVVsbzE4OUY1QXdDZ1lJS29aSXpqMEVBd0l3U1RFTE1Ba0dBMVVFQmhNQ1ZWTXhGVEFUQmdOVkJBb1RERkJ5YjNSdlkyOXNVMjkxY0RFak1DRUdBMVVFQXhNYVVISnZkRzlqYjJ4VGIzVndJRzFFVENCSlFVTkJJRkp2YjNRd0hoY05Nall3TmpJek1USTFOVFF5V2hjTk1qY3dOakl6TVRNd01EUXlXakJQTVFzd0NRWURWUVFHRXdKVlV6RVZNQk1HQTFVRUNoTU1VSEp2ZEc5amIyeFRiM1Z3TVNrd0p3WURWUVFERXlCUWNtOTBiMk52YkZOdmRYQWdiVVJNSUVSdlkzVnRaVzUwSUZOcFoyNWxjakJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUFCUEtJUXE3amRaQmFlQnNFV1BGenRLZGpBeT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UHp2NmRaT0Zwa3lrWkZYcnF6aFhBYVcwNFFRSHVKTXR4cyIsInkiOiJHWTRKVmYxVlJVZGlFSkc5bmFrVVNtT09BVFQwSVdDUkJYU1ZZNGRpc2U4In19LCJleHAiOjE3OTY2MDE2MDAsImlhdCI6MTc5NjUxNTIwMCwiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29pZDR2Y2kiLCJqdGkiOiJTSHhucEZCWGgzNHRqaW5Cb2FHZ3ZNenAiLCJuYmYiOjE3OTY1MTUyMDAsInN1YiI6ImFsaWNlIiwidmN0IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL2NyZWRlbnRpYWxzL3VuaXZlcnNpdHlfZGVncmVlIn0.rmESnvtEvoGhdadcGhCc51lAZZfBpHzHy_hxd5DxouV7rUW1i93vvXCeLB25_hGNBFwfGVGe3a4lMT1ESMpyJg~WyJLOUtMTWZkdWNpOTl2MmNBaXdrU1NBIiwiZGVncmVlIiwiQmFjaGVsb3Igb2YgRW5naW5lZXJpbmciXQ~WyJROU1YTTFTX2h2TG5IdTFhakFSd0RBIiwiZGVwYXJ0bWVudCIsIkVuZ2luZWVyaW5nIl0~WyJvZWM5bUZWMFMwQ29INW5ubzF1bzZRIiwiZmFtaWx5X25hbWUiLCJKb2huc29uIl0~WyJCMTAzc3B3TDN4N0dvaXNnWmNWTHpBIiwiZ2l2ZW5fbmFtZSIsIkFsaWNlIl0~WyJwZlFtZmkzOTkyYVpOVTd3SnVUMDlRIiwiZ3JhZHVhdGlvbl95ZWFyIiwyMDE4XQ~"}],"notification_id":"9Yb1efOGwQitJKEejsTvCU5rC3pzYmP6"}
    

Failing exchange

Rejected, as requiredConformance client

The conformance client spends a c_nonce on one Credential Request, then sends a second Credential Request on the same Access Token with a newly signed jwt proof that carries the same c_nonce.

Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.

  1. 1.POST https://protocolsoup.com/oid4vci/credential200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oid4vci/credential HTTP/2.0
    Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiSldUIn0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImNyZWRlbnRpYWxfY29uZmlndXJhdGlvbl9pZHMiOlsiVW5pdmVyc2l0eURlZ3JlZUNyZWRlbnRpYWxTREpXVCJdLCJleHAiOjE3OTY1NjMzNDIsImlhdCI6MTc5NjU2MzA0MiwiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29pZDR2Y2kiLCJqdGkiOiJqdGktZjliY2YwZWU4NDU3MDNhMyIsIm5iZiI6MTc5NjU2MzA0Miwib2ZmZXJfaWQiOiJfV3NpOC1iX0VtWGFaWTBJenpUOWtvTDgiLCJzY29wZSI6InZjOmlzc3VlIiwic3ViIjoid2FsbGV0Ol9Xc2k4LWJfRW1YYVpZMEl6elQ5a29MOCJ9.cbOHUzytDKhhFBvy9lO3oaqkIvm3byjqIHaPp2LfWev_Q2_JkRnOBj4URwgXHTEB8BvMEohaEBa7aLtXdsOXDxbdUbcMLv1C2-jam2UKdp9YRus8ji1k11fXtDKJrM1uI6xiO4odGrFebK_eJej7vbLOf_XIc64Tqkq4DRWXAyX0lQ_4Ozu9Z8xWGD_selKM344AWQ0klVaSxjrX4UPulbA29FPmJd_MCqY1P8PcDvxl43Syq2dwTI5lb45Edsbns4yqgzV5XhkKb8Po5LVSwuHuP-JSL9rA8NaLDNINNhtPKyPeFl0UFuyClCTX6ADq_SAYwV_hNTGcq0rai8GpNA
    Content-Length: 537
    Content-Type: application/json
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    {"credential_configuration_id":"UniversityDegreeCredentialSDJWT","proofs":{"jwt":["eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IkNuZU4tNUhBVDltZTRyeGRPRk1YcFpOTzBya2tTTEQ5UHE1WkdXYWVJajAiLCJ5IjoibXUtMmY3Z1pJemFiWDRMZ2NYWEFrLUk1U2M1S0lGUVp5dGFXeW1CRzIxUSJ9LCJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCJ9.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImlhdCI6MTc5NjU2MzA0Mywibm9uY2UiOiJlZVhDa3JFRGRrNWl3bFM3UmxwNmxXd1UifQ.9y4NR8VBa7JALxfujefSYLDwl8uA0H4etDY3V8DNdXE6KR8SwIr7QfAlw71riRXctpkjWM5fCZ1LUK9eaLUDRQ"]}}

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b92129b851425-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:17:24 GMT
    Fly-Request-Id: 01M95R11XY302350EEHES1MH79-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=v3IOX2cV9iL79AmY415CBg0IjgQUwTpyN9r%2ByHdQiMCVxbVKwtc1pSd%2FUVqH3lftPy%2BH9eBtUbdtEu79i6%2Fur1T2WaogHgl956T91n%2BAtqG2c5Y%2F40KjRDYdQlx7rEpgNHw%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=21,cfOrigin;dur=213
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"credentials":[{"credential":"eyJhbGciOiJFUzI1NiIsImtpZCI6Ik5KMER1S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m5rcOM2rpgD8_g~WyI5SERJeVJvUW5LQzRGc0VKOVIyLUtRIiwiZGVncmVlIiwiQmFjaGVsb3Igb2YgRW5naW5lZXJpbmciXQ~WyIyaWNaZWQ5cWYtVk4xT0xMRXdTam5BIiwiZGVwYXJ0bWVudCIsIkVuZ2luZWVyaW5nIl0~WyJLZWJ4clQ5QnhnNldHTnlvR0VWeWVBIiwiZmFtaWx5X25hbWUiLCJKb2huc29uIl0~WyJEYzZpR1FMZDAzLTNpQUY3UkVpRERnIiwiZ2l2ZW5fbmFtZSIsIkFsaWNlIl0~WyIxVVBJWW5SUk1MZVlTSS1hdXo5NEpBIiwiZ3JhZHVhdGlvbl95ZWFyIiwyMDE4XQ~"}],"notification_id":"haUmmAiAlPTgRfJMiXEI20u7sq8aT9y5"}
    
  2. 2.POST https://protocolsoup.com/oid4vci/credential400 Bad Request

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oid4vci/credential HTTP/2.0
    Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiSldUIn0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImNyZWRlbnRpYWxfY29uZmlndXJhdGlvbl9pZHMiOlsiVW5pdmVyc2l0eURlZ3JlZUNyZWRlbnRpYWxTREpXVCJdLCJleHAiOjE3OTY1NjMzNDIsImlhdCI6MTc5NjU2MzA0MiwiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29pZDR2Y2kiLCJqdGkiOiJqdGktZjliY2YwZWU4NDU3MDNhMyIsIm5iZiI6MTc5NjU2MzA0Miwib2ZmZXJfaWQiOiJfV3NpOC1iX0VtWGFaWTBJenpUOWtvTDgiLCJzY29wZSI6InZjOmlzc3VlIiwic3ViIjoid2FsbGV0Ol9Xc2k4LWJfRW1YYVpZMEl6elQ5a29MOCJ9.cbOHUzytDKhhFBvy9lO3oaqkIvm3byjqIHaPp2LfWev_Q2_JkRnOBj4URwgXHTEB8BvMEohaEBa7aLtXdsOXDxbdUbcMLv1C2-jam2UKdp9YRus8ji1k11fXtDKJrM1uI6xiO4odGrFebK_eJej7vbLOf_XIc64Tqkq4DRWXAyX0lQ_4Ozu9Z8xWGD_selKM344AWQ0klVaSxjrX4UPulbA29FPmJd_MCqY1P8PcDvxl43Syq2dwTI5lb45Edsbns4yqgzV5XhkKb8Po5LVSwuHuP-JSL9rA8NaLDNINNhtPKyPeFl0UFuyClCTX6ADq_SAYwV_hNTGcq0rai8GpNA
    Content-Length: 537
    Content-Type: application/json
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    {"credential_configuration_id":"UniversityDegreeCredentialSDJWT","proofs":{"jwt":["eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IkNuZU4tNUhBVDltZTRyeGRPRk1YcFpOTzBya2tTTEQ5UHE1WkdXYWVJajAiLCJ5IjoibXUtMmY3Z1pJemFiWDRMZ2NYWEFrLUk1U2M1S0lGUVp5dGFXeW1CRzIxUSJ9LCJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCJ9.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImlhdCI6MTc5NjU2MzA0NCwibm9uY2UiOiJlZVhDa3JFRGRrNWl3bFM3UmxwNmxXd1UifQ.68S8h6isjzrtXgxlkCscZWP-aITkAfjUKcMa20QA0xhTkW8_ULtjHDoCb5oX8YkplWI6DJ9SNe18JLi2Q1IPnw"]}}

    Response

    HTTP/2.0 400 Bad Request
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9218efab1425-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:17:25 GMT
    Fly-Request-Id: 01M95R12WNTNYWT47ASKWS310E-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=SROWKpEA%2FZcsVclt9C2qYeLvdf0gVRTDfzSr4Z8rJKsxRAAOTRlbg%2FqfqjShoHuAr2%2BUHmw%2BFMSdVf8Mz44JBkUid2dOHX4q5xLZebqyOtMEkpjOiGbEf5aNRGbMSpzTKGY%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=3,cfOrigin;dur=216
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"error":"invalid_nonce","error_description":"c_nonce is unknown, expired, or already consumed"}
    

Run it live

Looking Glass runs the flow that sends the message this requirement governs, against the same server, and decodes each exchange as it happens.

Open the flow in Looking Glass

Tests

Implementation

Explainer

What this requires

OID4VCI 1.0 Section 8.2 requires proofs to "incorporate the Credential Issuer Identifier (audience) and, if the Credential Issuer has a Nonce Endpoint, a c_nonce value to allow the Credential Issuer to detect freshness." Appendix F.4 has the issuer check that "the nonce in the key proof matches the server-provided c_nonce value".

The specification leaves the nonce lifetime to the issuer. Section 13.8 says "A Wallet can continue using a given nonce until it is rejected by the Credential Issuer. The Credential Issuer determines for how long a particular nonce can be used." Treating a nonce as short-lived and single-use is ProtocolSoup's choice, and the registry records it as this requirement.

Why it exists

Section 13.8 gives the threat: an adversary who obtains a key proof "could potentially replay that proof to a Credential Issuer to obtain a duplicate Credential or multiple duplicates issued to the same key. The c_nonce parameter serves as the main defense against this". A nonce that can be consumed only once means a captured proof is spent as soon as the legitimate request uses it.

What non-compliance looks like

The issuer checks that the nonce exists, issues the Credential, and only then deletes the nonce. Two concurrent requests carrying the same proof both pass the check and both receive Credentials. The correct response for a reused, expired or unknown nonce is HTTP 400 with invalid_nonce, after which the Wallet fetches a new one.

How ProtocolSoup tests it

Nonce Endpoint values are stored with a five-minute expiry. consumeCredentialNonce in handlers.go deletes the nonce while holding the plugin mutex, then checks the expiry, so only one request can take a given value. All proofs in one request must carry the same nonce, or the request gets invalid_nonce. A failed consumption returns HTTP 400 invalid_nonce ("c_nonce is unknown, expired, or already consumed") and emits a Looking Glass security warning with reason nonce_mismatch_replay_or_expired.

TestCredentialNonceConsumptionIsAtomic obtains one nonce, builds one proof, sends two identical Credential Requests at the same time, and asserts exactly one HTTP 200 and one HTTP 400. It does not check the loser's error code, and no test listed here covers the expiry, so the short-lived half of the statement rests on the five-minute constant in code.

Related requirements

All OID4VCI 1.0 requirements · OID4VCI protocol page