Update argon2 to 0.6

The only API change affecting us is that PasswordHash moved to
password_hash::phc; use the argon2 crate's top-level re-export instead.
Existing argon2id hashes in password files still verify.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kmrgkpp9YBJ6AMaWYPPZuD
This commit is contained in:
2026-09-12 13:22:39 -07:00
co-authored by Claude Fable 5.1
parent 44c8e6b6f8
commit 2919037d3b
3 changed files with 70 additions and 45 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ edition.workspace = true
[dependencies]
clap = { workspace = true }
common = { workspace = true }
argon2 = "0.5.3"
argon2 = "0.6.0"
env_logger = "0.11.8"
log = "0.4.29"
signal-hook = "0.4"
+1 -4
View File
@@ -1,9 +1,6 @@
use common::request::Request;
use argon2::{
Argon2,
password_hash::{PasswordHash, PasswordVerifier},
};
use argon2::{Argon2, PasswordHash, PasswordVerifier};
use std::fs::File;
use std::io::{BufRead, BufReader};