Module utils

Source
Expand description

§Utils

Module dedicated to PGP helpers.

Functions§

gen_key_pair
Generates a new pair of secret and public keys for the given email address and passphrase.
read_pkey_from_path
Reads a signed public key from the given path.
read_sig_from_bytes
Reads a standalone signature from the given raw bytes.
read_skey_from_file
Reads a signed secret key from the given path.
read_skey_from_string
Reads a signed secret key from the given raw string.