aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-02-21 16:32:39 +0000
committerWerner Koch <[email protected]>2019-02-25 07:49:59 +0000
commit54c56230e305a38d6fd0c3bf1262172fd5fbcb87 (patch)
tree1f5d6cedc2ea806593d61bb7918c0edd2b06ad72 /tools/gpgconf-comp.c
parentagent: Fix for suggested Libgcrypt use. (diff)
downloadgnupg-54c56230e305a38d6fd0c3bf1262172fd5fbcb87.tar.gz
gnupg-54c56230e305a38d6fd0c3bf1262172fd5fbcb87.zip
sm: Fix certificate creation with key on card.
* sm/certreqgen.c (create_request): Fix for certmode. -- When using an existing key from a card for certificate signing (in contrast to the default of generating a CSR), the code tried to use the same key for signing instead of the Signing-Key parameter. It is perfectly okay to use the regular signing path via gpg-agent for certificate creation - only self-signed certificates with a key on the card require the direct use of the card key (via "SCD PKSIGN"). Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit c1000c673814e552923cf1361346d7dfeee55608)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions