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" <[EMAIL PROTECTED]> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>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 <[EMAIL PROTECTED]>" 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 <[EMAIL PROTECTED]>
>>
>> Command> showpref [ultimate] (1). Andrew Berg
>> <[EMAIL PROTECTED]> 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
>> <[EMAIL PROTECTED]> 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 ([EMAIL PROTECTED])?
>
>- --
>Windows NT 5.1.2600.2180 | Thunderbird 2.0.0.4 | Enigmail 0.95.1 | GPG
>1.4.7
>Key ID: 0x60A78FCB - available on major keyservers and upon request
>Fingerprint: 4A84 CAE2 A0D3 2AEB 71F6 07FD F88E 0340 60A7 8FCB
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.7 (MingW32)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
>iQEVAwUBRnvuEviOA0Bgp4/LAQMYsQf+JGh/gepHUN7xRS4F1NgqgUARO38sSDne
>oCN+0dG3ss4muxoNrufhbYjREm6D4ucpOulaGgLb8T5atLP44CL+hCFBfoHJzqRR
>zYmiyDUa5oX28H7DaS1WuTvSwo16McqpA8kd3WxgeaYSOFvStGr5/CXG6ZAI8iQa
>ZXZxDar7jQLzM1FhaNuFeHmZpatMaI/6rFbdEjatoBYcJyY/lkb/xsSBqy5cg7PE
>i7jnU3l9BTbb/CF2cV7RG3B/gVRHrHy1D6T/Tt9Ot90g4N1J+UMHj8a0kt/Lntyc
>SwbwJMGByzAt7WPqhjmsW8idmDzraDTZ9+6ckUGokbB2rq/UjFqDvA==
>=00g3
>-----END PGP SIGNATURE-----
>
>
>_______________________________________________
>Gnupg-users mailing list
>Gnupg-users@gnupg.org
>http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
>

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to