RFC 8747 Quiz (EN)

Proof-of-Possession Key Semantics for CWTs

0 / 0

References (URLs)

Q1: Which cnf profile rule is consistent with RFC 8747?

Multiple Choice

An A2A profile requires proof of possession and supports the COSE_Key, Encrypted_COSE_Key, and kid confirmation members.

**Explanation:** A: Section 3.1 permits at most one of COSE_Key and Encrypted_COSE_Key in the cnf value. B: Section 3.1 says the cnf value represents only a single proof-of-possession key; applications needing additional keys use separately defined claims. C: Correct. Section 3.1 defines the one-key structure and leaves the required confirmation-member set context dependent. D: In the absence of application requirements, Section 3.1 says unrecognized confirmation members are ignored.

Q2: What does cnf containing only kid establish?

Multiple Choice

A CWT contains cnf={kid:h'01ab'}. The recipient has not yet looked up a key or run the A2A proof protocol.

**Explanation:** A: Section 3.4 defines kid as an application-specific identifier and requires the recipient to be able to obtain the identified key and confirm possession. B: An identifier can be copied; possession is established by a separate cryptographic protocol. C: Section 3.4 does not define an internal key encoding for kid. D: The issuer's protection of the CWT and the presenter's proof of the confirmation key are distinct operations.

Q3: May the resource server treat this CWT as a bearer token?

Multiple Choice

The CWT is valid and contains a COSE_Key in cnf. The A2A profile says access is sender-constrained and requires a fresh proof over the request nonce. The resource server validates the CWT but receives no signature, MAC, or other proof made with the confirmation key.

**Explanation:** A: The cnf value conveys the issuer's confirmation-key statement; it is not the presenter's proof for this request. B: Token-issuer authentication and possession of the confirmation key are separate unless a profile explicitly and safely makes them the same key and proof. C: Section 3.5 intentionally leaves nonce communication and proof transport to the using protocol. D: Sections 3.5 and 4 require the surrounding protocol to provide current, replay-resistant proof for the claimed key. The stated A2A profile supplies that criterion.

Q4: How should the validator handle this cnf value?

Multiple Choice

A protected CWT contains both COSE_Key and Encrypted_COSE_Key members in the same cnf map. They decrypt or decode to different public keys. The profile requires a single unambiguous presenter key.

**Explanation:** A: Section 3.1 defines no precedence rule between these members. B: Section 3.1 permits at most one of COSE_Key and Encrypted_COSE_Key and says cnf represents one proof-of-possession key. C: Treating the map as alternatives changes the defined semantics and can let implementations select different keys. D: CBOR map order is not a confirmation-method preference signal.

Q5: Is the signed-only CWT adequate for this symmetric confirmation key?

Multiple Choice

The issuer puts a symmetric COSE_Key, including its key value, in cnf and signs the CWT but does not encrypt it. Intermediaries can read the token. The profile relies on exclusive possession of that symmetric key.

**Explanation:** A: Section 4 says symmetric keys carried in a CWT require confidentiality protection as well as origin authentication and integrity protection. B: A signature detects modification but does not conceal the signed payload. C: Adding an identifier does not remove or hide the exposed key value. D: RFC 8747 permits symmetric proof-of-possession keys when they are protected appropriately.

Q6: What must the backend require before calling this end-to-end proof of possession?

Multiple Choice

An A2A agent proves possession of the CWT cnf key by signing a gateway nonce. The gateway then forwards the CWT and a boolean pop_ok=true to a backend on a separate request. Backend policy requires a current proof bound to the backend operation and rejects replay of a gateway exchange.

**Explanation:** A: Section 4 requires current, replay-resistant proof and notes that protocols link the proof key to participating parties; a new hop changes that context. B: The cnf claim identifies the key but does not contain the backend's challenge or proof for this request. C: Sections 3.5 and 4 leave the proof protocol to the application. Either composition can meet the stated criterion if its trust boundary and protected assertion semantics are explicit. D: RFC 8747 intentionally does not define nonce communication, signed-nonce transport, or a universal party-binding method.