refactor(server): separate crypto by purpose and moved outside of actor into separate module

This commit is contained in:
hdbg
2026-04-04 13:40:52 +02:00
committed by Skipper
parent 17ea8d8dc9
commit 149035ecf5
14 changed files with 368 additions and 363 deletions

View File

@@ -279,8 +279,12 @@ pub async fn test_challenge_auth_rejects_invalid_signature() {
.await
.unwrap();
let expected_err = task.await.unwrap();
println!("Received expected error: {expected_err:#?}");
assert!(matches!(
task.await.unwrap(),
expected_err,
Err(auth::Error::InvalidChallengeSolution)
));
}