pub trait Pinentry {
    type Error;
    fn get_passphrase(&self) -> Result<SecUtf8, Self::Error>;
}
Expand description

A method to obtain a passphrase from which an encryption key can be derived.

Similar in spirit to GPG’s pinentry program, but no implementation of the Assuan protocol is provided as of yet.

Associated Types

Required methods

Implementors

Identity Pinentry