Commit Graph

62 Commits

Author SHA1 Message Date
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
Tony Arcieri 6d60ba04f9 dsa v0.7.0-pre.0 (#841) 2024-07-27 19:44:48 -06:00
Tony Arcieri 0647240ea8 rfc6979 v0.5.0-pre.4 (#837) 2024-07-26 19:06:33 -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
turbocool3r 31838b9dcd dsa+ecdsa: support der custom error types (#809)
Goes with this `formats` PR: RustCrypto/formats#1055
2024-03-03 11:26:29 -07:00
Tony Arcieri 3e229ed991 rfc6979 v0.5.0-pre.3 (#803) 2024-02-01 17:01:06 -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 ef35987cd1 dsa: add missing backtick in CHANGELOG.md 2024-01-28 09:33:43 -07:00
Tony Arcieri cd99984e7d dsa: v0.6.3 CHANGELOG.md entry
This is a backport which was released in #799
2024-01-28 09:32:30 -07:00
Friedel Ziegelmayer b90db64bcb feat(dsa): implement `SigningKey::sign_prehashed_rfc6979 (#798)
Allows to use other digest algorithms.
2024-01-27 12:03:58 -07:00
Tony Arcieri 1c8963a5a2 rfc6979 v0.5.0-pre.2 (#788) 2024-01-17 12:23:29 -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 d7b08e0711 rfc6979 v0.5.0-pre.0 (#766) 2024-01-09 13:22:27 -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
Tony Arcieri 4654dc5e09 dsa v0.6.2 (#757) 2023-11-16 08:26:04 -07:00
Tony Arcieri 250f6525fc dsa+ecdsa: support signature up to v2.2 (#756)
The v2.2.0 release bumped MSRV to 1.60, however that's still compatible
with the MSRV of `dsa` and `ecdsa`, which are both MSRV 1.65.
2023-11-16 07:59:11 -07:00
Tony Arcieri cb98557362 dsa v0.6.1 (#700) 2023-04-04 21:03:16 -06:00
Tony Arcieri 116528faf2 dsa+ecdsa: loosen signature bound to 2.0, <2.2 (#697)
`signature` v2.1.0 is out and only adds features. It does not change the
`digest` or `rand_core` dependencies (there are SemVer exceptions for
these crates, hence the non-SemVer requirement)

Because those deps are unchanged in v2.1.0, we can relax the requirement
to support v2.0 and v2.1 releases.
2023-04-04 20:14:52 -06:00
dependabot[bot] 02e6892f37 build(deps): bump zeroize from 1.5.7 to 1.6.0 (#683)
Bumps [zeroize](https://github.com/RustCrypto/utils) from 1.5.7 to 1.6.0.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/zeroize-v1.5.7...zeroize-v1.6.0)

---
updated-dependencies:
- dependency-name: zeroize
  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-03-27 11:12:01 -06:00
Tony Arcieri fe40b90081 dsa v0.6.0 (#667) 2023-03-01 12:45:33 -07:00
Tony Arcieri 5d18f2a133 dsa: bump pkcs8 dependency to v0.10; MSRV 1.65 (#664) 2023-02-28 20:56:55 -07:00
Tony Arcieri 831dca9589 rfc6979 v0.4.0 (#662) 2023-02-28 13:35:23 -07:00
Tony Arcieri 0cccd6f129 rfc6979 v0.4.0-pre.0 (#649) 2023-01-31 20:56:46 -07:00
Tony Arcieri 773e490a18 ecdsa: bump elliptic-curve to v0.13.0-pre; MSRV 1.61 (#631)
Sourced from git
2023-01-22 10:21:14 -07:00
Tony Arcieri a30805e162 ed25519: use namespaced features for serde_bytes; MSRV 1.60 (#628)
Since workspaces have to be bumped to MSRV 1.60 at the same time, this
also bumps the MSRV of other crates in this repo along with bumping
their version numbers to `-pre`.
2023-01-21 12:33:50 -07:00
Tony Arcieri 6dfcd02629 dsa v0.5.0 (#619) 2023-01-15 15:55:34 -07:00
Tony Arcieri 82b34de8ad Bump signature crate dependency to v2.0 (#614)
Release notes: https://github.com/RustCrypto/traits/pull/1211
2023-01-15 13:22:28 -07:00
Tony Arcieri fcfadb264f dsa v0.5.0-rc.1 (#611) 2023-01-07 18:26:23 -07:00
Tony Arcieri 0dee9a99f4 signature v2.0.0-rc.1 (#608)
This version moves back to `&mut impl CryptoRngCore` as the type
signature for RNGs.

See RustCrypto/traits#1183
2023-01-07 16:23:00 -07:00
Tony Arcieri bee30f7d7f dsa v0.5.0-rc.0 (#605) 2023-01-04 14:01:22 -07:00
Tony Arcieri 60ce11ba47 Bump signature to 2.0.0-rc.0 (#604) 2023-01-04 13:27:21 -07:00
Tony Arcieri 7b26c6906f dsa v0.5.0-pre.1 (#603) 2022-12-29 15:32:50 -07:00
Tony Arcieri 84b93e2a4d Bump signature to v2.0.0-pre.3 (#596) 2022-12-10 17:18:45 -07:00
Tony Arcieri 1578fe31b9 Bump signature to v2.0.0-pre.2; use impl CryptoRngCore (#579)
As discussed in RustCrypto/traits#1148, this uses
`&mut impl CryptoRngCore` as the API for passing CSRNGs.

This removes the need for a generic parameter in the type signature
while also keeping syntax to a minimum.

The traits in `signature` v2.0.0-pre.2 switched to these APIs. See
RustCrypto/traits#1147.
2022-11-04 11:15:20 -06:00
Tony Arcieri f0bfb169d6 dsa: remove use of opaque-debug (#572)
All of the `Debug` impls in this crate benefit from displaying
something, including `SigningKey` which can display its associated
`VerifyingKey`.

This commit switches to derived `Debug` for all types except
`SigningKey`, where it displays the `verifying_key` field then uses
`finish_non_exhaustive` to prevent displaying the secret component `x`.

They could probably benefit from some better formatting than what the
derived implementation provides.
2022-11-02 09:12:10 -06:00
Tony Arcieri f16e4bdb03 dsa: move Signature to toplevel (#571)
It was previously in a `sig` module to avoid clashing with the
`signature` crate re-export.

This structure matches the one used by the `ecdsa` crate.
2022-11-02 08:54:20 -06:00
Tony Arcieri 1eec6b429d Bump signature to 2.0.0-pre (#562)
Implements the proposed breaking changes to the `signature` crate from
https://github.com/RustCrypto/traits/pull/1141

Most notably the `Signature` trait has been replaced with a
`SignatureEncoding` trait which permits an internally structured
signature representation.
2022-10-31 14:11:34 -06:00
Tony Arcieri e2f73315f7 dsa v0.4.2 (#561) 2022-10-29 15:25:57 -06:00
cobratbq 4ed617c514 dsa: implement Signer and Verifier using SHA-256 as default (#559) 2022-10-29 14:56:08 -06:00
cobratbq ace98c8248 dsa: expose signing and verifying of prehashed hash value (#558) 2022-10-22 14:38:34 -06:00
Tony Arcieri 712912e27b v0.4.1 (#554) 2022-10-11 20:15:23 -06:00