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

Update to untrusted 0.9 #7

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

briansmith
Copy link

Reformat the code using cargo fmt from Rust Toolchain 1.74.1. Then update to the latest version of untrusted 0.9, which is used by the latest version of ring. This allows projects that use ring 0.17 to have only a single copy of untrusted.

untrusted 0.9 removed the `PartialEq` implementation from `Input` so
update the tests to compare slices instead, like *ring* did when it
updated to untrusted 0.9.
briansmith added a commit to briansmith/rust-tuf that referenced this pull request Feb 8, 2024
Intentionally use "0.17" as the version spec instead of the latest
version "0.17.7" to help projects depending on rust-tuf who want to
go through a two step ring 0.16.20 -> 0.17.0 -> 0.17.7 update
process.

With this change, two versions of untrusted will be in use: *ring*
will use untrusted 0.9, while derp and rust-tuf will use the older
version. In order to update rust-tuf to use untrusted 0.9, derp
needs to be changed to use it first. This is a work in progress; see
heartsucker/derp#7.
briansmith added a commit to briansmith/rust-tuf that referenced this pull request Feb 9, 2024
Intentionally use "0.17" as the version spec instead of the latest
version "0.17.7" to help projects depending on rust-tuf who want to
go through a two step ring 0.16.20 -> 0.17.0 -> 0.17.7 update
process.

With this change, two versions of untrusted will be in use: *ring*
will use untrusted 0.9, while derp and rust-tuf will use the older
version. In order to update rust-tuf to use untrusted 0.9, derp
needs to be changed to use it first. This is a work in progress; see
heartsucker/derp#7.
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

Successfully merging this pull request may close these issues.

1 participant