<div dir="ltr">Posted on discourse but seems like the list is the right place to ask:<br><br>I have a client at 2.3 and a gpg-agent at 2.2.27 connected via ssh<br>remote forwarding. However I cannot list secret keys (see detail). Is<br>there a way for me to put this client into an accessibility mode so<br>that the older agent will recognize the IPC commands? It is very hard<br>for me to upgrade either client or agent in this case.<br><br><a href="https://forum.gnupg.org/t/rectify-agent-client-mismatch-listing-secret-keys-with-forwarded-agent/5789" target="_blank">https://forum.gnupg.org/t/rectify-agent-client-mismatch-listing-secret-keys-with-forwarded-agent/5789</a><br><br>Output follows, thank you!<br><br>--- John<br><br>$ gpg --list-secret-keys --debug lookup,ipc,filter<br>gpg: reading options from '[cmdline]'<br>gpg: enabled debug flags: filter ipc lookup<br>gpg: DBG: keydb_search: 1 search descriptions:<br>gpg: DBG: keydb_search   0: FIRST<br>gpg: DBG: internal_keydb_search: searching keybox (resource 0 of 1)<br>gpg: DBG: internal_keydb_search: searched keybox (resource 0 of 1) => Success<br>gpg: DBG: chan_5 <- OK Pleased to meet you, process 35850<br>gpg: DBG: connection to the gpg-agent established<br>gpg: DBG: chan_5 -> RESET<br>gpg: DBG: chan_5 <- OK<br>gpg: DBG: chan_5 -> OPTION ttyname=/dev/pts/0<br>gpg: DBG: chan_5 <- ERR 67109115 Forbidden <GPG Agent><br>gpg: DBG: chan_5 -> GETINFO restricted<br>gpg: DBG: chan_5 <- OK<br>gpg: DBG: chan_5 -> GETINFO version<br>gpg: DBG: chan_5 <- D 2.2.27<br>gpg: DBG: chan_5 <- OK<br>gpg: WARNING: server 'gpg-agent' is older than us (2.2.27 < 2.3.3)<br>gpg: Note: Outdated servers may lack important security fixes.<br>gpg: Note: Use the command "gpgconf --kill all" to restart them.<br>gpg: DBG: chan_5 -> OPTION allow-pinentry-notify<br>gpg: DBG: chan_5 <- ERR 67109115 Forbidden <GPG Agent><br>gpg: DBG: chan_5 -> OPTION agent-awareness=2.1.0<br>gpg: DBG: chan_5 <- OK<br>gpg: DBG: chan_5 -> HAVEKEY --list=1000<br>gpg: DBG: chan_5 <- ERR 67109144 IPC parameter error <GPG Agent> -<br>invalid hexstring<br>gpg: problem with fast path key listing: IPC parameter error - ignored<br>gpg: DBG: chan_5 -> HAVEKEY <key1> <key2> <key3><br>gpg: DBG: chan_5 <- ERR 67108881 No secret key <GPG Agent><br>gpg: DBG: keydb_search: 1 search descriptions:<br>gpg: DBG: keydb_search   0: NEXT<br>gpg: DBG: internal_keydb_search: searching keybox (resource 0 of 1)<br>gpg: DBG: internal_keydb_search: searched keybox (resource 0 of 1) => EOF<br>gpg: secmem usage: 0/65536 bytes in 0 blocks</div>