zut.gpg.gpg_encrypt_file
- zut.gpg.gpg_encrypt_file(file: str | os.PathLike, output: str | os.PathLike | None = None, *, recipient: str | None = None, password: str | Secret | None = None) None
Encrypt a file using GPG asymetrical encryption (or symmetrical encryption if argument password is given).
- Parameters:
recipient – Identification of the public key to use for this file (asymmetrical encryption).
password – Password for this file (symmetrical encryption).