mimoo / disco

a protocol to encrypt communications and a cryptographic library based on Disco
https://www.discocrypto.com
BSD Zero Clause License
203 stars 15 forks source link

story around signatures in disco #47

Open mimoo opened 4 years ago

mimoo commented 4 years ago

We've seemed to have settled on schnorr signatures over ristretto22519. (See this PR https://github.com/mimoo/disco/pull/45)

Other choices were:

My two concerns are:

What references are there out there? I think we should follow the scheme defined by a proof:

https://crypto.stackexchange.com/questions/48616/prove-the-security-of-schnorrs-signature-scheme

actuallyachraf commented 4 years ago

I've recently read the schnorrkel implementation at [1], and came up on a merlin transcripts (see [2]). I propose we rewrite our schnorrkel implementation to follow the same API in [1] and use merlin transcripts and possibly dynamic contexts for each disco connection. ChainSafe have an implementation (see [3]) that follows the same API, re-use of that library under might also be a solution.