Module deltachat::securejoin
source Β· 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§
- HandshakeMessage π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.