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 -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};