RFC 5705 Quiz (EN)

Keying Material Exporters for TLS

0 / 0

References (URLs)

Scope: These questions use the RFC 5705 construction with TLS 1.2. TLS 1.3 defines its exporter construction in RFC 8446. RFC 5705 supplies keying material; an application profile must still define context encoding, proof semantics, key handling, and gateway trust.

Q1: Which inputs define RFC 5705 exported keying material?

Multiple Choice

Two TLS 1.2 peers want to derive the same application-specific 32-byte value from their established TLS session.

**Explanation:** A: The cipher suite participates through the TLS session, but it does not identify the application purpose or context. B: RFC 5705 Section 4 defines the exporter using TLS-session state plus a label, a context value when provided, and a requested length. Absence of context uses a different construction from a provided zero-length context. Both peers need the same inputs for the same output. C: An application may encode selected semantics into its context, but those fields are not implicit exporter inputs. D: A shared string not derived with the specified exporter construction is not exported keying material.

Q2: How should an application establish exporter purpose and context?

Multiple Choice

An A2A protocol negotiates an exporter use after the TLS handshake. Its context includes a task identifier sent in an application message.

**Explanation:** A: RFC 5705 Sections 3 and 5 use labels for purpose separation; a generic label weakens that separation. B: Section 3 notes that upper-layer messages used to establish context are not automatically covered by TLS Finished. C: Semantically similar but byte-distinct contexts produce different outputs and can create interpretation gaps. D: Section 3 requires the application context to be securely established and the exporter use to be signaled; the label identifies the application purpose.

Q3: Can a backend treat forwarded exporter bytes as its own channel evidence?

Multiple Choice

A gateway terminates a client TLS 1.2 session, derives RFC 5705 output, and forwards the bytes to a backend over another TLS session. The backend wants to use them as proof that the client shares keying material with the backend connection.

**Explanation:** A: RFC 5705 Section 4 associates output with one TLS session, label, and context; transport does not change its origin. B: Equal labels on sessions with different TLS state do not make the outputs evidence of one shared channel. C: This preserves the exporter scope and separates it from a gateway trust model. The assertion's integrity, authentication, and semantics belong to the A2A profile. D: An application can use or transport derived values subject to its security design; the error is the claim attached to the forwarded value.

Q4: How should two exporter purposes be separated?

Multiple Choice

The same TLS session derives a 32-byte request-proof key and a 32-byte audit-chain key. The draft uses the identical label and context for both, then distinguishes them only by the calling function.

**Explanation:** A: Identical exporter inputs on one session produce the same material regardless of the caller's function name. B: RFC 5705 Section 5 says the same label with the same master secret must not be used for different purposes. Distinct labels provide purpose separation; context serves the profile-defined role described in Sections 3 and 4. C: A post-derivation comparison cannot undo key reuse. D: Length manipulation is not a substitute for disjoint purpose labels and can create overlapping material.

Q5: Does RFC 5705 independence make logging this MAC key safe?

Multiple Choice

An A2A service derives an exporter value and uses it directly as the MAC key for request proofs. For diagnostics it writes that value to a log readable by the operations team. The team argues that RFC 5705 exporter independence makes this safe.

**Explanation:** A: Independence limits compromise between exporter uses and TLS internals; it does not revoke a disclosed key. B: Keeping traffic secrets private does not preserve the confidentiality of the logged application key. C: The key itself is sufficient for its direct MAC use in this design. D: RFC 5705 Section 5 discusses independence properties. Those properties do not make exporter output public; application handling must protect material according to how it is used.

Q6: How should a gateway retry preserve an exporter-bound proof?

Multiple Choice

A client sends a valid grant and a proof derived from TLS session A to a gateway. The gateway retries the request to a backend over TLS session B. The backend owns the resource and must know whether the proof covered the retried method, target, and body.

**Explanation:** A: RFC 5705 Section 4 scopes output to its TLS session and exporter inputs. The two alternatives accurately place the verifier and trust boundary while preserving request context. Backend authorization remains separate. B: Grant validity and TLS-session binding are independent guarantees. C: Session B output proves knowledge at the session B endpoints, not at the original client endpoint. D: A grant does not by itself prove exporter possession or integrity of the retried request.