ricochet-im / ricochet

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

Public ricochet ID location #605

Closed matt1tk closed 4 years ago

matt1tk commented 4 years ago

Where is the public ricochet ID stored?

cypherbits commented 4 years ago

What do you mean about that?

matt1tk commented 4 years ago

Just wondering in what file the public ricochet ID is stored. The private one is located in the config, but if I wanted to let ricochet run and access the public ID automatically, how would I do it?

s-rah commented 4 years ago

Ricochet derives the public key from the private key at runtime: https://github.com/ricochet-im/ricochet/blob/a22c729b3e912794a8af65879ed1b38573385657/src/protocol/AuthHiddenServiceChannel.cpp#L196

matt1tk commented 4 years ago

Thanks!