mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
scd: Add option --info to emit KEYPAIRINFO by readkey command.
* scd/command.c (do_readkey): Implement this. * scd/app-help.c (app_help_get_keygrip_string_pk): Make HEXKEYGRIP parm optional. Add arg R_ALGOSTR. -- This patch basically mimics what we do in 2.3. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c2ba6bea4c
commit
b8df8321e1
3 changed files with 65 additions and 13 deletions
|
@ -208,7 +208,7 @@ unsigned int app_help_count_bits (const unsigned char *a, size_t len);
|
|||
gpg_error_t app_help_get_keygrip_string_pk (const void *pk, size_t pklen,
|
||||
char *hexkeygrip,
|
||||
gcry_sexp_t *r_pkey,
|
||||
int *r_algo);
|
||||
int *r_algo, char **r_algostr);
|
||||
gpg_error_t app_help_get_keygrip_string (ksba_cert_t cert, char *hexkeygrip,
|
||||
gcry_sexp_t *r_pkey, int *r_algo);
|
||||
gpg_error_t app_help_pubkey_from_cert (const void *cert, size_t certlen,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue