otrv4 / libotr-ng

A new implementation of OTR with support for version 4. This is a mirror of https://bugs.otr.im/otrv4/libotr-ng
Other
43 stars 9 forks source link

Generalize the RSig function #67

Closed claucece closed 6 years ago

claucece commented 6 years ago

Why

As we are currently implementing the revision number 2 of the OTRv4 specification, we need to include a consistent way of using the RSig function.

Reference

Please, refer to the "Ring Signature Authentication" section of the OTRv4 spec and issue 99 of it.

Tasks

Open questions

olabini commented 6 years ago

It would be good if RSig can be general enough that the OTRv4 prekey server can use it too.

claucece commented 6 years ago

It would be good if RSig can be general enough that the OTRv4 prekey server can use it too.

True. I'll add that task :)

claucece commented 6 years ago

This still needs the constant time scalar selection, right? Should we inform Mike?

juniorz commented 6 years ago

Not really. We do constant time scalar selection using elliptic curve arithmetic wizardry.

We did not write a test for goldilocks_448_scalar_cond_sel to demonstrate the problem, or did anything on the goldilocks library.

juniorz commented 6 years ago

But ideally, yes. It would be handy to have a constant time select for scalars that works.

claucece commented 6 years ago

Ok.. I'll try to do a test for goldilocks and send the results to Mike.. is it good?