encrypt file in batch mode

Werner Koch wk at gnupg.org
Mon Nov 4 12:34:59 CET 2019


On Sun,  3 Nov 2019 08:31, Fourhundred Thecat said:

> $ gpg --list-secret-keys
> gpg: can't connect to the agent: No such file or directory
> gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory

Your system is not properly installed.  It is missing the gpg-agent
which is a mandatory part of GnuPG.  Except for some esoteric commands
there is no way to use gpg without gpg-agent.  The gpg-agent is used for
private keys as well as to provide a couple of other information like a
useful iteration count for the S2K mechanism.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20191104/6e6cf3e3/attachment.sig>


More information about the Gnupg-users mailing list