[prev in list] [next in list] [prev in thread] [next in thread] 

List:       otr-users
Subject:    Re: [OTR-users] Calculating my OTR-Fingerprint
From:       Hendrik Iben <hiben () tzi ! de>
Date:       2008-01-17 15:33:29
Message-ID: 478F7549.4000804 () tzi ! de
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic