diff --git a/.github/workflows/elliptic-curve.yml b/.github/workflows/elliptic-curve.yml index 53a2994d..b99fddd5 100644 --- a/.github/workflows/elliptic-curve.yml +++ b/.github/workflows/elliptic-curve.yml @@ -67,7 +67,7 @@ jobs: toolchain: nightly - uses: RustCrypto/actions/cargo-hack-install@master - run: cargo update -Z minimal-versions - - run: cargo build --release --features ecdh,hash2curve,jwk,pem,std,voprf # TODO(tarcieri): test all features + - run: cargo +stable build --release --all-features test: runs-on: ubuntu-latest diff --git a/elliptic-curve/Cargo.lock b/elliptic-curve/Cargo.lock index cdca21f9..683b8ddf 100644 --- a/elliptic-curve/Cargo.lock +++ b/elliptic-curve/Cargo.lock @@ -122,6 +122,7 @@ dependencies = [ "sha2", "sha3", "subtle", + "tap", "zeroize", ] diff --git a/elliptic-curve/Cargo.toml b/elliptic-curve/Cargo.toml index dc71b368..84ded370 100644 --- a/elliptic-curve/Cargo.toml +++ b/elliptic-curve/Cargo.toml @@ -35,6 +35,7 @@ pkcs8 = { version = "0.10.2", optional = true, default-features = false } sec1 = { version = "0.7.1", optional = true, features = ["subtle", "zeroize"] } serdect = { version = "0.2", optional = true, default-features = false, features = ["alloc"] } serde_json = { version = "1.0.47", optional = true, default-features = false, features = ["alloc"] } +tap = { version = "1.0.1", optional = true, default-features = false } # hack for minimal-versions support for `bits` [dev-dependencies] hex-literal = "0.4" @@ -59,7 +60,7 @@ std = [ ] arithmetic = ["group"] -bits = ["arithmetic", "ff/bits"] +bits = ["arithmetic", "ff/bits", "dep:tap"] dev = ["arithmetic", "dep:hex-literal", "pem", "pkcs8"] hash2curve = ["arithmetic", "digest"] ecdh = ["arithmetic", "digest", "dep:hkdf"]