Conversation
b0e5c78 to
055794a
Compare
|
Can you please also propose a fix for the XMSS proof? It should be as simple as This is clearly a breaking change, so please do mark it as such. |
|
@fdupress Why is that repo using its own copy of the |
|
Yes, that's where it came from. Thanks for checking it out. I'll try getting to that tomorrow. |
…tr makes rnd panic Co-authored-by: Copilot <copilot@github.com>
|
So it looks like the XMSS proof extends those definitions a tiny bit, with a notion of an interactive EUF-RMA adversary. @MM45, should that extension be ported over to the stdlib version of the signature-related definitiions, or is it ultra-local? (And if it is ultra-local, can you see an easy way of extending without duplicating?) |
|
My own thoughts on this: the interactive notion is the one we actually want (much more usable in proofs, since it avoids a pre-sampling argument the non-interactive notion forces), but departs from what a more traditional cryptographer would write on paper when defining security against random message attacks. We should adopt (as a breaking change) the I-EUFRMA version as EUFRMA, rename the current EUFRMA version N-EUFRMA, and push the "almost equivalence" proof into the library. This should be discussed properly. As a short term fix, we should just reflect the fixes made to the stdlib into the modified version in the XMSS repo so we can merge this. I'll take comments on this until tomorrow-ish, and then we move on the plan. |
|
IIRC, the interactive EUF-RMA notion was just an auxiliary intermediate notion to get an initial proof going for the Hash-then-Sign, isolating the lazy-eager argument around the EUF-RMA notion. Not sure why I even spent time including this in the library (guess that is also the reason I ended up removing it when porting to the standard library). I will take a look at fixing the failing check here in a minute. Anyways, I don't agree on departing from the pen-and-paper definition as the default EUF-RMA notion in the library. A notion named EUF-RMA in the library should IMO match the (most conventional way of writing the) notion named EUF-RMA on paper (as long as it is possible/reasonable to do so in EC, which I think is definitely the case here). However, I do like the idea of having the (usually) more convenient notion to work with (in EC) also being part of the library with an attached equivalence proof (to the default definition). |
|
Created PR with simple fix (requiring Distr, formosa-crypto/formosa-xmss#17) to |
|
Short term fix applied on the external side. Rerunning jobs now. @MM45 , let's talk about the best choice for the library Soon. But if you do the work before we talk, you get to choose how you do it :) |
|
Could you update the PR title? We use it for generating the ChangeLog. |
Distr is in scope when tagging distributions, fixing #211
Distr is in scope when tagging distributions, fixing #211Distr is in scope when tagging distributions, fixing #211
Check that
Distris in scope when tagging distributions. The original implementation required parts ofAllCoreinstead, of whichDistris not a part.This breaks code that tags distributions without requiring
Distr.Edit: note to self; #416 and #756 are similar, but different.