GPG 1.0.7 problems

Timo Schulz
Thu May 9 22:53:01 2002

On Thu May 09 2002; 22:27, Kai Raven wrote:

> What are the arguments for the gpg --pref and --showpref command?
> C:\>gpg --pref
> gpg: Missing argument for option "--pref"
The arguments are the same as the output of "pref"

# gpg --edit-key opencdk
Command> pref
(1). OpenCDK test key (Only intended for test purposes!) <..>
     S7 S10 S3 S4 H3 H2 Z2 Z1 [mdc]

S means cipher, H means hash and Z means compression.

Command> setpref S10 S7 S3 S4 H3 H2 Z2 Z1
(permutes Twofish with AES)

Command> updpref

> Can i influence the used ciphers during key creation process with
> gpg --setpref `string' or after i have created a key?

Yes, you can modify the preferences for HASH/CIPHER/ZIP with
the "setpref" command.