diff options
| author | Werner Koch <[email protected]> | 2025-11-17 14:26:03 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2025-11-17 14:27:30 +0000 |
| commit | c254d4fbc6ac444cd089daedeb01392d4d78c4c7 (patch) | |
| tree | 72bd0a9898762abd8706f4ade1024e3043d34f94 | |
| parent | gpg: Support passphrase change for composite keys. (diff) | |
| download | gnupg-c254d4fbc6ac444cd089daedeb01392d4d78c4c7.tar.gz gnupg-c254d4fbc6ac444cd089daedeb01392d4d78c4c7.zip | |
gpg: Fix export in mode1003 when cache nonce is used.
* g10/call-agent.c (agent_export_key): Add missing space.
--
GnuPG-bug-id: 7315
Fixes-commit: e5473262e88473a101241e7b4860882ebeb1ed97
Unfortunately I only tested with a offline primary key and thus no
cache nonce was used.
| -rw-r--r-- | g10/call-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index a1a48c75c..614eaefe2 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -3236,7 +3236,7 @@ agent_export_key (ctrl_t ctrl, const char *hexkeygrip, const char *desc, snprintf (line, DIM(line), "EXPORT_KEY %s%s%s %s", mode1003? "--mode1003" : openpgp_protected ? "--openpgp ":"", - cache_nonce_addr && *cache_nonce_addr? "--cache-nonce=":"", + cache_nonce_addr && *cache_nonce_addr? " --cache-nonce=":"", cache_nonce_addr && *cache_nonce_addr? *cache_nonce_addr:"", hexkeygrip); |
