Commit Graph

14 Commits

Author SHA1 Message Date
Conrado Gouvea ff74928aae
add DEVELOPERS.md; commit lockfile (#99) 2023-11-22 18:50:54 +01:00
Daira Hopwood 95aa09743e
Update references to the major version number and to Canopy activation in the README (#84)
* README.md: update references to the major version.

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>

* README.md: update the reference to Zcash Canopy activation.

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>

---------

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-06-12 13:45:19 -03:00
Conrado Gouvea e8e58e37a1 fix documentation about batching 2023-03-14 15:50:28 -04:00
Deirdre Connolly 9dd5d07120 v3.0.0 2021-10-12 13:25:18 -04:00
Jose Daniel Hernandez 7fec3087c5 Add dependency and build status badges
Add dependency and build status badges to the README.md file.
2021-10-12 11:39:35 -04:00
José Daniel Hernández 68710ed83e
Add LICENSE files (#51)
Add LICENSE files to state MIT or Apache 2.0 as the licenses of this
repository.
This closes #33.
2021-10-11 09:44:57 +10:00
Dimitris Apostolou 014d823db6 Fix typo 2020-10-12 19:12:06 -07:00
Henry de Valence d0a430b5e4
Implement ZIP 215 validation rules. (#24)
* Implement ZIP 215 validation rules.

These have the effect that batched and singleton verification are now
equivalent.

* Add ZIP 215 conformance tests.

This test constructs signatures on the message "Zcash" using small-order
verification keys, some with canonical and some with non-canonical encodings of
points.  All of these signatures should pass verification under the ZIP 215
rules, but most of them should fail verification under legacy rules.

These tests exercise all of the special-case behaviors from the specific
version of libsodium used by Zcashd:

* the all-zero check for the verification key;

* the excluded point encodings for the signature's R value;

* the choice to test equality of the encoded bytes of the recomputed R value
  rather than on the projective coordinates of the two points.

Running
```
cargo test -- --nocapture
```
will print a hex-formatted list of the test cases, which can also be found here:

https://gist.github.com/hdevalence/93ed42d17ecab8e42138b213812c8cc7

* Update spec links.

Thanks to @ebfull for pointing this out.

* No ... there is another.

@ebfull pointed out that two test cases were duplicates.  The cause was that I
misread the RFC8032 check was checking for the non-canonical encoding of
the identity point that NCC Group apparently brought up.  Carefully analyzing all
the cases instead of assuming reveals there is another non-canonically encoded
point (of order 2).

* Change formatting of printed test cases.
2020-07-06 19:40:20 -07:00
Henry de Valence e07ceac55a Release 1.0.0-pre.0 2020-06-26 11:27:00 -07:00
Henry de Valence 8bc82108f4
Change terminology to signing and verification keys. (#20)
These are better names than secret and public keys, because they concisely
describe the functional *role* of the key material, not just whether or not the
key is revealed.
2020-06-15 20:45:25 -07:00
Henry de Valence 2663474cd1 Add motivational documentation to the batch module. 2020-01-30 17:44:09 -08:00
Henry de Valence abbe9f74d9 Add examples. 2020-01-24 12:55:43 -08:00
Henry de Valence d008150968 Update README 2020-01-23 17:26:17 -08:00
Henry de Valence eb6c5e5de4 Add README 2020-01-22 12:37:22 -08:00