gpg-preset-passphrase: caching passphrase failed: Forbidden
Elliott de Launay
edelauna at gmail.com
Tue Dec 10 23:04:52 CET 2024
Hi there,
I'm having a hard time finding resources to help me troubleshoot the
following error
> gpg-preset-passphrase: problem setting the gpg-agent options
> gpg-preset-passphrase: caching passphrase failed: Forbidden
when I try to preset password via:
$ /usr/lib/gnupg2/gpg-preset-passphrase -c ${myKeyGripe} <
${fileWithPassword}
I do not have a `~/.gnupg/gpg.conf`
```
#~/.gnupg/gpg-agent.conf
allow-preset-passphrase
batch
```
Reloading the agent via `gpg-connect-agent reloadagent /bye`, results in
> gpg-connect-agent: connection to agent is in restricted mode
> ERR 67109115 Forbidden <GPG Agent>
However I'm able to list, import and export keys fine? Is there some config
that needs to be updated so that the agent does not operate in restricted
mode?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241210/48d0a7b5/attachment-0001.html>
More information about the Gnupg-users
mailing list