Changing my preferences

Andrew McDonald andrew@mcdonald.org.uk
Fri, 12 Jan 2001 18:23:30 +0000


On Fri, Jan 12, 2001 at 10:48:34AM +0100, Werner Koch wrote:
[snip]

> The far easiest way to change the preferences is by editing
> g10/keygen.c, function keygen_add_std_prefs() where you find this:
>
> buf[0] = CIPHER_ALGO_RIJNDAEL;
> buf[1] = CIPHER_ALGO_TWOFISH;
> buf[2] = CIPHER_ALGO_CAST5;
> buf[3] = CIPHER_ALGO_BLOWFISH;
> build_sig_subpkt( sig, SIGSUBPKT_PREF_SYM, buf, 4 );
>
> Easy to change.
>
> The go to the edit menu and change the expireation time for the main
> key ("expire"). This create the new preferences. You may want to
> change the expiration time back to the old value immediatley after
> that.
I just tried this (to change my preferences to the new default 7/10/3/4). It worked, but initially I thought it hadn't since the 'pref' command still showed the old preferences. It did show the new preferences when I saved it and went back into edit-key. It looks like gpg notices the preferences when you first go into editing the key, but doesn't notice the change when the self-signature is recreated. Andrew -- Andrew McDonald E-mail: andrew@mcdonald.org.uk http://www.mcdonald.org.uk/andrew/ -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org