An authenticated key exchange lets parties agree on a shared secret while authenticating at least one side. Without authentication, a passive MITM cannot derive the secret, but an active MITM can impersonate both parties by replacing their public keys. section 5.1 section 5.5
A one-sided authenticated exchange proceeds in clear stages:
- The authenticated party generates a key-exchange key pair and sends its public key with authentication evidence. section 7.1.2
- The other party verifies the evidence using a previously known public verifying key, then uses the key-exchange public key to derive a shared secret. section 5.1 section 7.1.2
- If verification fails, the party aborts instead of accepting a potentially intercepted exchange. section 7.1.2
A time service
A time service can provision users with its public key rather than manually sharing a MAC key with every user. Users can authenticate the server’s side of each exchange, preventing an active MITM from impersonating the server. The client remains unauthenticated unless it also provides authentication; authenticating both sides creates a mutually authenticated key exchange. section 5.1 section 5.5
