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?
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to