Skip to main content

pubkey_env

Function pubkey_env 

Source
pub async fn pubkey_env(
    a: ServEnvironmentRequest<'_, '_>,
    config: &SunsetMutex<SSHStampConfig>,
    ctx: &mut EventContext<'_>,
) -> Result<(), Error>
Expand description

Handles SSH_STAMP_PUBKEY environment variable requests.

ยงErrors

Returns an error if SSH protocol operations fail or if the pubkey cannot be added.