diff options
author | Werner Koch <wk@gnupg.org> | 2007-09-10 17:40:29 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-09-10 17:40:29 +0200 |
commit | 782e1bc00b88a634129b081bd82c7869df57d782 (patch) | |
tree | eff0e6cf14fff874f150ea315c3a3766c67b5b3a | |
parent | 2007-09-04 Moritz Schulte <moritz@g10code.com> (diff) | |
download | gnupg2-782e1bc00b88a634129b081bd82c7869df57d782.tar.xz gnupg2-782e1bc00b88a634129b081bd82c7869df57d782.zip |
Preparing 2.0.7gnupg-2.0.7
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | README.maint | 4 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | po/be.po | 6 | ||||
-rw-r--r-- | po/ca.po | 6 | ||||
-rw-r--r-- | po/cs.po | 6 | ||||
-rw-r--r-- | po/da.po | 6 | ||||
-rw-r--r-- | po/de.po | 6 | ||||
-rw-r--r-- | po/el.po | 6 | ||||
-rw-r--r-- | po/eo.po | 6 | ||||
-rw-r--r-- | po/es.po | 6 | ||||
-rw-r--r-- | po/et.po | 6 | ||||
-rw-r--r-- | po/fi.po | 6 | ||||
-rw-r--r-- | po/fr.po | 6 | ||||
-rw-r--r-- | po/gl.po | 6 | ||||
-rw-r--r-- | po/hu.po | 6 | ||||
-rw-r--r-- | po/id.po | 6 | ||||
-rw-r--r-- | po/it.po | 6 | ||||
-rw-r--r-- | po/ja.po | 6 | ||||
-rw-r--r-- | po/nb.po | 6 | ||||
-rw-r--r-- | po/pl.po | 6 | ||||
-rw-r--r-- | po/pt.po | 6 | ||||
-rw-r--r-- | po/pt_BR.po | 6 | ||||
-rw-r--r-- | po/ro.po | 6 | ||||
-rw-r--r-- | po/ru.po | 6 | ||||
-rw-r--r-- | po/sk.po | 6 | ||||
-rw-r--r-- | po/sv.po | 6 | ||||
-rw-r--r-- | po/tr.po | 6 | ||||
-rw-r--r-- | po/zh_CN.po | 6 | ||||
-rw-r--r-- | po/zh_TW.po | 6 | ||||
-rw-r--r-- | tools/ChangeLog | 2 | ||||
-rw-r--r-- | tools/gpgparsemail.c | 124 | ||||
-rw-r--r-- | tools/rfc822parse.c | 2 |
35 files changed, 172 insertions, 132 deletions
@@ -1,3 +1,7 @@ +2007-09-10 Werner Koch <wk@g10code.com> + + Released 2.0.7. + 2007-08-27 Werner Koch <wk@g10code.com> * configure.ac: Remove remaining support for internal regex. @@ -1,4 +1,4 @@ -Noteworthy changes in version 2.0.7 +Noteworthy changes in version 2.0.7 (2007-09-10) ------------------------------------------------ * Fixed encryption problem if duplicate certificates are in the diff --git a/README.maint b/README.maint index 2e56ace6a..3621fda11 100644 --- a/README.maint +++ b/README.maint @@ -30,8 +30,8 @@ Release process: * Run "./autogen.sh --force" (--force is required for the svn magic in configure.ac and a good idea in any case) - * Run configure as usual. - * Run "make distcheck" + * Run "configure --enable-maintainer-mode". + * Run "make distcheck". * Build and test the new tarball (best on a different machine). * Build and test the W32 version. * Using the final test build run a "make -C doc online". @@ -125,7 +125,7 @@ * Howtos ** Migrate OpenPGP keys to another system -* Duplicate certifciates +* Duplicate certificates This may happen and lead to an Ambiguous Name error. Solution is to check the certs for identity before throwing this error. diff --git a/configure.ac b/configure.ac index 578b7c14d..8a9873543 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,7 @@ min_automake_version="1.10" # Set my_issvn to "yes" for non-released code. Remember to run an # "svn up" and "autogen.sh" right before creating a distribution. m4_define([my_version], [2.0.7]) -m4_define([my_issvn], [yes]) +m4_define([my_issvn], [no]) m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \ @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.2.2\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2003-10-30 16:35+0200\n" "Last-Translator: Ales Nyakhaychyk <nab@mail.by>\n" "Language-Team: Belarusian <i18n@mova.org>\n" @@ -664,7 +664,7 @@ msgstr "дрэнны пароль" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "памылка стварэньня \"%s\": %s\n" @@ -7545,7 +7545,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -27,7 +27,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.4.0\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2005-02-04 02:04+0100\n" "Last-Translator: Jordi Mallach <jordi@gnu.org>\n" "Language-Team: Catalan <ca@dodds.net>\n" @@ -700,7 +700,7 @@ msgstr "canvia la contrasenya" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "error en la creació de la contrasenya: %s\n" @@ -8134,7 +8134,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg-1.3.92\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-11-26 09:12+0200\n" "Last-Translator: Roman Pavlik <rp@tns.cz>\n" "Language-Team: Czech <translations.cs@gnupg.cz>\n" @@ -676,7 +676,7 @@ msgstr "zmnit heslo" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "chyba pi vytven hesla: %s\n" @@ -7815,7 +7815,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.0.0h\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2003-12-03 16:11+0100\n" "Last-Translator: Birger Langkjer <birger.langkjer@image.dk>\n" "Language-Team: Danish <dansk@klid.dk>\n" @@ -669,7 +669,7 @@ msgstr "ndr kodestningen" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "fejl ved oprettelse af kodestning: %s\n" @@ -7700,7 +7700,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg-2.0.6\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2007-08-29 18:51+0200\n" "Last-Translator: Walter Koch <koch@u32.de>\n" "Language-Team: German <de@li.org>\n" @@ -688,7 +688,7 @@ msgstr "Die Passphrase ändern" msgid "I'll change it later" msgstr "Ich werde sie später ändern" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, c-format msgid "error creating a pipe: %s\n" msgstr "Fehler beim Erzeugen einer \"Pipe\": %s\n" @@ -7907,7 +7907,7 @@ msgstr "Konfiguration der zu nutzenden LDAP-Server" msgid "Configuration for OCSP" msgstr "Konfiguration zu OCSP" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "Beachten Sie, daß Gruppenspezifiaktionen ignoriert werden\n" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg-1.1.92\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2003-06-27 12:00+0200\n" "Last-Translator: Dokianakis Theofanis <madf@hellug.gr>\n" "Language-Team: Greek <nls@tux.hellug.gr>\n" @@ -674,7 +674,7 @@ msgstr " " msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr " : %s\n" @@ -7988,7 +7988,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.0.6d\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2002-04-14 14:33+0100\n" "Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n" "Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n" @@ -674,7 +674,7 @@ msgstr "ani la pasfrazon" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "eraro dum kreado de pasfrazo: %s\n" @@ -7934,7 +7934,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.4.1\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2007-08-16 11:35+0200\n" "Last-Translator: Jaime Surez <jsuarez@ono.com>\n" "Language-Team: Spanish <es@li.org>\n" @@ -705,7 +705,7 @@ msgstr "cambia la frase contrasea" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "error creando frase contrasea: %s\n" @@ -7862,7 +7862,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.2.2\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-06-17 11:04+0300\n" "Last-Translator: Toomas Soome <Toomas.Soome@microlink.ee>\n" "Language-Team: Estonian <et@li.org>\n" @@ -673,7 +673,7 @@ msgstr "muuda parooli" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "viga parooli loomisel: %s\n" @@ -7893,7 +7893,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.2.2\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-06-16 22:40+0300\n" "Last-Translator: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>\n" "Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n" @@ -690,7 +690,7 @@ msgstr "muuta salasanaa" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "virhe luotaessa salasanaa: %s\n" @@ -7972,7 +7972,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.4.2rc2\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2005-06-28 00:24+0200\n" "Last-Translator: Gal Quri <gael@lautre.net>\n" "Language-Team: French <traduc@traduc.org>\n" @@ -690,7 +690,7 @@ msgstr "changer la phrase de passe" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "erreur pendant la cration de la phrase de passe: %s\n" @@ -8019,7 +8019,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.2.4\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2003-12-04 11:39+0100\n" "Last-Translator: Jacobo Tarrio <jtarrio@trasno.net>\n" "Language-Team: Galician <gpul-traduccion@ceu.fi.udc.es>\n" @@ -678,7 +678,7 @@ msgstr "cambia-lo contrasinal" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "erro ao crea-lo contrasinal: %s\n" @@ -7983,7 +7983,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.2.5\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-06-19 21:53+0200\n" "Last-Translator: Nagy Ferenc Lszl <nfl@nfllab.com>\n" "Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n" @@ -673,7 +673,7 @@ msgstr "jelszvltoztats" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "Hiba a jelsz ltrehozsakor: %s.\n" @@ -7934,7 +7934,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg-id\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-06-17 16:32+0700\n" "Last-Translator: Tedi Heriyanto <tedi_h@gmx.net>\n" "Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n" @@ -675,7 +675,7 @@ msgstr "ubah passphrase" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "kesalahan penciptaan passphrase: %s\n" @@ -7936,7 +7936,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.1.92\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-06-16 17:01+0200\n" "Last-Translator: Marco d'Itri <md@linux.it>\n" "Language-Team: Italian <tp@lists.linux.it>\n" @@ -673,7 +673,7 @@ msgstr "cambia la passphrase" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "errore nella creazione della passhprase: %s\n" @@ -7982,7 +7982,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.3.92\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-11-23 11:14+0900\n" "Last-Translator: IIDA Yosiaki <iida@gnu.org>\n" "Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n" @@ -676,7 +676,7 @@ msgstr "ѥե졼ѹ" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "ѥե졼κ顼: %s\n" @@ -7749,7 +7749,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.4.3\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2006-06-13 20:31+0200\n" "Last-Translator: Trond Endrestl <Trond.Endrestol@fagskolen.gjovik.no>\n" "Language-Team: Norwegian Bokml <i18n-nb@lister.ping.uio.no>\n" @@ -671,7 +671,7 @@ msgstr "endre passfrasen" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "feil ved opprettelse av passfrase: %s\n" @@ -7618,7 +7618,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg-1.2.2\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-06-23 15:54+0200\n" "Last-Translator: Janusz A. Urbanowicz <alex@bofh.net.pl>\n" "Language-Team: Polish <pl@li.org>\n" @@ -684,7 +684,7 @@ msgstr "zmiana hasa klucza" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "bd podczas tworzenia hasa: %s\n" @@ -7979,7 +7979,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2002-09-13 18:26+0100\n" "Last-Translator: Pedro Morais <morais@kde.org>\n" "Language-Team: pt <morais@kde.org>\n" @@ -677,7 +677,7 @@ msgstr "muda a frase secreta" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "erro na criao da frase secreta: %s\n" @@ -7950,7 +7950,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index c7c2e4073..38dd8eb43 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.0\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2007-08-16 11:35+0200\n" "Last-Translator:\n" "Language-Team: ?\n" @@ -678,7 +678,7 @@ msgstr "muda a frase secreta" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "erro na criao da frase secreta: %s\n" @@ -7902,7 +7902,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.4.2rc1\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2005-05-31 22:00-0500\n" "Last-Translator: Laurentiu Buzdugan <lbuz@rolix.org>\n" "Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n" @@ -682,7 +682,7 @@ msgstr "schimb fraza-parol" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "eroare la crearea frazei-parol: %s\n" @@ -7843,7 +7843,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: GnuPG 2.0.0\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2006-11-07 19:31+0300\n" "Last-Translator: Maxim Britov <maxim.britov@gmail.com>\n" "Language-Team: Russian <gnupg-ru@gnupg.org>\n" @@ -660,7 +660,7 @@ msgstr "сменить фразу-пароль" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, c-format msgid "error creating a pipe: %s\n" msgstr "" @@ -7703,7 +7703,7 @@ msgstr "Настройки LDAP серверов" msgid "Configuration for OCSP" msgstr "Настройки OCSP" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.2.5\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2004-07-20 15:52+0200\n" "Last-Translator: Michal Majer <mmajer@econ.umb.sk>\n" "Language-Team: Slovak <sk-i18n@lists.linux.sk>\n" @@ -674,7 +674,7 @@ msgstr "zmeni heslo" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "chyba pri vytvran hesla: %s\n" @@ -7954,7 +7954,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 2.0\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2007-02-17 13:13+0100\n" "Last-Translator: Daniel Nylander <po@danielnylander.se>\n" "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" @@ -695,7 +695,7 @@ msgstr "ändra en lösenfras" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, c-format msgid "error creating a pipe: %s\n" msgstr "fel när ett rör skapades: %s\n" @@ -7916,7 +7916,7 @@ msgstr "Konfiguration av LDAP-servrar som ska användas" msgid "Configuration for OCSP" msgstr "Konfiguration för OCSP" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.9.94\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2006-11-04 03:45+0200\n" "Last-Translator: Nilgün Belma Bugüner <nilgun@belgeler.gen.tr>\n" "Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n" @@ -665,7 +665,7 @@ msgstr "anahtar parolası değiştirir" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, c-format msgid "error creating a pipe: %s\n" msgstr "boru oluşturulurken hata: %s\n" @@ -7791,7 +7791,7 @@ msgstr "Kullanılacak LDAP sunucularının yapılandırması" msgid "Configuration for OCSP" msgstr "OCSP için yapılandırma" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index 3ddfeae25..7727fa245 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.4.4\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2006-07-02 10:58+0800\n" "Last-Translator: Meng Jie <zuxyhere@eastday.com>\n" "Language-Team: Chinese (simplified) <i18n-translation@lists.linux.net.cn>\n" @@ -680,7 +680,7 @@ msgstr "更改密码" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "生成密码的时候发生错误:%s\n" @@ -7651,7 +7651,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" diff --git a/po/zh_TW.po b/po/zh_TW.po index 62b5f2473..cc52500f1 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: gnupg 1.4.2\n" "Report-Msgid-Bugs-To: translations@gnupg.org\n" -"POT-Creation-Date: 2007-08-29 18:43+0200\n" +"POT-Creation-Date: 2007-09-10 17:28+0200\n" "PO-Revision-Date: 2005-07-29 09:49+0800\n" "Last-Translator: Jedi <Jedi@Jedi.org>\n" "Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n" @@ -676,7 +676,7 @@ msgstr "更改密語" msgid "I'll change it later" msgstr "" -#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1313 +#: common/exechelp.c:371 common/exechelp.c:459 tools/gpgconf-comp.c:1340 #, fuzzy, c-format msgid "error creating a pipe: %s\n" msgstr "建立密語的時候發生錯誤: %s\n" @@ -7691,7 +7691,7 @@ msgstr "" msgid "Configuration for OCSP" msgstr "" -#: tools/gpgconf-comp.c:2955 +#: tools/gpgconf-comp.c:2982 msgid "Note that group specifications are ignored\n" msgstr "" diff --git a/tools/ChangeLog b/tools/ChangeLog index 26db7b768..2273b2c5d 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -9,6 +9,8 @@ 2007-08-31 Werner Koch <wk@g10code.com> + * gpgparsemail.c: Support PGP/MIME signed messages. + * gpgconf-comp.c (gc_component_list_components): List the programs names. diff --git a/tools/gpgparsemail.c b/tools/gpgparsemail.c index 9001b4511..525c604ba 100644 --- a/tools/gpgparsemail.c +++ b/tools/gpgparsemail.c @@ -1,5 +1,5 @@ /* gpgparsemail.c - Standalone crypto mail parser - * Copyright (C) 2004 Free Software Foundation, Inc. + * Copyright (C) 2004, 2007 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -64,7 +64,9 @@ struct parse_info_s { int is_pkcs7; /* Old style S/MIME message. */ - int gpgsm_mime; /* gpgsm shall be used from S/MIME. */ + int moss_state; /* State of PGP/MIME or S/MIME parsing. */ + int is_smime; /* This is S/MIME and not PGP/MIME. */ + char *signing_protocol; int hashing_level; /* The nesting level we are hashing. */ int hashing; @@ -167,7 +169,6 @@ run_gnupg (int smime, int sig_fd, int data_fd, int *close_list) int i, c, is_status; unsigned int pos; char status_buf[10]; - const char *cmd = smime? "gpgsm":"gpg"; FILE *fp; if (pipe (rp) == -1) @@ -218,15 +219,25 @@ run_gnupg (int smime, int sig_fd, int data_fd, int *close_list) close (fd); errno = 0; - execlp (cmd, cmd, - "--enable-special-filenames", - "--status-fd", "2", - "--assume-base64", - "--verify", - "--", - "-", data_fd == -1? NULL : data_fd_buf, - NULL); - + if (smime) + execlp ("gpgsm", "gpgsm", + "--enable-special-filenames", + "--status-fd", "2", + "--assume-base64", + "--verify", + "--", + "-", data_fd == -1? NULL : data_fd_buf, + NULL); + else + execlp ("gpg", "gpg", + "--enable-special-filenames", + "--status-fd", "2", + "--verify", + "--debug=512", + "--", + "-", data_fd == -1? NULL : data_fd_buf, + NULL); + die ("failed to exec the crypto command: %s", strerror (errno)); } @@ -323,7 +334,7 @@ verify_signature (struct parse_info_s *info) /* rewind (info->sig_file); */ close_list[0] = -1; - run_gnupg (1, fileno (info->sig_file), + run_gnupg (info->is_smime, fileno (info->sig_file), info->hash_file ? fileno (info->hash_file) : -1, close_list); } @@ -342,14 +353,27 @@ mime_signed_begin (struct parse_info_s *info, rfc822parse_t msg, if (s) { printf ("h signed.protocol: %s\n", s); - if (!strcmp (s, "application/pkcs7-signature") - || !strcmp (s, "application/x-pkcs7-signature")) + if (!strcmp (s, "application/pgp-signature")) + { + if (info->moss_state) + err ("note: ignoring nested PGP/MIME or S/MIME signature"); + else + { + info->moss_state = 1; + info->is_smime = 0; + free (info->signing_protocol); + info->signing_protocol = xstrdup (s); + } + } + else if (!strcmp (s, "application/pkcs7-signature") + || !strcmp (s, "application/x-pkcs7-signature")) { - if (info->gpgsm_mime) - err ("note: ignoring nested pkcs7-signature"); + if (info->moss_state) + err ("note: ignoring nested PGP/MIME or S/MIME signature"); else { - info->gpgsm_mime = 1; + info->moss_state = 1; + info->is_smime = 1; free (info->signing_protocol); info->signing_protocol = xstrdup (s); } @@ -435,6 +459,30 @@ message_cb (void *opaque, rfc822parse_event_t event, rfc822parse_t msg) if (debug) show_event (event); + + if (event == RFC822PARSE_BEGIN_HEADER || event == RFC822PARSE_T2BODY) + { + /* We need to check here whether to start collecting signed data + because attachments might come without header lines and thus + we won't see the BEGIN_HEADER event. */ + if (info->moss_state == 1) + { + printf ("c begin_hash\n"); + info->hashing = 1; + info->hashing_level = info->nesting_level; + info->moss_state++; + + if (opt_crypto) + { + assert (!info->hash_file); + info->hash_file = tmpfile (); + if (!info->hash_file) + die ("failed to create temporary file: %s", strerror (errno)); + } + } + } + + if (event == RFC822PARSE_OPEN) { /* Initialize for a new message. */ @@ -453,18 +501,19 @@ message_cb (void *opaque, rfc822parse_event_t event, rfc822parse_t msg) { printf ("h media: %*s%s %s\n", info->nesting_level*2, "", s1, s2); - if (info->gpgsm_mime == 3) + if (info->moss_state == 3) { char *buf = xmalloc (strlen (s1) + strlen (s2) + 2); strcpy (stpcpy (stpcpy (buf, s1), "/"), s2); assert (info->signing_protocol); if (strcmp (buf, info->signing_protocol)) - err ("invalid S/MIME structure; expected `%s', found `%s'", + err ("invalid %s structure; expected `%s', found `%s'", + info->is_smime? "S/MIME":"PGP/MIME", info->signing_protocol, buf); else { printf ("c begin_signature\n"); - info->gpgsm_mime++; + info->moss_state++; if (opt_crypto) { assert (!info->sig_file); @@ -490,12 +539,14 @@ message_cb (void *opaque, rfc822parse_event_t event, rfc822parse_t msg) } else printf ("h media: %*s none\n", info->nesting_level*2, ""); - + rfc822parse_release_field (ctx); } else printf ("h media: %*stext plain [assumed]\n", info->nesting_level*2, ""); + + info->show_header = 0; info->show_data = 1; info->skip_show = 1; @@ -528,36 +579,18 @@ message_cb (void *opaque, rfc822parse_event_t event, rfc822parse_t msg) else printf ("b last\n"); - if (info->gpgsm_mime == 2 && info->nesting_level == info->hashing_level) + if (info->moss_state == 2 && info->nesting_level == info->hashing_level) { printf ("c end_hash\n"); - info->gpgsm_mime++; + info->moss_state++; info->hashing = 0; } - else if (info->gpgsm_mime == 4) + else if (info->moss_state == 4) { printf ("c end_signature\n"); info->verify_now = 1; } } - else if (event == RFC822PARSE_BEGIN_HEADER) - { - if (info->gpgsm_mime == 1) - { - printf ("c begin_hash\n"); - info->hashing = 1; - info->hashing_level = info->nesting_level; - info->gpgsm_mime++; - - if (opt_crypto) - { - assert (!info->hash_file); - info->hash_file = tmpfile (); - if (!info->hash_file) - die ("failed to create temporary file: %s", strerror (errno)); - } - } - } return 0; } @@ -634,7 +667,8 @@ parse_message (FILE *fp) info.hash_file = NULL; fclose (info.sig_file); info.sig_file = NULL; - info.gpgsm_mime = 0; + info.moss_state = 0; + info.is_smime = 0; info.is_pkcs7 = 0; } else @@ -760,6 +794,6 @@ main (int argc, char **argv) /* Local Variables: -compile-command: "gcc -Wall -g -o gpgparsemail rfc822parse.c gpgparsemail.c" +compile-command: "gcc -Wall -Wno-pointer-sign -g -o gpgparsemail rfc822parse.c gpgparsemail.c" End: */ diff --git a/tools/rfc822parse.c b/tools/rfc822parse.c index efa197dda..8fbe3c283 100644 --- a/tools/rfc822parse.c +++ b/tools/rfc822parse.c @@ -1251,6 +1251,6 @@ main (int argc, char **argv) /* Local Variables: -compile-command: "gcc -Wall -g -DTESTING -o rfc822parse rfc822parse.c" +compile-command: "gcc -Wall -Wno-pointer-sign -g -DTESTING -o rfc822parse rfc822parse.c" End: */ |