Two questions

Joseph Oreste Bruni jbruni at
Fri Jun 22 19:54:23 CEST 2007

1. In your gpg.conf, you can specify a "digest-algo SHA256" which will set your default signature algorithm. The preferences in your key are used by others to determine which algorithms to use when sending messages to you. Not the other way around.

2. Your key ID will be a number (e.g. CD55 18C7) not your name. If the name you indicate matches more than one key, the first is assumed. The only way to exactly specify a key is by its (relativetly) unique key ID. I'm not sure if this answers your question. Here is another answer to your question with a different interpretation: If you have a key with multiple UID's and you want to change your primary UID, select the UID using "UID #" and then use the "primary" command from within the "--edit-key" menu.

PGP Fingerprint:
C54A C9DD 84AD C6FC D343  67C4 5195 D63A CD55 18C7

On Friday, June 22, 2007, at 08:47AM, "Andrew Berg" <bahamut at> wrote:
>Hash: RIPEMD160
>1. Why is it using RIPEMD160, when my preference is SHA256?
>> C:\Documents and Settings\backup\ThunderbirdPortable\App\gpg>gpg
>> --edit-key "Andrew Berg <bahamut at>" gpg (GnuPG)
>> 1.4.7; Copyright (C) 2006 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  2048R/60A78FCB  created: 2007-04-20  expires: 2012-04-18
>> usage: SCA trust: ultimate      validity: ultimate sub
>> 2048R/BBC5C9CF  created: 2007-04-20  expires: 2012-04-18  usage: E
>>  [ultimate] (1). Andrew Berg <bahamut at>
>> Command> showpref [ultimate] (1). Andrew Berg
>> <bahamut at> Cipher: AES256, AES192, AES, CAST5,
>> 3DES Digest: SHA256, RIPEMD160, SHA1 Compression: BZIP2, ZLIB, ZIP,
>>  Uncompressed Features: MDC, Keyserver no-modify
>> Command> pref [ultimate] (1). Andrew Berg
>> <bahamut at> S9 S8 S7 S3 S2 H8 H3 H2 Z3 Z2 Z1 [mdc]
>>  [no-ks-modify]
>Before, it even had the order of SHA1, SHA256, RIPEMD160. Is it a
>limitation of the key? If so, which hash do you recommend (I doubt
>I'll be signing anything big)?
>2. How do I make the key ID "Andrew Berg" mean my newer key for this
>address instead of my older one (bahamut at
>- --
>Windows NT 5.1.2600.2180 | Thunderbird | Enigmail 0.95.1 | GPG
>Key ID: 0x60A78FCB - available on major keyservers and upon request
>Fingerprint: 4A84 CAE2 A0D3 2AEB 71F6 07FD F88E 0340 60A7 8FCB
>Version: GnuPG v1.4.7 (MingW32)
>Comment: Using GnuPG with Mozilla -
>Gnupg-users mailing list
>Gnupg-users at

More information about the Gnupg-users mailing list