pub & sub

Newton Hammet newton@hammet.net
Wed Oct 23 00:40:02 2002


Nicolas Couture wrote:
> 
> 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

That isn't how it is used.

first you must enter the command 
'key N'

where 'N' is the number of the subkey you want to delete.

then enter 'delkey'.

then that should work.

Regards, Newton
> ---
> 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!
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users