From 88a916cdd40e43312ffcde6bb1c157fe1c122f74 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 31 Aug 1999 15:30:12 +0000 Subject: [PATCH] See ChangeLog: Tue Aug 31 17:20:44 CEST 1999 Werner Koch --- BUGS | 4 +- ChangeLog | 6 ++ NEWS | 11 ++- README | 10 +-- THOUGHTS | 2 +- TODO | 17 ++-- checks/ChangeLog | 5 ++ checks/defs.inc | 1 + configure.in | 34 ++++---- doc/DETAILS | 14 ++-- doc/FAQ | 2 +- doc/HACKING | 6 +- doc/OpenPGP | 2 +- doc/gpg.sgml | 17 ++-- g10/ChangeLog | 12 +++ g10/helptext.c | 6 +- g10/keyedit.c | 20 ++--- g10/keylist.c | 16 +++- g10/mainproc.c | 27 ++++--- g10/packet.h | 3 +- g10/plaintext.c | 47 ++++++----- include/ttyio.h | 1 + include/util.h | 3 +- util/ChangeLog | 11 +++ util/miscutil.c | 25 +++++- util/strgutil.c | 200 +++++++++++++++++++++++++++++++++-------------- util/ttyio.c | 23 ++++++ 27 files changed, 365 insertions(+), 160 deletions(-) diff --git a/BUGS b/BUGS index 43998969a..087fde475 100644 --- a/BUGS +++ b/BUGS @@ -30,8 +30,8 @@ and after about half a day in the rsync snapshots. [is this bug still alive? - can someone please check it] [ **] #6 1999-02-22 0.9.3 - Buserror on IRIX 6.4: Crash while doing a keygen. I think while creating - the prime. Other buserrors are reported when doing a "gpg README" + Bus error on IRIX 6.4: Crash while doing a keygen. I think while creating + the prime. Other bus errors are reported when doing a "gpg README" on sparc-solaris2.6. --> Solaris fixed. --> IRIX bug still there but someone should test this again! diff --git a/ChangeLog b/ChangeLog index 760f312dc..a7f2d7648 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Aug 31 17:20:44 CEST 1999 Werner Koch + + + * configure.in: Minor changes to the OS/2 and Mingw32 system labels. + Add a printable name for Hurd. + Mon Aug 30 20:38:33 CEST 1999 Werner Koch diff --git a/NEWS b/NEWS index ac834a1af..9a331119e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +Noteworthy changes in version 0.9.xx +------------------------------------ + + * UTF-8 strings are now correctly printed (if --charset is set correctly). + Output of --with-colons is remains C-style escaped UTF8. + + * Workaround for a problem with PGP 5 detached signature in textmode. + + Noteworthy changes in version 0.9.10 ------------------------------------ @@ -58,7 +67,7 @@ Noteworthy changes in version 0.9.7 ----------------------------------- * Add some work arounds for a bugs in pgp 2 which led to bad signatures - when used with canoncial texts in some cases. + when used with canonical texts in some cases. * Enhanced some status outputs. diff --git a/README b/README index 3c015a154..5d934b2f8 100644 --- a/README +++ b/README @@ -29,7 +29,7 @@ implementation of ElGamal signatures is *not* insecure). Symmetric algorithms are: 3DES, Blowfish, CAST5 and Twofish (GnuPG does not yet create Twofish encrypted messages because there no agreement - in the OpenPG WG on how to use it together with a MDC algorithm) + in the OpenPGP WG on how to use it together with a MDC algorithm) Digest algorithms available are MD5, RIPEMD160, SHA1, and TIGER/192. @@ -116,7 +116,7 @@ "pub 768R/0C9857A5 1995-09-30 Werner Koch " - The finperprint of this key is published in printed form in the + The fingerprint of this key is published in printed form in the "Global Trust Register for 1998", ISBN 0-9532397-0-5. @@ -130,7 +130,7 @@ fd9351b26b3189c1d577f0970f9dcadc gnupg-x.y.z.tar.gz Now check that this checksum is _exactly_ the same as the one - published via the anouncement list and probably via Usenet. + published via the announcement list and probably via Usenet. @@ -414,7 +414,7 @@ "+Heinrich Heine duesseldorf" - All words must match excatly (not case sensitive) and appear in + All words must match exactly (not case sensitive) and appear in any order in the user ID. Words are any sequences of letters, digits, the underscore and characters with bit 7 set. @@ -438,7 +438,7 @@ If you use the option "--batch", GnuPG runs in non-interactive mode and never prompts for input data. This does not even allow entering the passphrase. Until we have a better solution (something like ssh-agent), - you can use the option "--passphrase-fd n", which works like PGPs + you can use the option "--passphrase-fd n", which works like PGP's PGPPASSFD. Batch mode also causes GnuPG to terminate as soon as a BAD signature is diff --git a/THOUGHTS b/THOUGHTS index b073b5ff2..1ff9e92f1 100644 --- a/THOUGHTS +++ b/THOUGHTS @@ -23,7 +23,7 @@ conditional. more secure than swapping out to the swap disk? I don't believe so because if an attacker has access to the physical box (and he needs this to look at the swap area) he can also - leave a trojan horse which is far more easier than to analyze + leave a Trojan horse which is far more easier than to analyze memory dumps. Question: Is it possible that a Unix pages an old (left over by some other process) swap page in for another process - this should be considered a serious design diff --git a/TODO b/TODO index dfb71b4fe..d05abb406 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,4 @@ - * use-emmbeded-filename ist nicht dokumentiert. - - * --disable-asm should still assemble _udiv_qrnnd when needed - - * Skip RO keyrings when importing a key. - - * help the translaters to catch changes made to helptext.c - and tell that, that they have to translate those strings. - Scheduled for 1.1 ----------------- * With option -i prompt before adding a key to the keyring and show some @@ -22,10 +13,14 @@ Scheduled for 1.1 * print a warning when a revoked/expired _secret_ key is used. + * --disable-asm should still assemble _udiv_qrnnd when needed + + * Skip RO keyrings when importing a key. + Nice to have ------------ - * Offcial test vectors for 3DES-EDE3 + * Official test vectors for 3DES-EDE3 * use DEL and ^H for erasing the previous character (util/ttyio.c). or better readline. * Print a warning if the directory mode is wrong. @@ -48,7 +43,7 @@ Nice to have verification status of the message to the output (i.e. write something to the --output file and not only to stderr. * configure option where to find zlib - * Check the beginning of file to detect already compresssed files (gzip, + * Check the beginning of file to detect already compressed files (gzip, bzip2, xdelta and some picture formats) * Display more validity information about the user IDs at certain places. We need a more general function to extract such kind of info from the diff --git a/checks/ChangeLog b/checks/ChangeLog index d5520589e..8e043bf71 100644 --- a/checks/ChangeLog +++ b/checks/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 31 17:20:44 CEST 1999 Werner Koch + + + * defs.inc: set LC_ALL empty + Wed Aug 4 10:34:18 CEST 1999 Werner Koch diff --git a/checks/defs.inc b/checks/defs.inc index 058a23370..d5fdc8af7 100755 --- a/checks/defs.inc +++ b/checks/defs.inc @@ -28,6 +28,7 @@ exp_files="" # The testscripts expect the original language LANG= LANGUAGE= +LC_ALL= #-------------------------------- #------ utility functions ------- diff --git a/configure.in b/configure.in index eee8c76d6..e72e7be4d 100644 --- a/configure.in +++ b/configure.in @@ -179,12 +179,12 @@ fi try_gettext=yes try_gdbm=yes case "${target}" in - i386--mingw32) + *-*-mingw32) # special stuff for Windoze NT cross_compiling=yes - CC="i386--mingw32-gcc" - CPP="i386--mingw32-gcc -E" - RANLIB="i386--mingw32-ranlib" + CC="${target}-gcc" + CPP="${target}-gcc -E" + RANLIB="${target}-ranlib" ac_cv_have_dev_random=no AC_DEFINE(USE_ONLY_8DOT3) AC_DEFINE(HAVE_DRIVE_LETTERS) @@ -192,7 +192,7 @@ case "${target}" in try_gettext="no" try_gdbm="no" ;; - i386-emx-os2 | i[3456]86-pc-os2*emx ) + i?86-emx-os2 | i?86-*-os2*emx ) # OS/2 with the EMX environment ac_cv_have_dev_random=no AC_DEFINE(HAVE_DRIVE_LETTERS) @@ -201,7 +201,7 @@ case "${target}" in try_gdbm="no" ;; - i*86-*-msdosdjgpp*) + i?86-*-msdosdjgpp*) # DOS with the DJGPP environment ac_cv_have_dev_random=no AC_DEFINE(HAVE_DRIVE_LETTERS) @@ -238,18 +238,22 @@ fi case "${target}" in - i386--mingw32) + *-*-mingw32) PRINTABLE_OS_NAME="MingW32" ;; - i386-emx-os2 | i[3456]86-pc-os2*emx ) + i?86-emx-os2 | i?86-*-os2*emx ) PRINTABLE_OS_NAME="OS/2" ;; + i?86-*-msdosdjgpp*) + PRINTABLE_OS_NAME="MSDOS/DJGPP" + try_dynload=no + ;; *-linux*) PRINTABLE_OS_NAME="GNU/Linux" ;; - i*86-*-msdosdjgpp*) - PRINTABLE_OS_NAME="MSDOS/DJGPP" - try_dynload=no +dnl let that after linux to avoid gnu-linux problems + *-gnu*) + PRINTABLE_OS_NAME="GNU/Hurd" ;; *) PRINTABLE_OS_NAME=`uname -s || echo "Unknown"` @@ -482,16 +486,16 @@ if test "$use_static_rnd" = default; then static_modules="$static_modules rndlinux" else case "${target}" in - i386--mingw32) + *-*-mingw32) static_modules="$static_modules rndw32" ;; - i386-emx-os2|i[3456]86-pc-os2*emx) + i?86-emx-os2|i?86-*-os2*emx) static_modules="$static_modules rndos2" ;; m68k-atari-mint) static_modules="$static_modules rndatari" ;; - i*86-*-msdosdjgpp*) + i?86-*-msdosdjgpp*) static_modules="$static_modules" ;; *) @@ -525,7 +529,7 @@ if test "$print_egd_notice" = "yes"; then *** in Perl and available at the GnuPG FTP servers. For more information *** consult the GnuPG webpages: *** -*** http://www.gnupg.org/donwload.html#egd +*** http://www.gnupg.org/download.html#egd *** *** You may want to run ./configure with --enable-static-rnd=none to be *** able to load the EGD client code dynamically; this way you can choose diff --git a/doc/DETAILS b/doc/DETAILS index 67ca23c16..7c1e11edf 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -52,7 +52,7 @@ More fields may be added later. If field 1 has the tag "pkd", a listing looks like this: pkd:0:1024:B665B1435F4C2 .... FF26ABB: ! ! !-- the value - ! !------ for infomation number of bits in the value + ! !------ for information number of bits in the value !--------- index (eg. DSA goes from 0 to 3: p,q,g,y) @@ -97,7 +97,7 @@ more arguments in future versions. ENC_TO The message is encrypted to this keyid. keytype is the numerical value of the public key algorithm, - kenlength is the length of the key or 0 if it is not known + keylength is the length of the key or 0 if it is not known (which is currently always the case). NODATA @@ -147,7 +147,7 @@ more arguments in future versions. No passphrase was supplied. An application which encounters this message may want to stop parsing immediately because the next message will probably be a BAD_PASSPHRASE. However, if the application - is a wrapper around the key edit menu functionalty it might not + is a wrapper around the key edit menu functionality it might not make sense to stop parsing but simply ignoring the following PAD_PASSPHRASE. @@ -167,7 +167,7 @@ more arguments in future versions. The decryption process succeeded. This means, that either the correct secret key has been used or the correct passphrase for a conventional encrypted message was given. The program - itself may return an errorcode becuase it may not be possible to + itself may return an errorcode because it may not be possible to verify a signature for some reasons. NO_PUBKEY @@ -578,7 +578,7 @@ The standard http URL encoded query parameters are this (always key=value): are not searched for and the order of the words doesn't matter (but see next option). -- exact=on. This switch tells the hkp server to only report exact mathing +- exact=on. This switch tells the hkp server to only report exact matching keys back. In this case the order and the "delimiters" are important. - fingerprint=on. Also reports the fingerprints when used with 'index' or @@ -592,7 +592,7 @@ A better way to to this would be a request like: /pks/lookup/?op= -this can be implemented using Hurd's translater mechanism. -However, I think the whole key server stuff has to be re-thougth; +this can be implemented using Hurd's translator mechanism. +However, I think the whole key server stuff has to be re-thought; I have some ideas and probably create a white paper. diff --git a/doc/FAQ b/doc/FAQ index c879f93aa..aa8e0c4d7 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -333,7 +333,7 @@ the displayed charset is the one you have activated on your system "iso-8859-1" is the most used one, so this is the default. You can change the charset with the option "--charset". It is important that - you active characterset matches the one displayed - if not, restrict + you active character set matches the one displayed - if not, restrict yourself to plain 7 bit ASCII and no mapping has to be done. Q: How do I transfer owner trust values from PGP to GnuPG? diff --git a/doc/HACKING b/doc/HACKING index bc06a7064..6f4c9ffd8 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -46,7 +46,7 @@ of the CVS head revision is also available. See rsync(1) and try Special Tools ============= -Documention is based on the docbook DTD. Actually we have only the +Documentation is based on the docbook DTD. Actually we have only the man page for now. To build a man page you need the docbook-to-man tool and all the other thinks needed for SGML processing. Debian comes with the docbook tools and you only need this docbook-to-man @@ -203,7 +203,7 @@ How to use the cipher functions cipher/cipher.c implements the interface to symmetric encryption functions. As usual you have a function to open a cipher (which returns a handle to be used with all other functions), some functions to set the key and other stuff and -a encrypt and decrypt function which does the real work. YOu probably know +a encrypt and decrypt function which does the real work. You probably know how to work with files - so it should really be easy to work with these functions. Here is an example: @@ -211,7 +211,7 @@ functions. Here is an example: hd = cipher_open( CIPHER_ALGO_TWOFISH, CIPHER_MODE_CFB, 0 ); if( !hd ) - oops( use other funtion to check for the real error ); + oops( use other function to check for the real error ); rc = cipher_setkey( hd, key256bit, 32 ) ) if( rc ) oops( weak key or something like this ); diff --git a/doc/OpenPGP b/doc/OpenPGP index a32da4723..148032ad9 100644 --- a/doc/OpenPGP +++ b/doc/OpenPGP @@ -39,7 +39,7 @@ * PGP 5.x does not accept V4 signatures for anything other than key material. The GnuPG option --force-v3-sigs mimics this - behaviour. + behavior. * PGP 5.x does not recognize the "five-octet" lengths in new-format headers or in signature subpacket lengths. diff --git a/doc/gpg.sgml b/doc/gpg.sgml index b4f0873cb..a5595400f 100644 --- a/doc/gpg.sgml +++ b/doc/gpg.sgml @@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -->