ricochet-im/ricochet

Public ricochet ID location

matt1tk opened this issue · 4 comments

Where is the public ricochet ID stored?

What do you mean about that?

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

Ricochet derives the public key from the private key at runtime:

QByteArray publicKey = d->privateKey.encodedPublicKey(CryptoKey::DER);

Thanks!