[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Question about signing & verifying



I got it. Thank you so much OÄuz.

On Wed, Mar 17, 2010 at 5:51 AM, OÄuz <osolok@xxxxxxxxx> wrote:
On 3/13/10, ilter yÃksel <ilteryuksel@xxxxxxxxx> wrote:
> Hello,
>
> I've question about signing especially for signing router-descriptor;
>
> Is the router "signing-key" using to prepare a router's signature with
> digest algorithm? If so then does an OR sign it's router descriptor with
> it's signature? Finally can we say right for below sequence?
>
> "signing-key" ---- digest algorithm --- > "router-signature"
> initial "router-descriptor" ----- sign with "router-signature" --- > signed
> "router-descriptor"

Selamlar Älter,

Actually it is

descriptor ---> digest function
           Â|
           Âv
private key ---> ÂRSA engine ----> signature

> After that how a directory authority verify whether the router descriptor is
> self-signed?

signature
 Â|
 Âv
RSA engine Â---> recovered digest Â?=? Âdigest function <--- descriptor
 Â^
 Â|
public key (signing-key)

To demonstrate, in Java you might do something like:
http://pastebin.com/fvtS3Uyv.

Regards
OÄuz

-------------------------------
You have not experienced Tor documentation until you have read them in
the original Klingon
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxxx with
unsubscribe or-talk  Âin the body. http://archives.seul.org/or/talk/