summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--INSTALL47
-rw-r--r--Makefile.am3
-rw-r--r--README53
-rw-r--r--THANKS3
-rw-r--r--cipher/ChangeLog0
-rw-r--r--cipher/Makefile.in1
-rw-r--r--configure.in14
-rw-r--r--mpi/ChangeLog0
-rw-r--r--mpi/Makefile.in1
-rw-r--r--mpi/mpicoder.c2
-rw-r--r--mpi/mpiutil.c7
12 files changed, 103 insertions, 34 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d252659..ad764498 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,5 @@
-Tue Feb 10 11:57:23 1998 Werner Koch (wk@frodo)
-
- * ddd/hhhh:
+Fri Feb 13 19:43:41 1998 Werner Koch (wk@isil.d.shuttle.de)
+ * configure.in : Fixed zlib stuff
+ * Makefile.am: Likewise
diff --git a/INSTALL b/INSTALL
index c5242221..13ab8a52 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,3 +1,50 @@
+
+Please read the Basic Installation section somewhere below.
+
+Configure options for G10
+=========================
+
+--with-zlib Forces usage of the local zlib sources. Default is
+ to use the (sahred) library of the system.
+
+--without-nls Disable NLS support
+
+--enable-m-debug Compile with the integrated malloc debugging stuff.
+ This makes the program slower but is checks every
+ free operation and can be used to create statistics
+ of memory usage. If this option is used the program
+ option "--debug 32" displays every call to a a malloc
+ function (this makes the program *really* slow), the
+ option "--debug 128" displays a memory statistic after
+ the program run.
+
+Problems
+========
+
+If you have compile problems, use the configure options "--with-zlib" and
+"--without-nls".
+
+I cant check alls assembles files; so if you have problems assembling them
+(or the program crashes), simply delete the files in the mpi/<cpu> directory.
+The configure scripts may consider several subdirectories to get all
+available assembler files; be sure to delete the correct ones. The
+assembler replacements are in C and in mpi/generic; never delete udiv-qrnnd.S
+in any CPU directory, because there maybe no C substitute.
+Don't forget to delete "config.cache" and run "./config.status --recheck".
+
+
+
+
+Installation
+============
+G10 is not installed as suid:root; if you want to use it, do it manually
+(only g10, not g10maint).
+
+You have to create the ~/.g10 directory manually. Your first action after
+this should be to create a key pair: "g10 --gen-key".
+
+
+
Basic Installation
==================
diff --git a/Makefile.am b/Makefile.am
index c138df3c..9c07b765 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,10 +1,9 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = intl po util mpi cipher @ZLIB_SUBDIR@ tools g10
+SUBDIRS = intl po zlib util mpi cipher tools g10
EXTRA_DIST = VERSION
-
tar: clean
cd ..; tar czvf ~/bkup/g10-`date +%d%m`.tar.gz src
diff --git a/README b/README
index 91d3ac98..f5dc7a82 100644
--- a/README
+++ b/README
@@ -2,13 +2,24 @@
G10 - The GNU Encryption and Signing Tool
------------------------------------------
+ THIS IS ALPHA SOFTWARE, EXPECT BUGS AND UNIMPLEMENTED STUFF.
+ IT MAY HAPPEN THAT SOME DATA FORMATS OR PROGRAMM OPTIONS
+ CHANGE WITH THE NEXT VERSION.
- THIS IS VERSION IS ONLY A TEST VERSION ! YOU SHOULD NOT
- USE IT FOR OTHER PURPOSES THAN EVALUATING THE CURRENT CODE.
+ On a Linux box (version 2.x.x, alpha or x86 CPU) it should
+ work reliable. You may create your key on such a machine and
+ use it. Please verify the tar file; there is a PGP and a G10
+ signature available. My PGP key is well known and published in
+ the "Global Trust Register for 1998", ISBN 0-9532397-0-5.
- * The data format may change in the next version!
+ I have included my pubring as "g10/pubring.10", which contains
+ the key used to make G10 signatures:
+ "pub 1312G/FF3EAA0B 1998-02-09 Werner Koch <wk@isil.d.shuttle.de>"
+ "Key fingerprint = 8489 6CD0 1851 0E33 45DA CD67 036F 11B8 FF3E AA0B"
- * Some features are not yet implemented
+ You may add it to your G10 pubring and use it in the future to
+ verify new releases. Because you verified the tar file containing
+ this file here, you can be sure that the above fingerprint is correct.
Please subscribe to g10@net.lut.ac.uk by sending a mail with
@@ -42,11 +53,9 @@
Installation
------------
- 1) "./configure"
-
- to enable the integrated malloc debugging stuff, use:
+ See the file INSTALL. Here is a quick summary:
- "./configure --enable-m-debug"
+ 1) "./configure"
2) "make"
@@ -54,7 +63,10 @@
4) You end up with a binary "g10" in /usr/local/bin
- 5) create a directory ".g10" under your hoem directory ("mkdir ~/.g10")
+ 5) Optional, but suggested: install the program "g10" as suid root.
+
+ 6) Create a directory ".g10" under your home directory ("mkdir ~/.g10")
+
@@ -241,20 +253,20 @@
you are asked for the passphrase, so that G10 is able to look at the
inner structure of a encrypted packet.
- --quick-random
+ g10maint --quick-random
Do not use the stroing random generator but a faster one. This can be
used to generate keys for tests; those are marked as insecure.
- --list-trustdb
+ g10maint --list-trustdb
List the contents of the trustdb in a human readable format
- --list-trustdb <usernames>
+ g10maint --list-trustdb <usernames>
List the tree of certificates for the given usernames
- --list-trust-path depth username
+ g10maint --list-trust-path depth username
List the possible trust paths for the given username, up to the specified
depth. If depth is negative, duplicate introducers are not listed,
@@ -263,25 +275,25 @@
using a negative number). This option may create new entries in the
trustdb.
- --print-mds filenames
+ g10maint --print-mds filenames
List all available message digest values for the fiven filenames
- --gen-prime n
+ g10maint --gen-prime n
Generate and print a simple prime number of size n
- --gen-prime n q
+ g10maint --gen-prime n q
Generate a prime number suitable for ElGamal signatures of size n with
a q as largest primefactor of n-1.
- --gen-prime n q 1
+ g10maint --gen-prime n q 1
Ditto, but calculate a generator too.
- For more options/commands see the file g10/OPTIONS.
+ For more options/commands see the file g10/OPTIONS, or use "g10 --help"
Debug Flags
@@ -311,7 +323,10 @@
but for now I stick to my own formatting rules.
The primary FTP site is "ftp://ftp.guug.de/pub/gcrypt/"
- The primary WWW page is "http://www.d.shuttle.de/isil/g10.html"
+ The primary WWW page is "http://www.d.shuttle.de/isil/crypt/g10.html"
+
+ If you like, send your keys to <g10-keys@isil.d.shuttle.de>; use
+ "g10 --export --armor | mail g10-keys@isil.d.shuttle.de" to do this.
Please direct bug reports to <g10-bugs@isil.d.shuttle.de> or better
post them to the mailing list <g10@net.lut.ac.uk>.
diff --git a/THANKS b/THANKS
index 4f53c92f..315b7c18 100644
--- a/THANKS
+++ b/THANKS
@@ -9,7 +9,10 @@ Daniel Eisenbud eisenbud@cs.swarthmore.edu
Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de
Ernst Molitor ernst.molitor@uni-bonn.de
Hendrik Buschkamp buschkamp@rheumanet.org
+Jean-loup Gailly gzip@prep.ai.mit.edu
Jens Bachem bachem@rrz.uni-koeln.de
+Mark Adler madler@alumni.caltech.edu
+Martin Schulte schulte@thp.uni-koeln.de
Peter Gutmann pgut001@cs.auckland.ac.nz
Ralph Gillen gillen@theochem.uni-duesseldorf.de
Thomas Roessler roessler@guug.de
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/cipher/ChangeLog
diff --git a/cipher/Makefile.in b/cipher/Makefile.in
index aba727a9..b8fe2a1b 100644
--- a/cipher/Makefile.in
+++ b/cipher/Makefile.in
@@ -85,7 +85,6 @@ POSUB = @POSUB@
RANLIB = @RANLIB@
VERSION = @VERSION@
ZLIBS = @ZLIBS@
-ZLIB_SUBDIR = @ZLIB_SUBDIR@
INCLUDES = -I$(top_srcdir)/include
EXTRA_DIST = @CIPHER_EXTRA_DIST@
diff --git a/configure.in b/configure.in
index 33e1f2f1..1a29bf7a 100644
--- a/configure.in
+++ b/configure.in
@@ -162,26 +162,26 @@ AC_SUBST(MPI_EXTRA_ASM_OBJS)
dnl Do we have zlib? Must do it here because Solaris failed
dnl when compiling a conftest (due to the "-lz" from LIBS).
-ZLIBS=
-ZLIB_SUBDIR=
if test "$g10_force_zlib" = "yes"; then
- ZLIBS="\${top_srcdir}/zlib/libzlib.a"
- ZLIB_SUBDIR=zlib
+ ZLIBS="-L\${top_srcdir}/zlib -lzlib"
+ AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, true)
WK_LINK_FILES(zlib/zlib.h, zlib.h )
WK_LINK_FILES(zlib/zconf.h, zconf.h )
else
AC_CHECK_HEADERS(zlib.h)
if test "$ac_cv_header_zlib_h" = yes ; then
LIBS="$LIBS -lz"
+ ZLIBS=
+ AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, false)
else
- ZLIBS="\${top_srcdir}/zlib/libzlib.a"
- ZLIB_SUBDIR=zlib
+ ZLIBS="-L\${top_srcdir}/zlib -lzlib"
+ AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, true)
WK_LINK_FILES(zlib/zlib.h, zlib.h )
WK_LINK_FILES(zlib/zconf.h, zconf.h )
fi
fi
AC_SUBST(ZLIBS)
-AC_SUBST(ZLIB_SUBDIR)
+
dnl checking whether we have other cipher source files
CIPHER_EXTRA_OBJS=""
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mpi/ChangeLog
diff --git a/mpi/Makefile.in b/mpi/Makefile.in
index 3b34edee..87976eeb 100644
--- a/mpi/Makefile.in
+++ b/mpi/Makefile.in
@@ -85,7 +85,6 @@ POSUB = @POSUB@
RANLIB = @RANLIB@
VERSION = @VERSION@
ZLIBS = @ZLIBS@
-ZLIB_SUBDIR = @ZLIB_SUBDIR@
INCLUDES = -I$(top_srcdir)/include
diff --git a/mpi/mpicoder.c b/mpi/mpicoder.c
index bccb51ff..3daea767 100644
--- a/mpi/mpicoder.c
+++ b/mpi/mpicoder.c
@@ -118,7 +118,7 @@ mpi_read(IOBUF inp, unsigned *ret_nread, int secure)
leave:
if( nread > *ret_nread )
- log_error("Ooops: mpi crosses packet border");
+ log_bug("mpi crosses packet border");
else
*ret_nread = nread;
return val;
diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c
index 09be317f..3eb09f0c 100644
--- a/mpi/mpiutil.c
+++ b/mpi/mpiutil.c
@@ -35,6 +35,13 @@
#undef mpi_free
#endif
+/****************
+ * fixme: It was a bad idea to use the number of limbs to allocate
+ * because on a alpha the limbs are large but we normally need
+ * integers of n bits - So we should chnage this to bits (or bytes).
+ *
+ * But mpi_alloc is used in a lot of places :-)
+ */
MPI
#ifdef M_DEBUG
mpi_debug_alloc( unsigned nlimbs, const char *info )