mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
Don't include the broadcast's shared secret in the QR code
This commit is contained in:
@@ -46,10 +46,6 @@ pub enum QrObject {
|
||||
fingerprint: String,
|
||||
|
||||
authcode: String,
|
||||
|
||||
/// The secret shared between all members,
|
||||
/// used to symmetrically encrypt&decrypt messages.
|
||||
shared_secret: String,
|
||||
},
|
||||
/// Contact fingerprint is verified.
|
||||
///
|
||||
@@ -230,7 +226,6 @@ impl From<Qr> for QrObject {
|
||||
contact_id,
|
||||
fingerprint,
|
||||
authcode,
|
||||
shared_secret,
|
||||
} => {
|
||||
let contact_id = contact_id.to_u32();
|
||||
let fingerprint = fingerprint.to_string();
|
||||
@@ -240,7 +235,6 @@ impl From<Qr> for QrObject {
|
||||
contact_id,
|
||||
fingerprint,
|
||||
authcode,
|
||||
shared_secret,
|
||||
}
|
||||
}
|
||||
Qr::FprOk { contact_id } => {
|
||||
|
||||
Reference in New Issue
Block a user