Commit graph

49 commits

Author SHA1 Message Date
pinkforest
d62def9c22
Workspace ed25519 under ed25519-dalek 2023-06-27 04:04:09 +00:00
pinkforest(she/her)
58a967f6fb
chore: Release 2.0.0-rc.3 (#307)
* chore: Release 2.0.0-rc.3

* cargo update -p curve25519-dalek

* Removed some old backend selection prose and env vars

---------

Co-authored-by: Michael Rosenberg <michael@mrosenberg.pub>
2023-06-23 23:53:10 -04:00
Michael Rosenberg
4afbf09e1c
Add hazmat module with ExpandedSecretKey, raw_sign, raw_sign_prehashed (#299)
* Added raw_sign() and raw_sign_prehashed() functions

* Renamed `nonce` to `hash_prefix` in signing because it's really not a nonce

* Moved raw signing to hazmat module

* impl From<EdwardsPoint> for VerifyingKey

* Brought back ExpandedSecretKey; made raw_* functions take it as input

* Added remaining features to docs.rs feature set

* Removed redundant ExpandedSecretKey def; made raw signing use a generic CtxDigest

* Implemented raw_verify with generic CtxDigest

* Implemented raw_verify_prehashed with generic MsgDigest and CtxDigest

* Wrote hazmat tests; fixed errors; switched ordering of MsgDigest and CtxDigest

* Updated changelog

* ExpandedSecretKey::from_bytes takes an array and is now infallible

* Add TODO comment for split_array_ref

* Added from_slice and TryFrom<&[u8]> for ExpandedSecretKey

---------

Co-authored-by: Tony Arcieri <bascule@gmail.com>
2023-05-15 00:50:38 -04:00
Michael Rosenberg
80aac08c1c
Fixed repoerted speedup/slowdown percentages in README benchmarks (#297) 2023-03-30 15:00:52 -04:00
pinkforest(she/her)
5014c91270
chore: Release 2.0.0-rc.2 (#295)
Co-authored-by: Michael Rosenberg <michael@mrosenberg.pub>
2023-03-26 11:23:14 -04:00
Michael Rosenberg
783b6e81c4
README changes for 2.0 (#275)
* Added items to changelog for 2.0 release

* Removed unnecessary uses of std in doctests

* Gated `Context` behind `digest`

* Fixed noncompiling doctest when only `digest` is enabled

* README feature flag list mostly done

* Copied changelog to readme

* Redid the malleability section in README

* Added CONTRIBUTING.md

* Bumped version number to 2.0.0-pre.0; small changes to README

* Updated changelog for #277

* Added pem feature description

Co-authored-by: pinkforest(she/her) <36498018+pinkforest@users.noreply.github.com>
2023-02-02 17:07:56 -05:00
pinkforest(she/her)
928d6d15f8
Docs.rs + README changes for 2.x (#241) 2023-01-27 01:06:24 -05:00
Michael Rosenberg
b5dc40bedf
Make verify_batch deterministic (#256)
Also removed `batch_deterministic` feature
2023-01-14 21:26:39 -05:00
Michael Rosenberg
e2ed3133a6
Fix batch build (#220)
* Fixed bench when `batch` feature is not present

* Added bench build regression test to CI

* Fixed batch build more generally

* Simplified batch cfg gates in benches

* Updated criterion

* Made CI batch-nondeterministic test use nostd

* Fix batch_deterministic build

* Removed bad compile error when batch and batch_deterministic are selected
2023-01-02 00:59:19 -05:00
Tony Arcieri
f6a242a5b0
Use namespaced/weak features; MSRV 1.60 (#235)
This enables activating the `alloc` and `std` features without
unnecessarily pulling in optional dependencies like `rand` and `serde`.

It also fixes tests for `--no-default-features` (w\ `--lib` only)
2022-12-20 04:48:55 -05:00
Tony Arcieri
55620dcde5
PKCS#8 support (#224)
Adds optional integration with `ed25519::pkcs8` with support for
decoding/encoding `Keypair` from/to PKCS#8-encoded documents as well as
`PublicKey` from/to SPKI-encoded documents.

Includes test vectors generated for the `ed25519` crate from:
https://github.com/RustCrypto/signatures/tree/master/ed25519/tests/examples
2022-12-13 18:19:31 -05:00
Michael Rosenberg
7529d65506 Fixed installation section in README; accidentally deleted this earlier 2022-10-16 19:38:36 -04:00
Michael Rosenberg
8319adbff4
Bumped MSRV to 1.56.1 and added some documentation about semver (#218)
Also fixed benchmark build
2022-10-16 18:51:26 -04:00
Matteo Monti
29932412f8
Update README.md
Fixes minor typo
2021-05-29 17:38:14 +02:00
Isis Lovecruft
52a7fc88b6
Update README w.r.t. new features, malleability, synthethic randomness. 2019-11-27 22:26:58 +00:00
Isis Lovecruft
2d5fe86f30
Document anti-malleability features/functionality. 2019-10-07 19:03:15 +00:00
Isis Lovecruft
1edc2965ad
Fix typo in README. 2019-03-12 20:52:34 +00:00
Isis Lovecruft
99c64cc403
Bump ed25519-dalek version to 1.0.0-pre.0. 2018-11-06 01:56:13 +00:00
Isis Lovecruft
5a759ab9fa
Fix typo in image URL in README. 2018-07-27 22:00:05 +00:00
Isis Lovecruft
9263d01351
Remove outdated TODO section from the README. 2018-07-27 21:45:32 +00:00
Isis Lovecruft
591aff7025
Bump ed25519-dalek version to 0.8.0. 2018-07-27 21:35:36 +00:00
Isis Lovecruft
f67d955100
Add README section for batch performance. 2018-07-27 21:34:02 +00:00
Isis Lovecruft
494c4628c2
Fix a typo in the README.
This wasn't the machine I ran it on, or else it wouldn't have been a
remotely fair comparison because my laptop is a 10-year-old piece of
crap x220 running Qubes.
2018-07-16 20:45:03 +00:00
Isis Lovecruft
c024b671c0
Remove outdated paragraph about the bench deature in README. 2018-07-16 20:44:54 +00:00
Isis Lovecruft
5050049a6c
Update benchmarks in README. 2018-07-15 23:22:22 +00:00
Henry de Valence
030eff547f Make verify return a Result.
This also simplifies the verification logic.  Because the verification check
happens in variable time, we don't need to do a constant-time eq check at the
end, so we can drop the `subtle` dependency entirely.

The `DecodingError` type becomes `SignatureError` and is also used to
signal failing verifications.
2018-07-15 13:07:58 -07:00
Isis Lovecruft
f8373a9e70
Fix two more links in the README. 2018-07-13 23:57:27 +00:00
Isis Lovecruft
a1ea26ef0f
Merge remote-tracking branch 'millette/patch-1' into develop 2018-07-13 23:56:11 +00:00
Isis Lovecruft
196fd24b63
Update README to explain features and update benches. 2018-05-30 20:59:44 +00:00
Robin Millette
51f176007e
fix links
image and #9
2018-04-02 17:25:40 -04:00
Isis Lovecruft
d61808cb08
Remove done TODO item from README. 2018-03-26 02:32:01 +00:00
Isis Lovecruft
4c633acaf9
Bump ed25519-dalek version to 0.6.0. 2018-01-20 02:56:35 +00:00
Isis Lovecruft
1cc60aa3ee
Bump ed25519-dalek version to 0.5.0. 2017-11-06 19:09:12 +00:00
Isis Lovecruft
cec6b5e3b9
Merge remote-tracking branch 'emilbayes/patch-1' into develop 2017-10-05 05:32:12 +00:00
Isis Lovecruft
08a9715a5c
Merge remote-tracking branch 'nikkolasg/patch-1' into develop 2017-10-05 05:27:43 +00:00
Isis Lovecruft
a1caa4dfda
Fix typo in README. 2017-09-21 22:06:48 +00:00
Isis Lovecruft
23756b4c74
Bump ed25519-dalek version to 0.4.0. 2017-08-02 19:39:28 +00:00
Emil Bay
13ed8af8de Fix badge links 2017-07-22 23:21:16 +02:00
Nicolas Gailly
8ac6ef9ab1 simple typo fix 2017-07-12 15:24:35 +02:00
Isis Lovecruft
a3aa6078b4
Add a TODO for adding benchmarks to Brian Smith's crypto-bench. 2017-03-15 22:41:36 +00:00
Isis Lovecruft
b5ae6c4447
RFC8032 isn't a draft anymore. 2017-03-15 21:25:44 +00:00
Isis Lovecruft
4cd8ffd797
Explain the baseline "readability" in comparison. 2017-03-15 21:19:13 +00:00
Isis Lovecruft
fc2725889c
It's a discussion and not a definition. 2017-03-15 21:13:09 +00:00
Isis Lovecruft
db965fd5e8
Move README image resourse to res/ and fix link. 2017-03-15 21:10:00 +00:00
Isis Lovecruft
71c2bc7687
Revise README with new benchmarks, warning, and install instructions. 2017-03-15 21:05:07 +00:00
Isis Lovecruft
4bdbf89eeb
Add Travis badge to README. 2017-03-14 23:13:07 +00:00
Isis Lovecruft
4b12789bcc
Bump version to 0.2.0. 2017-02-08 20:13:35 +00:00
Isis Lovecruft
c9b5cb910c
Fix installation instructions to use new package name. 2016-12-09 01:30:04 +00:00
Isis Lovecruft
e971afb7b5
Rename README file. 2016-12-09 01:23:34 +00:00
Renamed from REAME.md (Browse further)