Upgrade sha2 rust crate in crashreporter to bypass an hardcoded dependency
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
People
(Reporter: beurdouche, Assigned: beurdouche)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
In Bug 1883321 I will ship dependencies that need the latest version subtle
(0.5
) which is pinned to 0.4 by crashreporter's digest
dependency.
In crashreporter the version of the sha2
rust crate is set to =0.10
.
- crashreporter needs
sha2=0.10
[0] - the build system typically picks
sha2 0.10.6
which needsdigest=^0.10.6
[1] digest 0.10.6
is picked but is hardcodingsubtle=0.4
which caps the version ofsubtle
by mistake
The problem of pining the version of subtle
was fixed in digest 0.10.7
therefore I propose to patch the sha2 version of crash reporter to sha2=^0.10.7
which has transitive dependencies containing the fix by using digest ^0.10.7
and subtle ^0.5
.
This will also allow the toolchain to upgrade the version of all dependencies as expected.
Assignee | ||
Comment 1•6 months ago
|
||
Comment 2•5 months ago
|
||
The severity field is not set for this bug.
:gsvelto, could you have a look please?
For more information, please visit BugBot documentation.
Updated•5 months ago
|
Comment 3•4 months ago
•
|
||
Note that the version in the crashreporter Cargo.toml
was not =0.10
, it was ^0.10
(https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements). This means that a cargo update sha2 digest
may have been sufficient (though other factors may be involved).
Description
•