Changing cipher preferences

Atom 'Smasher' atom-gpg at suspicious.org
Tue Mar 9 16:11:07 CET 2004


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

(CCing you in case this gets lost for a few days)

> I cannot make the the subcommand "updpref" to work. (Used when editing a key.)
> Nothing is changed.
>
> eg. updpref s9 s8 s3 s2
>
> The subcommand "setpref" works OK, but only for new userid:s.
>
> eg. setpref s9 s8 s3 s2


use "setpref x y z" then "updpref" then exit with either either "quit" or
"save". make sure you include ALL prefs, not just cipher prefs!


#############################################
$ gpg --edit-key test
gpg (GnuPG) 1.2.4; Copyright (C) 2003 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Secret key is available.

pub  1024D/4697BE6F  created: 2004-03-09 expires: never      trust: u/u
sub  1024g/98B94302  created: 2004-03-09 expires: never
(1). Just A Test (This key for demonstration only) <xxx at xxx.xxx>

Command> pref
pub  1024D/4697BE6F  created: 2004-03-09 expires: never      trust: u/u
(1). Just A Test (This key for demonstration only) <xxx at xxx.xxx>
     S9 S8 S7 S3 S2 H2 H3 Z2 Z1 [mdc]

Command> setpref s9 s8 s3 s2

Command> updpref
Current preference list: S9 S8 S3 S2 [mdc]
Really update the preferences? y

You need a passphrase to unlock the secret key for
user: "Just A Test (This key for demonstration only) <xxx at xxx.xxx>"
1024-bit DSA key, ID 4697BE6F, created 2004-03-09

gpg: DSA signature from: "4697BE6F Just A Test (This key for demonstration
only) <xxx at xxx.xxx>"

pub  1024D/4697BE6F  created: 2004-03-09 expires: never      trust: u/u
sub  1024g/98B94302  created: 2004-03-09 expires: never
(1). Just A Test (This key for demonstration only) <xxx at xxx.xxx>

Command> pref
pub  1024D/4697BE6F  created: 2004-03-09 expires: never      trust: u/u
(1). Just A Test (This key for demonstration only) <xxx at xxx.xxx>
     S9 S8 S3 S2 [mdc]

Command> quit
Save changes? y

#############################################


 	...atom

 _______________________________________________
 PGP key - http://smasher.suspicious.org/pgp.txt
 3EBE 2810 30AE 601D 54B2 4A90 9C28 0BBF 3D7D 41E3
 -------------------------------------------------

	"Glory is fleeting, but obscurity is forever."
		-- Napoleon Bonaparte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
Comment: What is this gibberish?  -  http://atom.smasher.org/links/#digital_signatures

iD8DBQFATjLvnCgLvz19QeMRAkr5AJwOClxl52PjGSzA7+A6//0B7ZgQTgCfUmCz
sgJPKYrtqpUQj5h6ArcjpL0=
=Sdqn
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list