omemo / gajim-omemo

Gajim plugin for OMEMO Multi-End Message and Object Encryption
86 stars 7 forks source link

Display Verification Barcode #146

Closed iNPUTmice closed 7 years ago

iNPUTmice commented 7 years ago

Since version 1.15.0 Conversations has the option to verify device fingerprints instead of just trusting them. Verification usually happens through 2D barcodes. While I expect that most verification will happen on mobile devices, if only for the fact that they are portable, it would be extremely helpful if users could verify their own desktop computer. For this reason Gajim should display a 2D barcode somewhere that contains the verification URI. Verification URIs look as follows: xmpp:bob@server.tld?omemo-sid-123456=01deadbeef02034e4...

Conversations will show Aztec codes but will happily scan QR codes as well. (I think there is a python library for generating QR codes but none for Aztec.)

Users could use Conversations to scan that barcode and verify their desktop’s fingerprint. (From that point forward the 2d barcode in Conversations will also contain the desktop’s fingerprint allowing third parties to verify mobile and desktop at the same point. But that's nothing Gajim needs to be concerned about for now)

lovetox commented 7 years ago

is implemented now in 0.9.8