Lesson 3 of 3 · Peer identity, context and key confirmation
Confirm the current session
24 minute lesson · 3 checks along the way
Your goal for this lessonDistinguish peer authentication from matching-key confirmation, encode context unambiguously and reject a confirmation from the wrong session.
In this lesson 4 sections · 3 checks
Using archive links & definitions
Follow a linked name to explore its archive card. “Back to your lesson” brings you to the same part of the reading.
Read & understand
A matching key does not identify its owner
NuLIoN’s report connects a satellite with a ground station, but a useful protected link needs more than two matching byte strings. Authentication establishes an association with an intended peer. Key confirmation gives a recipient additional assurance that the other participant holds matching keying material. They are related requirements, not interchangeable observations.
Imagine an adversary substitutes its own encapsulation key for the spacecraft’s. A ground station can execute the KEM perfectly and share a key with the substitute. Successful arithmetic and a confirmation from that substitute do not recover the intended identity. Our following model therefore assumes the relevant peer identities and key ownership have already been authenticated by an appropriate mechanism. This is a stated prerequisite, not something supplied by writing an identifier in a message.
Read & understand
Bind the confirmation to roles and current data
NIST describes confirmation using a message authentication code, or MAC, made with a dedicated confirmation key. The checked data includes a step label, the provider and recipient identifiers, and their ephemeral data. For an encapsulator, that data includes the ciphertext. A decapsulator contributes its ephemeral encapsulation key, or an appropriate nonce when using a static key. A nonce is a value intended not to repeat; real size and generation requirements depend on the security target.
Suppose the ground, acting as encapsulator, sends the first confirmation to the spacecraft. The label KC_1_E records that role and step. The spacecraft verifies the tag using its own derived confirmation key and its own expected context. A successful check gives the spacecraft confirmation. It does not automatically give the ground the reverse assurance. For bilateral confirmation, the spacecraft sends a different message under the second-step decapsulator label KC_2_D, with provider and recipient roles swapped.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Make field boundaries unambiguous
The identifiers AB followed by C produce the same unframed text ABC as A followed by BC. Cryptographic processing cannot distinguish two meanings that have been encoded as identical bytes. Field lengths, types or an agreed fixed layout must make the intended interpretation unambiguous. The agreed encoding also determines which exact bytes both parties authenticate.
For an original encoding exercise, take five fields: a six-byte role label, a three-byte provider ID, a four-byte recipient ID, a 1,088-byte ciphertext and a 24-byte nonce. Prefix every field with a two-byte unsigned length. The values occupy 6+3+4+1,088+24=1,125 bytes, and five prefixes add ten, giving 1,135 bytes. Use this solely to inspect boundaries; it is not a complete NIST wire protocol or a selection of operational nonce parameters. Reversing the two IDs leaves the length unchanged while changing the authenticated meaning.
Confirmation has a recipient, a role and a current context
Original role and encoding illustration. Both confirmation directions are separate. The five-field example is not a complete NIST protocol or an operational nonce-size recommendation.
Open full-size diagram in a new tab: Confirmation has a recipient, a role and a current contextCheck 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Use the expected session, not a convenient old one
Assume a spacecraft currently expects nonce N-new. A saved confirmation carrying N-old may still have a valid historical tag under its old context. It cannot satisfy the current session’s check. The recipient constructs the expected data using N-new, the expected roles and the current ciphertext; it does not replace those expectations with whatever values arrived. Reusing session context after a reboot can undermine freshness even when each tag verifies for the bytes it covers.
A confirmation key is dedicated to that purpose and is destroyed after its use; subsequent protected data uses separate appropriate keying material. If both directions require confirmation, record the two results separately. This model explains what evidence a receiver needs without claiming a complete protocol security proof. NuLIoN’s prototype result motivates the questions; a deployable design also needs its actual authentication mechanism, cryptographic implementation, operating assumptions and failure behavior evaluated together.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: NIST SP 800-227: application security and key confirmationComplete Sections 4.1–4.4 and Appendix C reviewed; Figures 4–5 and the MAC-data field order were visually checked. The five-field length-prefix exercise is an original encoding illustration.
- Read: NuSpace: scope of the NuLIoN prototype resultThe 2023 operator announcement describes a demonstration and subsequent development plans, not a complete protocol specification or independent security certification.