Alfredo Garcia
4cec6f87b4
use rust in code sample of the README ( #96 )
2021-05-17 14:48:24 +02:00
Alfredo Garcia
b77b090afb
fix typo in a comment ( #97 )
2021-05-17 14:47:12 +02:00
Alfredo Garcia
ace14ebae7
Fix a small typo
2021-05-05 14:53:28 -04:00
Deirdre Connolly
4ef6d3306d
Bump to 0.4.0 ( #75 )
2021-04-03 10:18:33 -04:00
Deirdre Connolly
2949f9a3f9
Upgrade rand, rand_core, and rand_chacha together
2021-04-03 10:16:21 -04:00
Jack Grigg
3571be2184
Migrate to jubjub 0.6
2021-04-03 09:48:53 -04:00
Marek
d7a9ddc6b7
Derive Debug, PartialEq
2021-04-01 15:06:07 -04:00
Marek
7cf6eeb9e4
Add comments
2021-04-01 15:05:24 -04:00
Marek
ba4b89c80a
Restrict the maximum number of participants to 255 by using u8
2021-04-01 15:05:24 -04:00
Deirdre Connolly
d8585d5511
Add Release Drafter bot ( #74 )
2021-04-01 10:17:33 -04:00
Deirdre Connolly
84d0fb60e2
Link to FROST security audit from module doc ( #73 )
2021-03-31 17:45:34 -04:00
Deirdre Connolly
2f3f5068aa
Prepare 0.3.0 release ( #72 )
2021-03-31 17:03:08 -04:00
Deirdre Connolly
8a1cdba91f
Add FROST audit pdf to root of repo
2021-03-29 13:19:22 -04:00
Chelsea H. Komlo
76ba4ef1cb
add additional documentation for aggregator threat model
2021-03-23 11:47:22 -04:00
Marek
6481d0af91
Add comments to the checks
2021-03-23 11:46:41 -04:00
Marek
3e28bf6c07
Avoid null nonces
2021-03-23 11:46:41 -04:00
Deirdre Connolly
5feb6b29c7
Fix some FROST nits ( #63 )
...
* Impl DefaultIsZeros for every type that uses jubjub::Fr/Scalar
This requires Copy and Clone along with Default. If we do not want to include those, we can impl Zeroize and Drop directly.
* Hash signature message with HStar before deriving the binding factor
To avoid a collision, we should hash our input message, our 'standard' hash is HStar, which uses a domain separator already, and is the same one that generates the binding factor.
* Add a comment about why we hash the signature message before generating the binding factor
* Add comments on how we Zeroize
* Consume nonces with sign()
We want to make sure that the nonces we use when signing are Drop'd
(and thus Zeroize'd) when they go out of scope, so we must move participant_nonces into sign()
2021-03-23 11:46:17 -04:00
dependabot[bot]
e40313263c
Update proptest requirement from 0.10 to 1.0
...
Updates the requirements on [proptest](https://github.com/altsysrq/proptest ) to permit the latest version.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/compare/0.10.0...1.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-03 17:54:04 -05:00
Jack Grigg
baa3f4bb30
Fix binding_batch_verify test to actually test Binding signatures
2021-03-03 17:51:59 -05:00
Deirdre Connolly
2ebc08f910
Frost keygen with dealer ( #47 )
...
Implements FROST (Flexible Round Optimized Schnorr Threshold Signatures, https://eprint.iacr.org/2020/852 ) where key generation is performed by a trusted dealer.
Future work will include implementing distributed key generation and re-randomizability.
Co-authored-by: Chelsea Komlo <me@chelseakomlo.com>
Co-authored-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-02-25 09:06:54 -07:00
Deirdre Connolly
1e8fd460fe
Add CodeCov config file ( #51 )
...
* Add CodeCov config file
* Consistent indentation
2021-01-19 20:16:54 -05:00
Deirdre Connolly
46939967d4
Add source-based coverage workflow
2021-01-19 19:58:10 -05:00
Henry de Valence
fa6fe658bb
Merge branch 'release/0.2.2' into main
2020-07-15 12:44:24 -07:00
Henry de Valence
233294d701
Bump version to 0.2.2
2020-07-15 12:42:14 -07:00
Henry de Valence
7424cababb
Add batch::Item::verify_single and Item: Clone + Debug. ( #39 )
...
This closes a gap in the API where it was impossible to retry items in a failed
batch, because the opaque Item type could not be verified individually.
2020-07-15 12:38:43 -07:00
Henry de Valence
3c4e72d241
crypto is not a category
2020-07-09 11:54:58 -07:00
Henry de Valence
cc50b23713
Bump version to 0.2.1
2020-07-09 11:52:30 -07:00
Henry de Valence
00007d0332
Update Cargo.toml metadata
2020-07-09 11:50:53 -07:00
Henry de Valence
eb5714779c
release: update CHANGELOG and version.
2020-07-09 10:30:01 -07:00
Deirdre Connolly
b521ffb17f
Fix benches
2020-07-05 00:22:08 -04:00
Deirdre Connolly
ba256655dd
Optimized batch verification ( #36 )
...
* Pulls in some traits and methods from curve25519-dalek around the
vartime multiscalar multiplication.
* Move scalar mul things we want to upstream to jubjub to their own crate
* Make Verify agnostic to the SigType
Co-authored-by: Henry de Valence <hdevalence@hdevalence.ca>
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-07-03 18:23:28 -04:00
Deirdre Connolly
f27b9c3c77
Change terminology to signing, verification keys ( #35 )
...
Matches ed25519-zebra.
Resolves #33
2020-06-25 11:56:29 -07:00
dependabot-preview[bot]
c933a8eb85
Create Dependabot config file
2020-06-09 16:27:11 -04:00
dependabot-preview[bot]
1179d50fa8
Update proptest requirement from 0.9 to 0.10
...
Updates the requirements on [proptest](https://github.com/altsysrq/proptest ) to permit the latest version.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 16:25:28 -04:00
Henry de Valence
18dfb01c7e
Merge pull request #22 from ZcashFoundation/fix-ci
...
Use plain actions-rs for CI
2020-01-17 14:00:51 -08:00
Henry de Valence
3d7dddc03f
use plain actions-rs for CI
2020-01-17 13:58:17 -08:00
Henry de Valence
91b5e8a258
Merge branch 'release/0.1.1' into main
2020-01-17 10:29:23 -08:00
Henry de Valence
aa023b428e
Bump version and update changelog.
2020-01-17 10:28:12 -08:00
Henry de Valence
416ec245cf
Merge branch 'release/0.1' into main
...
This should have happened at release time.
2020-01-17 10:26:39 -08:00
Henry de Valence
a786d272f0
Merge pull request #19 from ZcashFoundation/smallorder-pubkey
...
Document Zcash consensus rules in PublicKeyBytes to PublicKey conversion.
2020-01-17 10:16:35 -08:00
Henry de Valence
5d3dfc0ff2
Add test that public keys of small order are rejected.
2020-01-17 10:13:51 -08:00
Henry de Valence
b7dfb77cf1
Document Zcash consensus rules and fix mismatch.
...
The documentation for the `PublicKey` struct now explains which consensus rules
are checked by the conversion from `PublicKeyBytes`.
2020-01-17 10:13:51 -08:00
Deirdre Connolly
cf715f5221
Add Dockerfile for gcloud build
2019-12-09 18:32:56 -05:00
Deirdre Connolly
b3b6894fde
Add GitHub Actions workflow which runs Google Cloudbuild jobs
2019-12-09 18:32:56 -05:00
Henry de Valence
68deca90bf
crates.io only allows 5 keywords
2019-12-09 13:58:42 -08:00
Henry de Valence
16659efaad
Add CHANGELOG.md for 0.1.0
2019-12-09 13:56:22 -08:00
Henry de Valence
5be929559b
Merge pull request #17 from ZcashFoundation/rename
...
Rename to just `redjubjub`.
2019-12-09 13:54:55 -08:00
Henry de Valence
c20139bbf7
Rename to just `redjubjub`.
2019-12-09 13:54:10 -08:00
Henry de Valence
570cca07b5
Update Cargo.toml metadata
2019-12-09 13:20:56 -08:00
Henry de Valence
d8ad15059d
Try to prevent ChangePubkey tweaks from becoming a no-op.
...
Since we expect the signature to fail if ChangePubkey is applied, we need to
make sure it actually changes the signature test case.
2019-12-09 12:15:11 -08:00