Commit Graph

104 Commits

Author SHA1 Message Date
Tony Arcieri fe23a8cf66 rfc6979 v0.5.0-rc.2 (#1089) 2025-10-22 12:28:54 -06:00
Tom French 21e60bad04 chore: apply unreachable_pub lint (#1062) 2025-10-16 12:22:45 -06:00
daxpedda 0e4a329998 Update to digest::EagerHash (#1077)
ecdsa: merges `arithmetic` into `algorithm` crate feature
2025-09-18 09:25:25 -06:00
daxpedda 580758e3e7 rfc6979: replace Digest requirement with EagerHash (#1076) 2025-09-15 16:34:49 -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 78b0133757 Bump dependencies in Cargo.toml(s) (#1070)
Bumps the following:
- `aes` v0.9.0-rc.1
- `cipher` v0.5.0-rc.1
- `criterion` v0.7
- `ctr` v0.10.0-rc.1
- `hex-literal` v1
- `sha3` v0.11.0-rc.3
2025-09-13 08:27:52 -06:00
Tony Arcieri 7ec5b90af9 Bump signature to v3.0.0-rc.4 (#1069) 2025-09-12 20:31:46 -06:00
daxpedda 923fe6f856 Update to signature::DigestSigner/Verifier changes (#1064)
Companion PR to RustCrypto/traits#2004
2025-09-12 20:13:18 -06:00
Tony Arcieri 2cd53cf4fb ecdsa: bump elliptic-curve to v0.14.0-rc.14 (#1068) 2025-09-12 20:11:44 -06:00
Tony Arcieri 8599e52851 Bump crypto-bigint to v0.7.0-rc.5 (#1067)
* dsa: bump `crypto-bigint` to v0.7.0-rc.5
* ecdsa: rename `ScalarPrimitive` to `ScalarValue`

Companion PR to RustCrypto/traits#2008
2025-09-12 18:46:51 -06:00
Arthur Gautier f6df3e250c dsa: add from_components_unchecked APIs (#1059)
Adds support for any size of keys, either larger or older/weak keys.

The API is only available under the `hazmat` feature-flag, and the
consumer is responsible for checking the security of what they're using
it for.

Fixes #1058

* dsa: compare key sizes aligned to limb

This allows to compare key sizes after a back and forth through
serialization which could lose the exact key size.
2025-09-08 19:37:00 -06:00
Tony Arcieri 536d926d35 README.md(s): https links 2025-09-03 15:39:16 -06:00
Tony Arcieri 6375b4dbba Cut prereleases with hybrid-array v0.4 support (#1052)
Releases the following:
- `dsa` v0.7.0-rc.5
- `ecdsa` v0.17.0-rc.6
- `rfc6979` v0.5.0-rc.1
2025-09-02 22:18:53 -06:00
Arthur Gautier cc2cac3a2f bump crypto-bigint to v0.7.0-rc.4 (#1050) 2025-09-02 21:01:30 -06:00
Tony Arcieri 8604f8c7ef dsa v0.7.0-rc.4 (#1032) 2025-08-05 18:40:30 -06:00
Arthur Gautier 938a09b269 ecdsa: adopt der API changes (#1025)
Make ecdsa crate compatible with changes to `Header` struct in the
`der` crate.

Co-authored-by: Daniel James <dan@gemini.com>
2025-08-05 11:04:40 -06:00
Tony Arcieri 18be0266f9 ecdsa: use new Reduce trait (#1030)
Uses the `Reduce` trait added in RustCrypto/traits#1949
2025-08-04 21:44:24 -06:00
Tony Arcieri e6d52c2ae0 Bump crypto-bigint to v0.7.0-pre.7 (#1022) 2025-07-19 11:12:41 -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
Tony Arcieri 1ff759e67a dsa v0.7.0-rc.3 (#1015) 2025-07-10 17:02:16 -06:00
Tony Arcieri 90757c3022 dsa: make pkcs8 feature optional (#1014)
It's not needed in applications which define their own key encodings,
for example SSH.

The feature is still enabled by-default.
2025-07-10 16:49:25 -06:00
Tony Arcieri c5d63c881c dsa v0.7.0-rc.2 (#1011) 2025-07-03 15:46:45 -06:00
Tony Arcieri 53361b03cd dsa+ecdsa: bump dependencies (#1010)
Bumps the following:
- crypto-bigint v0.7.0-pre.6
- der v0.8.0-rc.6
- elliptic-curve v0.14.0-rc.8
- pkcs8 v0.11.0-rc.5
- sec1 v0.8.0-rc.6
- spki v0.8.0-rc.3
2025-07-03 14:56:32 -06:00
Tony Arcieri 6cc40e5c10 der error handling fixups (#1005)
Companion PR to RustCrypto/formats#1889
2025-06-21 21:36:45 -06:00
Tony Arcieri 6950d7d1a1 dsa v0.7.0-rc.1 (#1004) 2025-06-20 19:41:31 -06:00
Tony Arcieri 6cbef4f168 dsa: handle NonZero/Odd conversions on BoxedUint internally (#998)
Makes `BoxedUint` the one unsigned integer type in the public API,
converting to `NonZero<BoxedUint>` and `Odd<BoxedUint>` as needed.

This makes the API simpler to use for end-users, with fewer types for
them to manage.

Closes #987
2025-06-16 12:02:57 -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
daxpedda 85c1abb4fd Implement MultipartSigner/Verifier (#982) 2025-06-05 09:24:25 -06:00
Tony Arcieri 2798f7999b dsa: remove std feature (#980)
It isn't actually used for anything, and with a hard dependency on
`alloc` and `core::error::Error` we can always capture
`Box<std::error::Error>` in `signature::Error`.
2025-05-31 20:15:34 -06:00
Tony Arcieri daf1f36e42 dsa: minor hazmat cleanups (#979)
- Place attributes after comments
- Ensure `hazmat` features are documented on docs.rs
2025-05-31 20:11:13 -06:00
Tony Arcieri d76ebac63b dsa: README.md fixups 2025-05-30 20:43:37 -06:00
Tony Arcieri 8715ae96cb dsa v0.7.0-rc.0 (#977) 2025-05-30 19:07:17 -06:00
Tony Arcieri 6e3caccf2e Bump crypto-bigint to v0.7.0-pre.4 (#976) 2025-05-30 18:46:39 -06:00
Tony Arcieri af3688602f rfc6979 v0.5.0-rc.0 (#974) 2025-05-29 10:32:22 -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
Arthur Gautier 132a6b1b38 chore(deps): bump digest git pin (#971) 2025-05-27 12:13:58 -06:00
Arthur Gautier 6f17b32120 bump crypto-bigint to master, use core naming conventions (#963) 2025-05-13 16:48:33 -06:00
Arthur Gautier 0dd5dbc3e8 chore(deps): bump crypto-bigint to 0.7.0-pre.2 (#953) 2025-05-03 07:38:37 -06:00
kat fox 6cce0281c2 dsa: impl ZeroizeOnDrop for SigningKey (#917) 2025-04-29 14:40:07 -06:00
Arthur Gautier 8f770af1a2 dsa: migrate to crypto-bigint (#906)
Closes #779
2025-04-23 11:30:26 -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
Mirek Sedzinski 40649077c2 dsa: gate signing under hazmat feature (#859)
Resolves #858
2025-01-19 14:12:56 -07:00
Tony Arcieri 5109516d21 dsa v0.7.0-pre.1 (#873) 2024-10-15 15:01:16 -06:00
Tony Arcieri 55abb77c88 dsa: loosen pkcs8 pre-release dependency (#872) 2024-10-15 14:46:16 -06:00
Arthur Gautier 4aead4b464 workspace: limit duplicate dependencies (#871)
This makes use of a global `patch.crates-io` instead of local `path =`
attributes in the dependencies.

When pulling dependencies through git to try unreleased crates, the
dependency in `path` will get duplicated. Which makes for twice the
definition of types incompatible with each other.
2024-10-15 11:01:58 -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