bug report ^^
    Werner Koch 
    wk at gnupg.org
       
    Fri Sep 19 12:18:01 CEST 2003
    
    
  
On Thu, 18 Sep 2003 15:12:45 +0200 (CEST), Dico  said:
> and during key generation, a bug appears :
> gpg: Ohhhh jeeee: ... c'est un bug (keygen.c:1457:do_create)
> secmem usage: 1792/3200 bytes in 7/11 blocks of pool 3296/32768
A agree that we should have a regualar error message and not a bug.  
You problem is caused because you gave an symmetric algorithm instead
of an asymmetric (public key) algorithm.  Use RSA, ELG or DSA.
>    * sym algo are used just if we specify the command -c
No.  As almost every public key system, OpenPGP uses a hubrid scheme:
a random session key is used to encrypt the message using a symmetric
algorithm (e.g. AES) and that random session key is send along with
the message encrypted using an asymmetric algorithm like RSA.
If you use -c, only a symmetric algorithm is used and both parties
must agree on the key (passphrase) by other means.
-- 
Werner Koch                                      <wk at gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe	                 http://fsfeurope.org
    
    
More information about the Gnupg-devel
mailing list