1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Show users fingerprint after generating key

This commit is contained in:
James Booth 2014-01-10 20:12:22 +00:00
parent 9fb8281656
commit 1b5254010e

View File

@ -249,6 +249,10 @@ otr_account_load(ProfAccount *account)
}
cons_debug("Loaded fingerprints");
char fingerprint[45];
otrl_privkey_fingerprint(user_state, fingerprint, jid, "xmpp");
cons_debug("Your fingerprint: %s", fingerprint);
g_string_free(basedir, TRUE);
g_string_free(keysfilename, TRUE);
g_string_free(fpsfilename, TRUE);