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 Cargo.lock #572

Merged
merged 2 commits into from
Mar 5, 2025
Merged

Update Cargo.lock #572

merged 2 commits into from
Mar 5, 2025

Conversation

newpavlov
Copy link
Member

@newpavlov newpavlov commented Mar 5, 2025

Using the yanked version of base64ct results in a security audit warning:
https://github.com/RustCrypto/password-hashes/actions/runs/13675565491/job/38235226692

@@ -123,6 +123,8 @@ impl From<Error> for password_hash::Error {
impl core::error::Error for Error {
fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
match self {
// TODO: remove afer `B64Error` will implement `core::error::Error`
#[cfg(feature = "std")]
Copy link
Member Author

@newpavlov newpavlov Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a consequence of yanking base64ct v1.7 (see RustCrypto/formats#1684). (BTW we should've used base64ct = "1.7" if we rely on the Error impl)

@tarcieri
What are you thoughts on base64ct's MSRV? Should we release v2 with the bump?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably open an issue to discuss

@newpavlov newpavlov merged commit cbaf167 into master Mar 5, 2025
60 checks passed
@newpavlov newpavlov deleted the downgrade_base64ct branch March 5, 2025 12:20
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.

2 participants