decrypt aes256 encrypted file without gpg-agent

Dmitry Alexandrov dag at gnui.org
Tue Jun 30 15:41:36 CEST 2020


Fourhundred Thecat <400thecat at gmx.ch> wrote:
> In case of gpg, there is one mode where you generate your key pair, change configuration files, or any other read-write operation.
>
> But for general usage, there is no reason for the key pair to need to be writable.

Sure.  So there is none:

	$ chmod a-w $GNUPGHOME/pubring.kbx $GNUPGHOME/private-keys-v1.d/*
	$ echo foo | gpg -qe --default-recipient-self | gpg -qd
	foo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200630/5e621865/attachment.sig>


More information about the Gnupg-users mailing list