options to choose key preferences

Todd L. Brooks todd.brooks at yale.edu
Sun Jul 2 17:56:17 CEST 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have an idea for three new advanced user options:

- --signature-cipher-prefs
- --signature-digest-prefs
- --signature-compress-prefs

which would allow one to choose their own preferred algorithms when
creating or self-signing a key. Currently these preferences are hard
coded into the program and normally do not need to be changed, but
you could use, for example:

gpg --gen-key --signature-cipher-prefs="CAST5,IDEA,3DES" \
    --signature-digest-prefs=" " \
    --signature-compress-prefs=" " \
    --s2k-cipher-algo=CAST5 --s2k-digest-algo=SHA1

and you would have a key ready to be exported to and used on a machine running
pgp6.x.  This has been useful to me on a few occasions. Of course
these options could be used with --edit-key to add other user id's
with preferences of your choosing. Why shouldn't
an (advanced) user be allowed to choose their own key preferences?
There are options to control just about everything else (within the
limits of rfc2440).

I have added these options to my own personal version, and would be
happy to forward the patch if there is any interest in including it in
future releases.

What do you think?

Todd

- ---------------------------------------
Todd L. Brooks
Department of Mechanical Engineering
Yale University
New Haven, CT 06520-8286
- ---------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjlfdOIACgkQfLK86z2RNm8fyACg5JCjhr8eEBg13lMaOJRZrO6+
B6YAoJTD8pkanjAlLub/cz4IAB4H4OQh
=6JbX
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list