Commit Graph

74 Commits

Author SHA1 Message Date
Arthur Gautier b58f47a4b2 ml-dsa: run tests on no_std targets (#1080) 2025-10-20 08:16:30 -06:00
Tony Arcieri b383808ccf CI: bump typos to v1.38.1 (#1084) 2025-10-19 09:08:34 -06:00
dependabot[bot] b64842478f build(deps): bump crate-ci/typos from 1.35.1 to 1.36.2 (#1061) 2025-09-13 10:09:35 -06:00
dependabot[bot] 03bd8261cf build(deps): bump actions/download-artifact from 4 to 5 (#1036) 2025-09-01 17:27:56 -06:00
dependabot[bot] d4b06ddca4 build(deps): bump actions/checkout from 4 to 5 (#1038) 2025-09-01 17:27:31 -06:00
Charles Edward Gagnon 64547a82e4 Only run CI on latest commit of PR branches (#1033) 2025-08-05 18:44:18 -06:00
dependabot[bot] 282873b764 build(deps): bump crate-ci/typos from 1.34.0 to 1.35.1 (#1027) 2025-08-04 14:10:47 -06:00
dependabot[bot] 1c74c2b6fa build(deps): bump crate-ci/typos from 1.33.1 to 1.34.0 (#1009) 2025-07-03 14:30:35 -06:00
Arthur Gautier 310df4ab2a workspace: check for typos in CI (#1001) 2025-06-19 12:19:00 -06:00
Arthur Gautier 8f770af1a2 dsa: migrate to crypto-bigint (#906)
Closes #779
2025-04-23 11:30:26 -06:00
Jason Gerard DeRose 0dd107bed6 ml-dsa: cargo test with --no-default-features in workflow (#932)
Also fix `rand::thread_rng()` --> `rand::rng()` warning in doctest

Co-authored-by: Richard Barnes <rlb@ipv.sx>
2025-04-15 11:05:08 -06:00
Jason Gerard DeRose 5f44af42ac slh-dsa: fix benchmark to also run verify_benches() (#928) 2025-04-07 10:04:09 +09:00
Tony Arcieri 8de0caff46 CI: fix security audit (#924)
Ignores RUSTSEC-2024-0436: `paste` is unmaintained
2025-03-09 12:08:24 -06:00
Jason Gerard DeRose af0860737e ml-dsa: cargo build --benches in github workflow (#922) 2025-03-08 09:24:38 -07: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 647de14b4d slh-dsa: migrate to nextest, shard tests (#914)
GitHub CI is too slow and most of the time times out before we can run
all the tests.

This migrates the tests to using nextest to use their sharding
implementation.
2025-02-24 15:23:59 +01:00
Tony Arcieri bd3d94ce61 ml-dsa: bump rand_core to v0.9 (#899) 2025-02-13 12:54:14 -07:00
Tony Arcieri c9eabf70e4 CI: fix security audit (#884)
Busts the cache key so we use a newer version of `cargo-audit`
2025-01-19 14:11:24 -07:00
Richard Barnes 1d3a1d1945 Add support for ML-DSA (#877) 2025-01-19 14:00:26 -07:00
Tony Arcieri 85c984bcc9 slh-dsa: ensure no_std compatibility in CI (#876) 2024-11-12 14:18:20 -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
erdnaxe 9d92fd875e slh-dsa: fix --no-default-features tests (#853) 2024-09-04 07:10:42 -06:00
Tony Arcieri 62419f8b10 ml-dsa: initial crate boilerplate (#830) 2024-07-10 20:10:32 -06:00
Tjaden Hess e210572c68 Fully guard alloc tests with feature flags, make KATs no-alloc (#814) 2024-04-15 10:00:32 -06:00
Tony Arcieri f4799f5820 slh-dsa: CI configuration (#813) 2024-04-15 09:28:12 -06:00
Will Song 3e4e1aa270 lms: import into RustCrypto/signatures (#801)
Leighton-Micali Hash-Based Signatures

Co-authored-by: Tjaden Hess <tjade273@gmail.com>
2024-03-06 12:30:50 -07:00
dependabot[bot] ab263a9c43 build(deps): bump actions/cache from 3 to 4 (#797)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 07:41:03 -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 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
dependabot[bot] 8516671bb5 build(deps): bump actions/checkout from 3 to 4 (#749)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 08:30:42 -06:00
ashWhiteHat d9c304cf91 ed448: Ed448 Implementation (#727) 2023-10-15 12:47:41 -06:00
dependabot[bot] e2df1ac9c8 build(deps): bump actions/checkout from 3 to 4 (#740)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 09:56:07 -06:00
Tony Arcieri 6390a548fe ed25519: bump ring-compat to v0.7 (#692) 2023-04-03 09:37:50 -06:00
Dirk Stolle 30fad0c067 Replace unmaintained actions-rs/* actions in CI workflows (#682)
Basically all of the `actions-rs/*` actions are unmaintained. See
<https://github.com/actions-rs/toolchain/issues/216> for more
information. Due to their age they generate several warnings in
CI runs.

To get rid of some of those warnings the occurrences of
`actions-rs/toolchain` are replaced by `dtolnay/rust-toolchain`,
and the occurrences of `actions-rs/cargo` are replaced by direct
invocations of `cargo`.
2023-03-20 19:08:59 -06:00
Tony Arcieri 76c6a1f402 ed25519: bump pkcs8 dependency to v0.10 (#665) 2023-02-28 21:30:34 -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 3d0daf374b ecdsa: bump elliptic-curve to v0.13.0-rc.0; MSRV 1.65 (#660)
Also bumps `der` to v0.7
2023-02-28 13:06:31 -07:00
Tony Arcieri 24d5a9f867 CI: re-enable security audit (#641)
Now that #640 is merged it should work again
2023-01-28 19:54:00 -07:00
Tony Arcieri bd7dfd1e34 rfc6979: decouple from crypto-bigint (#639)
The previous approach complicates supporting ECDSA with `FieldSize`
which is different from `C::Uint::ByteSize`.

The new implementation eliminates `crypto-bigint` as a dependency and
makes the API entirely byte-oriented.

This is a simpler approach which also eliminates some previous trait
bounds on the generic ECDSA implementation.
2023-01-28 17:16:22 -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 fd1c20d31d security-audit.yml: bump cache and cargo-audit versions 2022-10-17 09:07:10 -06:00
dependabot[bot] c762d8d07e build(deps): bump actions/checkout from 1 to 3 (#557)
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 09:03:39 -06:00
Tony Arcieri 69662f3e35 ecdsa: use cargo hack in CI to test feature combos (#536)
Uses automatic permutation test rather than hardcoded combinations
2022-09-12 19:49:59 -06:00
Tony Arcieri afb6d7703b ed25519: CI test for build with pem feature alone (#526)
It wasn't tested before. See #524.
2022-09-06 10:20:30 -06:00
aumetra 373e4fe08b dsa: Add initial DSA implementation (#471)
Adds an initial implementation of DSA (see #8)  

The following things work when tested against OpenSSL:

- The generated keys are valid and can be imported and exported from/to their DER/PEM representation
- Signatures generated by this library can be successfully verified
- Signatures can be imported and exported from/into their DER representation
- Signatures generated by OpenSSL can be successfully imported and verified
2022-05-16 11:53:39 -06:00
Tony Arcieri a5bbacd683 ed25519: bump pkcs8 dependency to v0.9 (#473)
Per our SemVer policy, since this is a breaking change to the `pkcs8`
module it also bumps the minor version of this crate (currently to
v1.5.0-pre)

The MSRV with the `pkcs8` feature enabled is now 1.57
2022-05-09 07:38:00 -06:00
Tony Arcieri 392be55fcd Reunify workspace; disable ring-compat doctests (#442)
Reverts the changes from #433 that split the `ed25519` crate out into
its own namespace.

Instead, temporarily disables the `ring-compat` dependency and doctests
in the `ed25519` crate until it's updated to the latest version of the
`signature` crate.

Fixes #440
2022-01-19 06:37:37 -07:00
Tony Arcieri b3e28706bb rfc6979: add CI workflow (#436)
It was previously missing one, and only vicariously tested via the
`ecdsa` crate.
2022-01-18 11:43:30 -07:00