pub & sub

Nicolas Couture nc@stormvault.net
Tue Oct 22 22:50:01 2002


On Tue, 2002-10-22 at 10:53, Newton Hammet wrote:
> Nicolas Couture wrote:
> > 
> > I curently has both pub and sub keys setted to 1024D :
> > 
> > pub  1024D/ ... .. .
> > sub  1024D/ ... .. .
> > 
> > I'd like to set my sub key to 2048g is it possible ?
> > 
> > How can I do it ?
> > 
> > Thanks.
> > 
> >   ------------------------------------------------------------------------
> >                        Name: signature.asc
> >    signature.asc       Type: application/pgp-signature
> >                 Description: This is a digitally signed message part
> 
> You can optionally delete the 1024D subkey... then do an addkey
> and select 2048-bit length.  You can't take the 1024D subkey and
> make it longer.
> 
> gpg --edit-key <keyid>
> 
> and follow the prompts...
> 

I tried your solution with half success:

---
remote@dimension:~$ gpg --list-key
...
pub  1024D/4C7461CF 2002-10-22 Nicolas Couture <nc@stormvault.net>
sub  1024g/87018F83 2002-10-22 [expires: 2006-06-20]
sub  2048g/9FDDA627 2002-10-22 [expires: 2006-06-20]
...
remote@dimension:~$ gpg --edit-key nc@stormvault.net
...
Secret key is available.

pub  1024D/4C7461CF  created: 2002-10-22 expires: 2006-06-20 trust: -/d
*** This key has been disabled
sub  1024g/87018F83  created: 2002-10-22 expires: 2006-06-20
sub  2048g/9FDDA627  created: 2002-10-22 expires: 2006-06-20
(1). Nicolas Couture <nc@stormvault.net>
---

I can not use delkey specifying the keyid 87018F83
---
Command> delkey 87018F83
You must select at least one key.
---

I even tried delkey nc@stormvault.net and it gave me the same error
message.

Thanks in advance!