ricochet-im / ricochet

Anonymous peer-to-peer instant messaging
https://ricochet.im/
Other
3.7k stars 400 forks source link

Add a checksum in contact addresses to detect typos #237

Open ioerror opened 9 years ago

ioerror commented 9 years ago

It doesn't appear that the Ricochet identity codes are immune to fatfingering a key or two. It would be nice if like Pond's auto-generated panda meeting codes, it was clear at the entry stage there was an error by the user. Basically, a checksum or something similar.

Using a URI handler might also be helpful - eg: ricochet://contactidcode-checksum/nickname

special commented 9 years ago

Renamed for the first part of your suggestion, and split the URI handler part into #238.

A checksum would be worthwhile. We should especially think about this if we change the address format for another reason, such as #155.

ioerror commented 9 years ago

Sounds good - I'd suggest just going with what pond uses with panda.