1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

scd: New getinfo subcommand "manufacturer"

* scd/command.c (cmd_getinfo): Add subcommand "manufacturer".
* scd/app-openpgp.c (get_manufacturer): Rename to ...
(app_openpgp_manufacturer): this and make global.
--

Example:

  $ gpg-connect-agent 'scd getinfo manufacturer 42' /bye
  D Magrathea
  OK
This commit is contained in:
Werner Koch 2024-08-05 16:19:32 +02:00
parent f1e3a23d9e
commit a8cef7ebc2
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
3 changed files with 12 additions and 3 deletions

View file

@ -335,6 +335,7 @@ card_t app_do_with_keygrip (ctrl_t ctrl, int action, const char *keygrip_str,
/*-- app-openpgp.c --*/
gpg_error_t app_select_openpgp (app_t app);
const char *app_openpgp_manufacturer (unsigned int no);
/*-- app-nks.c --*/
gpg_error_t app_select_nks (app_t app);