[][src]Crate pinentry_rs

Library for invoking pinentry to get password input

Example

use pinentry_rs::pinentry;
use secstr::SecStr;

// Read a password into a `SecStr`
let pw = pinentry().pin("Please enter password:".to_string())?;

Structs

PinentryBuilder

Builder for pinentry execution

Enums

Error

Errors that can occur while interacting with pinentry

Functions

pinentry

Create a builder for invoking pinentry

Type Definitions

Result