RustCrypto / RSA

RSA implementation in pure Rust
Apache License 2.0
536 stars 146 forks source link

New release needed for `digest` v0.11.0-pre.8 compatibility #409

Closed itsbalamurali closed 7 months ago

itsbalamurali commented 7 months ago

Hi, Dependency versions are broken across RustCrypto repos.

error: failed to select a version for `digest`.
    ... required by package `sha2 v0.11.0-pre.3`
    ... which satisfies dependency `sha2 = "^0.11.0-pre.3"` of package `samael v0.0.14`
versions that meet the requirements `=0.11.0-pre.8` are: 0.11.0-pre.8

all possible versions conflict with previously selected packages.

  previously selected package `digest v0.11.0-pre.7`
    ... which satisfies dependency `digest = "=0.11.0-pre.7"` of package `rsa v0.10.0-pre.0`
    ... which satisfies dependency `rsa = "^0.10.0-pre.0"` of package `samael v0.0.14`

failed to select a version for `digest` which could resolve this conflict

My deps in Cargo.toml

# rustcrypto
rsa = { version = "0.10.0-pre.0", features = ["sha2"], optional = true}
sha2 = { version = "0.11.0-pre.3", optional = true }
x509-cert = { git = "https://github.com/RustCrypto/formats.git", features = ["pem","builder","std"],optional = true }
tarcieri commented 7 months ago

Yes, rsa specifically needs updated. Other combinations of crates should work.

tarcieri commented 7 months ago

Fixed in #410 and released as v0.10.0-pre.1

itsbalamurali commented 7 months ago

Thanks @tarcieri 👍🏼