diff options
author | Werner Koch <[email protected]> | 2022-11-02 09:40:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-11-02 09:41:50 +0000 |
commit | bd612f23607d2c4d4adbe3a3ddc28a1711f5308b (patch) | |
tree | 075cbf2a826b5952251bac3467ecf13df9aa916f /tests/gpgscm/scheme.c | |
parent | build: Update m4 files. (diff) | |
download | gnupg-bd612f23607d2c4d4adbe3a3ddc28a1711f5308b.tar.gz gnupg-bd612f23607d2c4d4adbe3a3ddc28a1711f5308b.zip |
agent: Avoid blanks in the ssh key's comment.
* agent/command-ssh.c (card_key_available): Replace blanks.
--
For managing the authorized_key file of ssh it is convenient if the
comment does not have any spaces. Thus we now return
cardno:FFFE_50FF3D01
instead of
cardno:FFFE 50FF3D01
Note that gpg --export-ssh-key uses the keyid as comment because it
does not known the S/N of the card. Gpg-agent however does not know
about OpenPGP and uses the s/n.
Diffstat (limited to 'tests/gpgscm/scheme.c')
0 files changed, 0 insertions, 0 deletions