1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00

New option, doc fix, typo fix.

This commit is contained in:
Werner Koch 2000-10-19 16:01:37 +00:00
parent c59e59069c
commit 83dd513710
25 changed files with 77 additions and 34 deletions

3
NEWS
View File

@ -1,3 +1,6 @@
* New option --ignore-crc-error
Noteworthy changes in version 1.0.4 (2000-10-17)
------------------------------------------------

1
THANKS
View File

@ -81,6 +81,7 @@ Karl Fogel kfogel@guanabana.onshore.com
Karsten Thygesen karthy@kom.auc.dk
Katsuhiro Kondou kondou@nec.co.jp
Kazu Yamamoto kazu@iijlab.net
Klaus Singvogel ks@caldera.de
Lars Kellogg-Stedman lars@bu.edu
L. Sassaman rabbi@quickie.net
Marco d'Itri md@linux.it

View File

@ -1,3 +1,12 @@
2000-10-19 Werner Koch <wk@gnupg.org>
* gpg.sgml: Fixed doc for --allow-non-selfsigned-uid.
Add entry for --ignore-crc-error.
2000-10-18 Werner Koch <wk@gnupg.org>
* OpenPGP: Dropped the paragraph that RSA is not implemented.
2000-10-14 Werner Koch <wk@gnupg.org>
* faq.raw: Add an answer to the problem of multiple signatures.

View File

@ -8,11 +8,7 @@
Compatibility Notes
===================
GnuPG (>0.4.5) is in compliance with RFC2440 despite these exceptions:
* (9.1) states that RSA SHOULD be implemented. This is not done
(except with an extension, usable outside the U.S.) due to
patent problems.
GnuPG (>=1.0.3) is in compliance with RFC2440 despite these exceptions:
* (9.2) states that IDEA SHOULD be implemented. This is not done
due to patent problems.
@ -21,7 +17,7 @@
All MAY features are implemented with this exception:
* multi-part armored messages are not supported.
MIME should be used instead.
MIME (rfc2015) should be used instead.
Most of the OPTIONAL stuff is implemented.

View File

@ -1193,8 +1193,9 @@ This option might not be implemented yet.
<varlistentry>
<term>--allow-non-selfsigned-uid</term>
<listitem><para>
Allow the import of keys with user IDs which are not self-signed.
This is only allows the import - key validation will fail and you
Allow the import of keys with user IDs which are not self-signed, but
have at least one signature.
This only allows the import - key validation will fail and you
have to check the validity of the key my other means. This hack is
needed for some German keys generated with pgp 2.6.3in. You should really
avoid using it, because OpenPGP has better mechanics to do separate signing
@ -1219,6 +1220,17 @@ be older than the key due to clock problems. This option makes these
checks just a warning.
</para></listitem></varlistentry>
<varlistentry>
<term>--ignore-crc-error</term>
<listitem><para>
The ASCII armor used by OpenPG is protected by a CRC checksum against
transmission errors. Sometimes it happens that the CRC gets mangled
somewhere on the transmission channel
but the actual content (which is anyway protected by
the OpenPGP protocol) is still okay. This options will let gpg ignore
CRC errors.
</para></listitem></varlistentry>
<varlistentry>
<term>--lock-once</term>

View File

@ -1,3 +1,12 @@
2000-10-19 Werner Koch <wk@gnupg.org>
* g10.c: New option --ignore-crc-error
* armor.c (invalid_crc): New.
(radix64_read): Act on new option.
* openfile.c (try_make_homedir): Klaus Singvogel fixed a stupid
error introduced on Sep 6th.
2000-10-18 Werner Koch <wk@gnupg.org>
* misc.c (print_cipher_algo_note): Don't print the note for AES.

View File

