Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Fingeprint Exchange

Open Phyioa opened this issue 12 years ago • 11 comments

Currently you can only confirm a fingerprint, if you read a QR-Code from anothers phone. This requires both chatters to be in the same place. This is at least the safest way, but there are other ways to do this nearly as secure as this. You could e.g. talk with someone on the phone, who dictates his fingerprint, so that you can confirm it by simply checking, if the code he's dictating matches the one, your phone is showing. So there should be an option, to confirm another ones fingerprint by simply telling the app "Yes, I've checked/confirmed the fingerprint of my opposite." This would be similar to the way PGP fingerprint exchanges can work.

Phyioa avatar Feb 27 '14 12:02 Phyioa

I think this is a fair request - with the new version the number of users among my friends has gone up a fair bit, some of whom i haven't seen in person yet to verify keys.

Usual "By not exchanging keys in person, you accept responsibility for the authenticity of the key in question" Y/N message in response

irv avatar Feb 27 '14 13:02 irv

+1 It could be done either via secure voice, AKA RedPhone or like in Pidgin OTR: each partner asks a question and the other partner's answer has to match the expected answer. The latter case is obviously not as secure as comparing the keys manually, because many users will not ask questions that are impossible to answer by a third party that is able to do dragnet surveillance of nearly all communication and has done so for some time. But such an adversary may also be able to automatically or manually fake the voice of the supposed communication partner, which is used in all calling scenarios.

generalmanager avatar Feb 27 '14 15:02 generalmanager

Yes, but faking a call from a friend or family member is really hard and rather unlikely to occur. Also you could use a video call. That makes it nearly impossible to fake the identity of your partner.

Phyioa avatar Feb 27 '14 16:02 Phyioa

I agree, there is no absolute security and we will have to find a way that is secure enough (whatever that means) but still has high usability. In my book, a (secure) call in combination with the base58 and poetry encoding options from #817 and the "questions only the both of us know the answer to" are both sufficiently secure, if they are presented with a short warning of the implications if wrongly used. If you really have to stand next to somebody to see the key with your own eyes, your smartphone could just as well be compromised.

generalmanager avatar Feb 27 '14 16:02 generalmanager

Currently, you can display fingerprints in

  • text form
  • as QR-code

I wish to have the possibility to

  • paste the fingerprint to the clipboard ; and
  • to send the fp by mail

Wikinaut avatar Apr 11 '14 07:04 Wikinaut

@Wikinaut Good point. I'd also like to send them via SMS and bluetooth. If we integrated them into the Android contact manager, people could export/send them in all kinds of ways. This would require a new permission tough.

generalmanager avatar Apr 11 '14 10:04 generalmanager

As long as TS does not store the verification at all, this probably does not make sense. What should it do? You click the "I've verified that guy" button, and then it displays a message saying "You verified that guy!" and nothing else happens. Not very helpful, is it? ;) After we have something like this ( e.g. #1015 ), this would make sense, though.

tinloaf avatar Apr 12 '14 23:04 tinloaf

@tinloaf Sure, without the plumbing there is no point in building a toilet ;-)

But we can discuss what kind of toilet and in which color we want it we like all day long! :)

generalmanager avatar Apr 13 '14 00:04 generalmanager

Can SafeSlinger help with this? A SafeSlinger exchange offers remote or local exchange of any data, offering authentication and confidentiality, either pairwise or up to 10 people. We have iOS and Android libraries, and have wrapped the Android version into an app for developers to try: https://play.google.com/store/apps/details?id=edu.cmu.cylab.starslinger.demo https://github.com/SafeSlingerProject/SafeSlinger-Android

@moxie was part of early discussions of this protocol when it was called KeySlinger. However, perhaps @tinloaf is right in terms of timing. If a remote fingerprint verification can be done by reading 3 words rather than 2 longer strings of hex, it might improve the fun factor and encourage more users to verify.

mwfarb avatar Jul 23 '14 13:07 mwfarb

+1 for SafeSlinger

https://www.cylab.cmu.edu/safeslinger/

jpopplewell avatar Aug 06 '14 23:08 jpopplewell

This seems to be about ~~two~~ three different issues: 1) sharing the fingerprint, 2) saving the verification status and 3) adding another form of verification besides the QR code and reading the hex.

  1. is a duplicate of #817
  2. is the same as #910

(edit: Didn't realize the third one at first and closed too soon, but I have a feeling this should still be closed because the whole ux of the fingerprint is supposed to be revamped in the future)

2-4601 avatar Apr 16 '16 11:04 2-4601