Update Rust crate hmac to 0.12 #25
Annotations
11 errors and 9 warnings
the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied because the trait comes from a different crate version:
src/lib.rs#L277
error[E0277]: the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied because the trait comes from a different crate version
--> src/lib.rs:277:24
|
277 | if (*key).verify::<HmacSha512>(&*sig, slice) {
| ^^^^^^^^^^ the trait `hmac::digest::core_api::CoreProxy` is not implemented for `sha2::Sha512`
|
note: there are multiple different versions of crate `digest` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:266:1
|
266 | pub trait CoreProxy: sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: src/lib.rs:2:1
|
2 | extern crate challenge_bypass_ristretto;
| ---------------------------------------- one version of crate `digest` is used here, as a dependency of crate `curve25519_dalek`
3 | extern crate core;
4 | extern crate hmac;
| ------------------ one version of crate `digest` is used here, as a dependency of crate `hmac`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sha2-0.9.9/src/sha512.rs:50:1
|
50 | pub struct Sha512 {
| ----------------- this type doesn't implement the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/digest-0.9.0/src/digest.rs:9:1
|
9 | pub trait Digest {
| ---------------- this is the found trait
= help: you can use `cargo tree` to explore your dependency tree
|
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied:
src/lib.rs#L277
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied
--> src/lib.rs:277:24
|
277 | if (*key).verify::<HmacSha512>(&*sig, slice) {
| ------ ^^^^^^^^^^ the trait `crypto_mac::NewMac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>`
| |
| required by a bound introduced by this call
|
= help: the trait `crypto_mac::NewMac` is implemented for `hmac::Hmac<D>`
note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::verify`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:524:36
|
522 | pub fn verify<D>(&self, sig: &VerificationSignature, message: &[u8]) -> bool
| ------ required by a bound in this associated function
523 | where
524 | D: Mac<OutputSize = U64> + NewMac,
| ^^^^^^ required by this bound in `VerificationKey::verify`
|
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied:
src/lib.rs#L277
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied
--> src/lib.rs:277:24
|
277 | if (*key).verify::<HmacSha512>(&*sig, slice) {
| ------ ^^^^^^^^^^ the trait `crypto_mac::Mac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>`
| |
| required by a bound introduced by this call
|
= help: the trait `crypto_mac::Mac` is implemented for `hmac::Hmac<D>`
note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::verify`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:524:12
|
522 | pub fn verify<D>(&self, sig: &VerificationSignature, message: &[u8]) -> bool
| ------ required by a bound in this associated function
523 | where
524 | D: Mac<OutputSize = U64> + NewMac,
| ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `VerificationKey::verify`
|
the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied because the trait comes from a different crate version:
src/lib.rs#L253
error[E0277]: the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied because the trait comes from a different crate version
--> src/lib.rs:253:42
|
253 | Box::into_raw(Box::new((*key).sign::<HmacSha512>(slice)))
| ^^^^^^^^^^ the trait `hmac::digest::core_api::CoreProxy` is not implemented for `sha2::Sha512`
|
note: there are multiple different versions of crate `digest` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/digest-0.10.7/src/core_api/wrapper.rs:266:1
|
266 | pub trait CoreProxy: sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: src/lib.rs:2:1
|
2 | extern crate challenge_bypass_ristretto;
| ---------------------------------------- one version of crate `digest` is used here, as a dependency of crate `curve25519_dalek`
3 | extern crate core;
4 | extern crate hmac;
| ------------------ one version of crate `digest` is used here, as a dependency of crate `hmac`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sha2-0.9.9/src/sha512.rs:50:1
|
50 | pub struct Sha512 {
| ----------------- this type doesn't implement the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/digest-0.9.0/src/digest.rs:9:1
|
9 | pub trait Digest {
| ---------------- this is the found trait
= help: you can use `cargo tree` to explore your dependency tree
|
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied:
src/lib.rs#L253
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied
--> src/lib.rs:253:42
|
253 | Box::into_raw(Box::new((*key).sign::<HmacSha512>(slice)))
| ---- ^^^^^^^^^^ the trait `crypto_mac::NewMac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>`
| |
| required by a bound introduced by this call
|
= help: the trait `crypto_mac::NewMac` is implemented for `hmac::Hmac<D>`
note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::sign`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:512:36
|
510 | pub fn sign<D>(&self, message: &[u8]) -> VerificationSignature
| ---- required by a bound in this associated function
511 | where
512 | D: Mac<OutputSize = U64> + NewMac,
| ^^^^^^ required by this bound in `VerificationKey::sign`
|
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied:
src/lib.rs#L253
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied
--> src/lib.rs:253:42
|
253 | Box::into_raw(Box::new((*key).sign::<HmacSha512>(slice)))
| ---- ^^^^^^^^^^ the trait `crypto_mac::Mac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>`
| |
| required by a bound introduced by this call
|
= help: the trait `crypto_mac::Mac` is implemented for `hmac::Hmac<D>`
note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::sign`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:512:12
|
510 | pub fn sign<D>(&self, message: &[u8]) -> VerificationSignature
| ---- required by a bound in this associated function
511 | where
512 | D: Mac<OutputSize = U64> + NewMac,
| ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `VerificationKey::sign`
|
ci (ubuntu-latest)
Process completed with exit code 101.
|
ci (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
ci (windows-latest)
The operation was canceled.
|
ci (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
ci (macos-latest)
The operation was canceled.
|
ci (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|