[][src]Trait radicle_keystore::pinentry::Pinentry

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

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

type Error

Loading content...

Required methods

fn get_passphrase(&self) -> Result<SecUtf8, Self::Error>

Loading content...

Implementors

impl Pinentry for SecUtf8[src]

Identity Pinentry

impl<'a> Pinentry for Prompt<'a>[src]

type Error = Error

Loading content...