[Cryptech Tech] Requirements for signing the Tor consensus

Daniel Cegiełka daniel.cegielka at gmail.com
Wed Mar 5 12:38:31 UTC 2014


2014-03-05 13:07 GMT+01:00 Joachim Strömbergson <joachim at secworks.se>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Aloha!
>
> Joachim Strömbergson wrote:
>> Aloha!
>>
>> Daniel Cegiełka wrote:
>>> ed25519 python model/code/regression test:
>>> http://ed25519.cr.yp.to/software.html
>>
>> That is the exact functionality used? Great!
>>
>> Does this match the use case: http://ed25519.cr.yp.to/python/sign.py
>>
>> (So I know the operations to be supported.)
>
> I threw together a repo shell for developing the core. Do you have a
> pointer to ed25519 in Tor to see exactly how it is called (data types etc)?
>
> https://github.com/secworks/ed25519
>

Hi Joachim,

I recommend signify as an ed25519 example:

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/signify/

Please note which files are used; from Makefile:

SRCS= signify.c
SRCS+= fe25519.c sc25519.c smult_curve25519_ref.c
SRCS+= mod_ed25519.c mod_ge25519.c
SRCS+= crypto_api.c

.PATH for these files:

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/

I don't have access to my machine and I can only offer/send links :/

Daniel



More information about the Tech mailing list