Hi, You will be able to do that with the next 2.1 and 2.0 release For 2.1 this is commit b1d5ed6 and for 2.0 it is commit b2359db.
>From the 2.1 doc/DETAILS: When using a --command-fd controlled key generation or "addkey" there is way to know the number to enter on the "keygen.algo" prompt. The displayed numbers are for human reception and may change with releases. To provide a stable way to enter a desired algorithm choice the prompt also accepts predefined names for the algorithms, which will not change. | Name | No | Description | |---------+----+---------------------------------| | rsa+rsa | 1 | RSA and RSA (default) | | dsa+elg | 2 | DSA and Elgamal | | dsa | 3 | DSA (sign only) | | rsa/s | 4 | RSA (sign only) | | elg | 5 | Elgamal (encrypt only) | | rsa/e | 6 | RSA (encrypt only) | | dsa/* | 7 | DSA (set your own capabilities) | | rsa/* | 8 | RSA (set your own capabilities) | | ecc+ecc | 9 | ECC and ECC | | ecc/s | 10 | ECC (sign only) | | ecc/* | 11 | ECC (set your own capabilities) | | ecc/e | 12 | ECC (encrypt only) | | keygrip | 13 | Existing key | If one of the "foo/*" names are used a "keygen.flags" prompt needs to be answered as well. Instead of toggling the predefined flags, it is also possible to set them direct: Use a "=" character directly followed by a comination of "a" (for authentication), "s" (for signing), or "c" (for certification). ecc and keygrip are not available in 2.0. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users