From f294c5bca990f684b59f217dd468a41b7ac83d0e Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 27 Jan 2026 16:20:25 -0800 Subject: chore(deps): audit ssl deps (#3110) ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing --- crates/atuin-server/src/handlers/user.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/atuin-server/src') diff --git a/crates/atuin-server/src/handlers/user.rs b/crates/atuin-server/src/handlers/user.rs index c6fec51e..6436e327 100644 --- a/crates/atuin-server/src/handlers/user.rs +++ b/crates/atuin-server/src/handlers/user.rs @@ -16,6 +16,8 @@ use metrics::counter; use rand::rngs::OsRng; use tracing::{debug, error, info, instrument}; +use atuin_common::tls::ensure_crypto_provider; + use super::{ErrorResponse, ErrorResponseStatus, RespExt}; use crate::router::{AppState, UserAuth}; use atuin_server_database::{ @@ -38,6 +40,7 @@ pub fn verify_str(hash: &str, password: &str) -> bool { // Try to send a Discord webhook once - if it fails, we don't retry. "At most once", and best effort. // Don't return the status because if this fails, we don't really care. async fn send_register_hook(url: &str, username: String, registered: String) { + ensure_crypto_provider(); let hook = HashMap::from([ ("username", username), ("content", format!("{registered} has just signed up!")), -- cgit v1.3.1