card: Allow PEM encoded certificates in "writecert".
authorWerner Koch <wk@gnupg.org>
Wed, 6 Mar 2019 11:40:45 +0000 (12:40 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 6 Mar 2019 11:40:45 +0000 (12:40 +0100)
commit4e1f04a4cd30859507218395e630e886801ae2b7
treeca45115a59bd9cc752d74e9633b750b0093c266c
parent772bba34ea089b3a00f0b1ea5138ba7422c95180
card: Allow PEM encoded certificates in "writecert".

* tools/gpg-card.c (cmd_writecert): Convert from base64.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/gpg-card.c