@ -590,6 +590,15 @@ fake_packet( armor_filter_context_t *afx, IOBUF a,
}
static int
invalid_crc(void)
{
if ( opt.ignore_crc_error )
return 0;
log_inc_errorcount();
return G10ERR_INVALID_ARMOR;
}
static int
radix64_read( armor_filter_context_t *afx, IOBUF a, size_t *retn,
@ -728,17 +737,17 @@ radix64_read( armor_filter_context_t *afx, IOBUF a, size_t *retn,
break; /* eof */
} while( ++idx < 4 );
if( c == -1 ) {
log_error(_("premature eof (in CRC)\n"));
rc = G10ERR_INVALID_ARMOR;
}
log_info(_("premature eof (in CRC)\n"));
rc = invalid_crc();
}
else if( idx != 4 ) {
log_error(_("malformed CRC\n"));
rc = G10ERR_INVALID_ARMOR;
log_info(_("malformed CRC\n"));
rc = invalid_crc();
}
else if( mycrc != afx->crc ) {
log_error(_("CRC error; %06lx - %06lx\n"),
log_info (_("CRC error; %06lx - %06lx\n"),
(ulong)afx->crc, (ulong)mycrc);
rc = G10ERR_INVALID_ARMOR;
rc = invalid_crc();
}
else {
rc = 0;

View File

@ -189,6 +189,7 @@ enum cmd_and_opt_values { aNull = 0,
oFastListMode,
oListOnly,
oIgnoreTimeConflict,
oIgnoreCrcError,
oShowSessionKey,
oOverrideSessionKey,
oNoRandomSeedFile,
@ -378,6 +379,7 @@ static ARGPARSE_OPTS opts[] = {
{ oFastListMode,"fast-list-mode", 0, "@" },
{ oListOnly, "list-only", 0, "@"},
{ oIgnoreTimeConflict, "ignore-time-conflict", 0, "@" },
{ oIgnoreCrcError, "ignore-crc-error", 0,"@" },
{ oShowSessionKey, "show-session-key", 0, "@" },
{ oOverrideSessionKey, "override-session-key", 2, "@" },
{ oNoRandomSeedFile, "no-random-seed-file", 0, "@" },
@ -928,6 +930,7 @@ main( int argc, char **argv )
case oFastListMode: opt.fast_list_mode = 1; break;
case oListOnly: opt.list_only=1; break;
case oIgnoreTimeConflict: opt.ignore_time_conflict = 1; break;
case oIgnoreCrcError: opt.ignore_crc_error = 1; break;
case oNoRandomSeedFile: use_random_seed = 0; break;
case oNoAutoKeyRetrieve: opt.auto_key_retrieve = 0; break;
case oShowSessionKey: opt.show_session_key = 1; break;

View File

@ -329,7 +329,7 @@ try_make_homedir( const char *fname )
if ( ( *defhome == '~'
&& ( strlen(fname) >= strlen (defhome+1)
&& !strcmp(fname+strlen(defhome+1)-strlen(defhome+1),
&& !strcmp(fname+strlen(fname)-strlen(defhome+1),
defhome+1 ) ))
|| ( *defhome != '~'
&& !compare_filenames( fname, defhome ) )
@ -345,7 +345,3 @@ try_make_homedir( const char *fname )
g10_exit(1);
}
}

View File

@ -90,6 +90,7 @@ struct {
int honor_http_proxy;
int fast_list_mode;
int ignore_time_conflict;
int ignore_crc_error;
int command_fd;
int auto_key_retrieve;
const char *override_session_key;

View File

@ -1,3 +1,7 @@
2000-10-19 Werner Koch <wk@gnupg.org>
Fixed a typo in all files.
2000-10-16 Werner Koch <wk@gnupg.org>
* de.po, de.glo: Updated.

View File

@ -2596,7 +2596,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr ""
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
#: g10/parse-packet.c:119

View File

@ -2703,7 +2703,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Experimentiermethoden sollten nicht benutzt werden!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"Diese Verschlüsselungsmethode taugt nicht mehr viel; verwenden Sie eine "
"stärker standardisierte Methode!\n"

View File

@ -2663,7 +2663,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Eksperimentaj metodoj ne estu uzataj!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr "æi tiu æifrad-metodo estas malrekomendata; bonvolu uzi pli normalan!\n"
#: g10/parse-packet.c:119

View File

@ -2694,7 +2694,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "¡No se deberían usar algoritmos experimentales!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"este algoritmo de cifrado está en desuso, considere el uso de uno más "
"estándar.\n"

View File

@ -2696,7 +2696,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Les algorithmes expérimentaux ne devraient pas être utilisés !\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"Cet algorithme de chiffrement est déconseillé; utilisez-en un\n"
"plus standard !\n"

View File

@ -2661,7 +2661,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Algoritma eksperimental sebaiknya tidak dipakai!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"algoritma cipher ini didepresiasi; silakan gunakan yang lebih standar!\n"

View File

@ -2678,7 +2678,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Gli algoritmi sperimentali non dovrebbero essere usati!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr "questo algoritmo di cifratura è deprecato; usane uno più standard!\n"
#: g10/parse-packet.c:119

View File

@ -2656,7 +2656,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "実験中のアルゴリズムは使用すべきではありません!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr "この暗号アルゴリズムは反対されています。一般的な方法を用いて下さい!\n"
#: g10/parse-packet.c:119

View File

@ -2698,7 +2698,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Experimentele algoritmes dienen niet gebruikt te worden!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr "dit versleutelalgoritme is verouderd; gebruik een meer algemene!\n"
#: g10/parse-packet.c:119

View File

@ -2706,7 +2706,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Nie należy używać algorytmów doświadczalnych!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"ten algorytm szyfrujący jest odradzany; proszę używać bardziej "
"standardowych!\n"

View File

@ -2704,7 +2704,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Algoritmos experimentais não devem ser usados!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"este algoritmo de criptografia é depreciado; por favor use algum\n"
"algoritmo padrão!\n"

View File

@ -2698,7 +2698,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr "Algoritmos experimentais não devem ser usados!\n"
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"este algoritmo de criptografia não é recomendado;\n"
"por favor use um algoritmo mais standard!\n"

View File

@ -2818,7 +2818,7 @@ msgid "Experimental algorithms should not be used!\n"
msgstr ""
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
#: g10/parse-packet.c:119

View File

@ -2721,7 +2721,7 @@ msgstr "Experimentella algoritmer b
# XXX
#: g10/misc.c:234
msgid "this cipher algorithm is depreciated; please use a more standard one!\n"
msgid "this cipher algorithm is deprecated; please use a more standard one!\n"
msgstr ""
"avråder från denna chifferalgoritm, använd istället en mer normal algoritm!\n"