insert new module

David Shaw dshaw at jabberwocky.com
Thu May 29 17:29:02 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, May 28, 2003 at 08:01:22PM +0000, Sergi Blanch i Torné wrote:

Robert Hansen has given a very good answer about language choice, but
I wanted to comment on this part:

> I read a about autotools and I made some modifications in makefiles. I made
> another modifies: in the 'cipher/pubkey.c:setup_pubkey_table' (not yet in
> 'g10/keygen.c').
> In 'include/cipher.h', I use the algorithm number '103'.
> It is necessary? What changes I need to do?

Algorithm number 103 is a good, and important, choice.  The public key
algorithm numbers from 100 to 110 are reserved for this sort of thing
(experimental or local use).  It is important to use this range so
that there is never a conflict between a GnuPG with your new algorithm
and other OpenPGP programs.

It sounds like you have a good handle on what needs to be done.
setup_pubkey_table is the place to modify to add a new public key
algorithm.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-cvs (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+1hlw4mZch0nhy8kRAtzbAKCdEB5v4yPB128+uhqrek+6+AEiswCeNV8n
dolorZF9TnyDYNisbzL/mBU=
=JJrv
-----END PGP SIGNATURE-----




More information about the Gnupg-devel mailing list