//! Crypto backend using GnuPG for GPG.
pubmodcontext;pubmodraw;modraw_cmd;usestd::path::PathBuf;/// GPG config.
pubstructConfig{/// GPG binary.
bin: PathBuf,
/// Use TTY for GPG password input, rather than GUI pinentry.
pubgpg_tty:bool,
/// Whether to show verbose output.
pubverbose:bool,
}implConfig{/// Construct with given binary.
////// - `config`: path to `gpg` binary
pubfnfrom(bin: PathBuf)->Self{Self{
bin,
gpg_tty:false,
verbose:false,}}}