Expand description
Implementation of SecureJoin protocols.
Modules§
- bob πBobβs side of SecureJoin handling.
- bobstate πSecure-Join protocol state machine for Bob, the joiner-side.
- qrinvite πSupporting code for the QR-code invite.
Enums§
- Handshake
Message πWhat to do with a Secure-Join handshake message after it was handled.
Functions§
- encrypted_
and_ πsigned - Generates a Secure Join QR code.
- get_
self_ πfingerprint - Handle incoming secure-join handshake.
- info_
chat_ πid Get an unblocked chat that can be used for info messages. - inviter_
progress π - Take a scanned QR-code and do the setup-contact/join-group/invite handshake.
- Tries to mark peer with provided key fingerprint as verified.
- Observe self-sent Securejoin message.
- securejoin π
- Send handshake message from Aliceβs device; Bobβs handshake messages are sent in
BobState::send_handshake_message()
. - Checks fingerprint and marks the contact as forward verified if fingerprint matches.