Skip to main content

handle_askpass

Function handle_askpass 

Source
pub(crate) async fn handle_askpass(
    __arg0: State<AppState>,
    __arg1: Json<AskpassRequest>,
) -> Response
Expand description

POST /api/v1/askpass: show an ssh prompt to the user (ask_user) and return the answer (remote::askpass). Only a live secret is answered, and the secret, not anything in the request, says which agent and host the question names.