diff options
| author | Werner Koch <[email protected]> | 2020-02-11 13:49:11 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-02-11 13:49:11 +0000 |
| commit | d7d75da50543bc7259c5a6e6367b58cbca7f1b7b (patch) | |
| tree | 3ca62ba6efe6d31b2d8de2d144fc5a4bc71973a7 /agent/command.c | |
| parent | common: Extend the openpgp_curve_to_oid function. (diff) | |
| download | gnupg-d7d75da50543bc7259c5a6e6367b58cbca7f1b7b.tar.gz gnupg-d7d75da50543bc7259c5a6e6367b58cbca7f1b7b.zip | |
scd:openpgp: Allow auto-changing of the key attributes in genkey.
* scd/app-openpgp.c (struct app_local_s): Add field keyalgo.
(parse_algorithm_attribute): Store the new keyalgo field.
(change_keyattr): Change info message.
(change_keyattr_from_string): Rewrite to also accept a keyref and a
keyalgo string.
(do_genkey): Change the keyattr if a keyalgo string is given.
--
Having this feature makes it easier to use OpenPGP cards in a similar
way to other cards. Note that the explicit changing via SETATTR is
still supported.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'agent/command.c')
0 files changed, 0 insertions, 0 deletions
