Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump p256 to 0.11.1 #166

Closed
vnermolaev opened this issue Jul 19, 2022 · 3 comments
Closed

Bump p256 to 0.11.1 #166

vnermolaev opened this issue Jul 19, 2022 · 3 comments

Comments

@vnermolaev
Copy link

I have encountered a problem have such a setup

kzen-curv = 0.9.0
dsa = 0.3.0

Producing the following error

/Users/user/.cargo/bin/cargo metadata --verbose --format-version 1 --all-features
stdout :     Updating crates.io index
error: failed to select a version for `signature`.
    ... required by package `ecdsa v0.12.1`
    ... which satisfies dependency `ecdsa-core = "^0.12"` of package `p256 v0.9.0`
    ... which satisfies dependency `p256 = "^0.9"` of package `curv-kzen v0.9.0`
    ... which satisfies dependency `curv-kzen = "^0.9.0"` of package `---`
versions that meet the requirements `>=1.3.0, <1.4.0` are: 1.3.2, 1.3.1, 1.3.0

This seems to be the reason

├ curv-kzen v0.9.0
|  ├ p256 v0.9.0
│  |  ├ ecdsa v0.12.4
│  │  └ signature v1.3.2

and all versions of dsa require

├ dsa v0.2.0
│   ├── signature v1.5.0
@Be-P Be-P mentioned this issue Jul 22, 2022
@Be-P
Copy link
Contributor

Be-P commented Jul 22, 2022

@vnermolaev I've opened the above PR to fix your issue, hopefully it will get merged

@vnermolaev
Copy link
Author

Great! the ultimate test is of course a possibility to include both

kzen-curv = 0.9.0
dsa = 0.3.0

as deps in the same project.

@Be-P
Copy link
Contributor

Be-P commented Jul 26, 2022

You may try overriding the curv dependency (cargo overriding dependencies) with the PR code and see if it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants