[OTR-users] Calculating my OTR-Fingerprint

Hendrik Iben hiben at tzi.de
Thu Jan 17 10:33:29 EST 2008


Marcus Augustine wrote:
> Hi there!
> I've tested several OTR plugins for IMs. Pidgin e.g. displays a
> fingerprint of my public key. The raw info of my public / private key is
> saved in a file called <username>_otr.private_key having the syntax:
> 
> (privkeys
>  (account
> (name OTR)
> (protocol JABBER)
> (private-key
>  (dsa
>   (p #<large number>#)
>   (q #<not so large number>#)
>   (g #<large number>#)
>   (y #<large number>#)
>   (x #not so large number#)
>   )
>  )
>  )
> 
> Can anybody tell me how to calculate this fingerprint? I searched the
> net for a long time but couldn't find anything :((
> Thanks in advance, greetings

Hi,
You can look it up from the libotr (and otr-proxy) source-code. As far
as I have read, the numbers (p to y) have to be parsed and are then
concatenated to form a new string of characters. That string is then
digested via the SHA1 hash (and this hash is the displayed fingerprint).

Best regards,
Hendrik



More information about the OTR-users mailing list