pub fn encrypt_with_gpg(gpg_key_id: &str, plaintext: &[u8]) -> Result<Vec<u8>>Expand description
Encrypt plaintext using the system gpg binary for the given key ID or fingerprint.
The output is ASCII-armored PGP data suitable for storing as a data.asc vault file.