Commit Graph

176 Commits

Author SHA1 Message Date
Tony Arcieri fd12ac06c1 Switch from doc_auto_cfg to doc_cfg (#1085)
See RustCrypto/traits#2028
2025-10-20 14:50:31 -06:00
Tom French 21e60bad04 chore: apply unreachable_pub lint (#1062) 2025-10-16 12:22:45 -06:00
Tony Arcieri c4ae371c05 New .rc prereleases (#1072)
- `dsa` v0.7.0-rc.6
- `ecdsa` v0.17.0-rc.7
- `ed25519` v3.0.0-rc.1
- `ed448` v0.5.0-rc.1
- `lms-signature` v0.1.0-rc.0
- `ml-dsa` v0.1.0-rc.0
- `slh-dsa` v0.2.0-rc.0
2025-09-13 09:02:13 -06:00
Tony Arcieri 7ec5b90af9 Bump signature to v3.0.0-rc.4 (#1069) 2025-09-12 20:31:46 -06:00
Tony Arcieri 536d926d35 README.md(s): https links 2025-09-03 15:39:16 -06:00
Tony Arcieri 0fb27a7966 ed*: boilerplate fixups (#1055)
- README.md: add "signatures" to headline
- Tune up docs.rs configs
2025-09-03 15:35:07 -06:00
Tony Arcieri 2164b728af ed25519 v3.0.0-rc.0 (#1053) 2025-09-02 22:41:58 -06:00
Tony Arcieri 89cc97982e Bump pkcs8 to v0.11.0-rc.6 (#1017) 2025-07-16 08:34:32 -06:00
Tony Arcieri 7359233da9 Bump signature to v3.0.0-rc.2 (#1016) 2025-07-16 08:21:11 -06:00
dishmaker c84a3c411e all: test: apply cargo clippy fixes (#966)
* dsa+ecdsa+ed25519+ed448+ml-dsa: apply cargo clippy fixes
* ml-dsa: test: allow `clippy::integer_division_remainder_used`
2025-06-14 12:38:13 -06:00
dishmaker b2229bd404 apply nightly clippy fixes (2025-05-12) (#967) 2025-06-14 12:37:28 -06:00
Arthur Gautier 80a0276c6f ed448: implement AssociatedAlgorithmIdentifier for Signature (#986)
See <https://datatracker.ietf.org/doc/html/rfc8410#section-3>
2025-06-05 09:25:40 -06:00
Arthur Gautier 479bcef39a ed25519,ed448: remove std features (#985) 2025-06-05 09:24:53 -06:00
daxpedda 85c1abb4fd Implement MultipartSigner/Verifier (#982) 2025-06-05 09:24:25 -06:00
Tony Arcieri 9feb055fec ed25519 v3.0.0-pre.0 (#978) 2025-05-31 10:19:17 -06:00
Tony Arcieri d0f9665b50 README.md(s): crates.io badge logo 2025-05-30 20:45:49 -06:00
Tony Arcieri 26b2889438 Bump digest dependency to v0.11.0-rc.0 (#973)
Also bumps:
- `elliptic-curve` v0.14.0-rc.2
- `signature` v3.0.0-rc.0
2025-05-29 10:16:43 -06:00
Ivan Stanković 2c8b508c5d ed25519: fix docs of ComponentBytes (#957) 2025-05-05 06:50:20 -06:00
Arthur Gautier a10c3f6756 signature does not carry the std feature anymore (#946) 2025-04-29 14:38:25 -06:00
daxpedda 57588e2ae7 ed25519: impl Zeroize for ed25519::Signature (#952) 2025-04-29 13:51:43 -06:00
Arthur Gautier 8e6bb26c26 ecdsa: use blanket impl from signature 3 (#945)
- Renames `DigestPrimitive` to `DigestAlgorithm`
- `DigestAlgorithm` now exported from crate root instead of `hazmat`
2025-04-23 10:58:24 -06:00
Arthur Gautier a83c494216 chore(deps): bump signature from 2.3.0-pre.6 to 2.3.0-pre.7 (#943) 2025-04-21 16:48:12 -06:00
Arthur Gautier 0e69f92b56 Upgrade all crates to the 2024 edition and bump MSRV to 1.85 (#913) 2025-02-28 20:12:00 -05:00
Arthur Gautier e5a732d8a8 ed25519: implement SignatureBitStringEncoding support (#889) 2025-01-23 14:22:17 -07:00
Arthur Gautier c0ab70c4e7 build(deps): bump const-oid from 0.10.0-rc.1 to 0.10.0-rc.1; bump MSRV to 1.81 (#868) 2024-10-02 11:06:46 -06:00
Arthur Gautier 87a6da8435 lms: convert to hybrid-array (#865) 2024-09-30 13:12:00 -06:00
Arthur Gautier 839cbdabfe bump pkcs8 dependency after breaking change (#857)
This bump the following dependencies:
 - pkcs8 0.11.0-rc.0 -> 0.11.0-rc.1
 - elliptic-curve 0.14.0-pre.6 -> 0.14.0-rc.0

This is a followup on breaking changes made on pkcs8
(https://github.com/RustCrypto/formats/pull/1483).
2024-09-06 11:48:53 -06:00
Arthur Gautier cf81fb325c ecdsa,dsa,ed25519,ed448: pkcs8 API changes (#851)
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2024-09-05 16:00:43 -06:00
Tony Arcieri 0133af9266 README.md(s): use img.shields.io crate version badges 2024-09-04 19:48:24 -06:00
Tony Arcieri dccd5aaaad ed25519 v2.3.0-pre.0 (#842) 2024-07-28 10:17:38 -06:00
Tony Arcieri 0247d63bde Use new prerelease/release candidate dependencies (#836)
Bumps the following:

- `der` v0.8.0-rc.0
- `digest` v0.11.0-pre.9
- `elliptic-curve` v0.14.0-pre.6
- `pkcs8` v0.11.0-rc.0
- `sha2` v0.11.0-pre.4
- `signature` v2.3.0-pre.4
- `spki` v0.8.0-rc.0
2024-07-26 18:56:22 -06:00
Luca Bruno 9f337917a8 cargo: point repository metadata to clonable URLs (#829)
This tweaks the `repository` fields in Cargo metadata in order to use the correct (i.e. git clonable) URL.
The existing GitHub webUI URLs for each package have been retained and moved to `homepage` fields.
2024-06-10 07:48:08 -06:00
Arthur Gautier c2f3ee6497 Bump pkcs8 to 0.11.0-pre.0 (#807) 2024-03-04 07:03:21 -07:00
Tony Arcieri a2c44242be Bump digest, elliptic-curve, and signature (#802)
Bumps the following dependencies:
- `digest` v0.11.0-pre.8
- `elliptic-curve` v0.14.0-pre.4
- `signature` v2.3.0-pre.3
2024-02-01 16:55:55 -07:00
Tony Arcieri c5206d43db ecdsa: use EcdsaCurve in bounds (#792)
Replaces previous `PrimeCurve` bounds with the new `EcdsaCurve` trait
(which has a supertrait bound on `PrimeCurve`).
2024-01-17 16:14:01 -07:00
Tony Arcieri 4a94edb56a Bump digest, elliptic-curve, and signature; MSRV 1.72 (#785)
Bumps the following dependencies:
- `digest` v0.11.0-pre.7
- `elliptic-curve` v0.14.0-pre.3
- `signature` v2.3.0-pre.2
2024-01-17 10:07:35 -07:00
Tony Arcieri 1e5e29cc50 Bump elliptic-curve and signature dependencies (#769)
As well as bumping `hybrid-array` to v0.2.0-rc.0 and `digest` to
v0.11.0-pre.4.

Also cuts `ecdsa` v0.17.0-pre.1 and `rfc6979` v0.5.0-pre.1
2024-01-10 13:34:47 -07:00
Tony Arcieri 4ee30f578e Bump signature to v2.3.0-pre.0; MSRV 1.71 (#765)
For `ecdsa` crate: MSRV is 1.73 due to a bump of `elliptic-curve` to
v0.14.0-pre.0.

This commit begins the next round of breaking changes and bumps all
crates to prerelease versions.

The main change in `signature` is an upgrade of the `digest` crate to
v0.11.0-pre.3, which is what brings the new MSRV 1.71 requirement.
2024-01-09 12:07:49 -07:00
Alexander Kjäll 571d31fec7 ed25519: use u64 instead of usize in test (#761) 2023-11-21 10:18:22 -07:00
ashWhiteHat fb866b4933 ed448: add documentation (#750) 2023-11-12 18:41:37 -07:00
Tony Arcieri 6ed5faea44 ed25519 v2.2.3 (#748) 2023-10-15 13:13:26 -06:00
ashWhiteHat d9c304cf91 ed448: Ed448 Implementation (#727) 2023-10-15 12:47:41 -06:00
Tony Arcieri e8d4d23a43 ed25519: hexify Debug impl on Signature (#747)
Formats the `R` and `s` signature components as hexidecimal to make the
representation more compact, as requested in #723:

ed25519::Signature {
    R: 0x3f3e3d3c3b3a393837363534333231302f2e2d2c2b2a29282726252423222120,
    s: 0x1f1e1d1c1b1a191817161514131211100f0e0d0c0b0a09080706050403020100,
}
2023-10-15 12:47:01 -06:00
Guillaume Charmetant 8f37b6039f Enable pkcs8/std feature when std is enabled (#746)
When we enable the `std` feature and the `pkcs8` dependency is enabled (by the `pem` feature), enable the `std` feature of `pkcs8`.

This makes it easier to work with the re-exported `pkcs8::Error` type because without the `std` feature it does not impl the  `std::error::Error` marker trait.
2023-10-10 08:26:17 -06:00
dependabot[bot] fc21ff322b build(deps): bump ring-compat from 0.7.0 to 0.8.0 (#744)
Bumps [ring-compat](https://github.com/RustCrypto/ring-compat) from 0.7.0 to 0.8.0.
- [Changelog](https://github.com/RustCrypto/ring-compat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RustCrypto/ring-compat/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: ring-compat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 08:28:16 -06:00
Tony Arcieri a1052d68dc ed25519 v2.2.2 (#739) 2023-08-13 13:43:19 -06:00
Tony Arcieri 31e69fabc2 ed25519: bump ed25519-dalek to v2 (#738)
This is used as a `dev-dependency` for doctesting rustdoc documentation
showing how to use the trait-based API.
2023-08-13 13:27:02 -06:00
dependabot[bot] 36531d4b70 build(deps): bump ed25519-dalek from 2.0.0-rc.2 to 2.0.0-rc.3 (#724)
Bumps [ed25519-dalek](https://github.com/dalek-cryptography/ed25519-dalek) from 2.0.0-rc.2 to 2.0.0-rc.3.
- [Changelog](https://github.com/dalek-cryptography/ed25519-dalek/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dalek-cryptography/ed25519-dalek/compare/2.0.0-rc.2...2.0.0-rc.3)

---
updated-dependencies:
- dependency-name: ed25519-dalek
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 09:37:14 -06:00
Tony Arcieri 771e09bb60 ed25519 v2.2.1 (#694) 2023-04-03 10:23:20 -06:00
Tony Arcieri 2244700450 ed25519: bump ed25519-dalek to v2.0.0-rc.2 (#693)
It's a `dev-dependency` used to doctest the usage examples in the
rustdoc
2023-04-03 10:05:06 -06:00