mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
card: Improve openpgp key writing in "writecert".
* tools/card-keys.c (struct export_key_status_parm_s): New. (export_key_status_cb): New. (get_minimal_openpgp_key): New. * tools/gpg-card.c (cmd_writecert): Allow writing a keyblock directly from an existing gpg key. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
48251cf9a7
commit
4f6e0e12cb
3 changed files with 114 additions and 4 deletions
|
@ -195,6 +195,7 @@ void flush_keyblock_cache (void);
|
|||
gpg_error_t get_matching_keys (const unsigned char *keygrip, int protocol,
|
||||
keyblock_t *r_keyblock);
|
||||
gpg_error_t test_get_matching_keys (const char *hexgrip);
|
||||
gpg_error_t get_minimal_openpgp_key (estream_t *r_key, const char *fingerprint);
|
||||
|
||||
|
||||
/*-- card-misc.c --*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue