On Feb 23, 2014, at 10:54 AM, Laurent Jumet <[email protected]> wrote:

> 
> Hello David !
> 
> David Shaw <[email protected]> wrote:
> 
>>>   With 1.4.16, I suppose there is no way to change the size of the main
>>> key (actual 1024), isn't it?
>>>   I'm limited to RIPEMD160.
> 
>> If you're limited to using RIPEMD160 for some reason (or SHA-1, also a
>> 160-bit hash), then you are limited to a 1024-bit DSA key.  You are not
>> limited to using DSA though: you can make a RSA main key of whatever size
>> you desire, as RSA key sizes are not tied to the size of the hash.
> 
>    ...yes but I mean: I've a DSA 1024 key KeyID: 0xCFAF704C
>    Is there a way to upgrade to a 2048 key without changing main key KeyID: 
> 0xCFAF704C ?

No.  You can't add bits to a key, so the only way to do that is to make a new 
key, which would naturally give you a new key ID.  It is possible to generate 
many keys over and over until you randomly hit the key ID you want, but that 
could take a while.  It's not too bad to match the 32-bit (8-digit) key ID you 
see usually, but note that internally GnuPG uses 64 bits (16 digits) for most 
purposes, and no matter what you do, your fingerprint won't be the same in any 
case.

David


_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to