zut.gpg.open_gpg_decrypted_file
- zut.gpg.open_gpg_decrypted_file(file: str | os.PathLike, password: str | Secret | None = None, *, buffering: int = -1, encoding: str | None = None, newline: str | None = None, **kwargs) Generator[TextIO, Any, Any]
Decrypt and open a GPG-encrypted file as a context manager file .
- Parameters:
password – Password of the private key (if file was asymmetrically encrypted) or password for this file (if file was symmetrically encrypted).