{"thread":{"id":"8793","subject":"t7004-tag.sh fails (old gpg?)","startedAt":"2007-07-01T12:49:53Z","lastAt":"2007-07-01T19:10:18Z","messageCount":10,"participants":["Sven Verdoolaege","Johannes Schindelin","Carlos Rica"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"46163","messageId":"20070701124953.GH7969MdfPADPa@greensroom.kotnet.org","threadId":"8793","inReplyTo":null,"subject":"t7004-tag.sh fails (old gpg?)","fromName":"Sven Verdoolaege","fromEmail":"skimo@kotnet.org","sentAt":"2007-07-01T12:49:53Z","receivedAt":"2007-07-01T12:49:53Z","isPatch":false,"sender":{"key":"skimo@kotnet.org","avatar":null},"body":"t7004-tag.sh fails for me:\n\n* expecting success: \n        git-tag -s -m \"A signed tag message\" signed-tag &&\n        get_tag_msg signed-tag >actual &&\n        git-diff expect actual\n\ngpg: Warning: using insecure memory!\ngpg: [don't know]: invalid packet (ctb=00)\ngpg: read_keyblock: read error: invalid packet\ngpg: enum_keyblocks failed: invalid keyring\ngpg: skipped `C O Mitter <committer@example.com>': invalid keyring\ngpg: signing failed: invalid keyring\nfailed to sign the tag with GPG.\n* FAIL 49: creating a signed tag with -m message should succeed\n\n                git-tag -s -m \"A signed tag message\" signed-tag &&\n                get_tag_msg signed-tag >actual &&\n                git-diff expect actual\n\nI see that you alread check for presence of gpg, but maybe\nyou should also check that it is recent enough.\nThis is the version I have:\n\nbash-3.00$ gpg --version\ngpg (GnuPG) 1.0.6\nCopyright (C) 2001 Free Software Foundation, Inc.\nThis program comes with ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions. See the file COPYING for details.\n\nHome: ~/.gnupg\nSupported algorithms:\nCipher: 3DES, CAST5, BLOWFISH, RIJNDAEL, RIJNDAEL192, RIJNDAEL256, TWOFISH\nPubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG\nHash: MD5, SHA1, RIPEMD160\n\nskimo\n"},{"id":"46169","messageId":"Pine.LNX.4.64.0707011507310.4438@racer.site","threadId":"8793","inReplyTo":"20070701124953.GH7969MdfPADPa@greensroom.kotnet.org","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-07-01T14:09:06Z","receivedAt":"2007-07-01T14:09:06Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sun, 1 Jul 2007, Sven Verdoolaege wrote:\n\n> gpg: Warning: using insecure memory!\n> gpg: [don't know]: invalid packet (ctb=00)\n> gpg: read_keyblock: read error: invalid packet\n> gpg: enum_keyblocks failed: invalid keyring\n> gpg: skipped `C O Mitter <committer@example.com>': invalid keyring\n> gpg: signing failed: invalid keyring\n\nThat means that gpg somehow barfs on the keyring. I somehow had the \nimpression that the keyrings were binary compatible on different \nsystems... What system do you have?\n\n> bash-3.00$ gpg --version\n> gpg (GnuPG) 1.0.6\n\nIt is 1.4.5 here.\n\n> Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG\n\nAFAIK DSA should suffice.\n\nCiao,\nDscho\n"},{"id":"46174","messageId":"20070701153443.GI7969MdfPADPa@greensroom.kotnet.org","threadId":"8793","inReplyTo":"Pine.LNX.4.64.0707011507310.4438@racer.site","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Sven Verdoolaege","fromEmail":"skimo@kotnet.org","sentAt":"2007-07-01T15:34:43Z","receivedAt":"2007-07-01T15:34:43Z","isPatch":false,"sender":{"key":"skimo@kotnet.org","avatar":null},"body":"On Sun, Jul 01, 2007 at 03:09:06PM +0100, Johannes Schindelin wrote:\n> Hi,\n> \n> On Sun, 1 Jul 2007, Sven Verdoolaege wrote:\n> \n> > gpg: Warning: using insecure memory!\n> > gpg: [don't know]: invalid packet (ctb=00)\n> > gpg: read_keyblock: read error: invalid packet\n> > gpg: enum_keyblocks failed: invalid keyring\n> > gpg: skipped `C O Mitter <committer@example.com>': invalid keyring\n> > gpg: signing failed: invalid keyring\n> \n> That means that gpg somehow barfs on the keyring. I somehow had the \n> impression that the keyrings were binary compatible on different \n> systems... What system do you have?\n\nA regular (old) Linux system:\n\nLinux greensroom 2.4.23 #3 SMP Mon Jan 5 14:14:32 CET 2004 i686 unknown unknown GNU/Linux\n\nskimo\n"},{"id":"46175","messageId":"1b46aba20707010845s69fd3915p8460392ad92bba4b@mail.gmail.com","threadId":"8793","inReplyTo":"Pine.LNX.4.64.0707011507310.4438@racer.site","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Carlos Rica","fromEmail":"jasampler@gmail.com","sentAt":"2007-07-01T15:45:37Z","receivedAt":"2007-07-01T15:45:37Z","isPatch":false,"sender":{"key":"jasampler@gmail.com","avatar":null},"body":"2007/7/1, Johannes Schindelin <Johannes.Schindelin@gmx.de>:\n> On Sun, 1 Jul 2007, Sven Verdoolaege wrote:\n>\n> > gpg: Warning: using insecure memory!\n> > gpg: [don't know]: invalid packet (ctb=00)\n> > gpg: read_keyblock: read error: invalid packet\n> > gpg: enum_keyblocks failed: invalid keyring\n> > gpg: skipped `C O Mitter <committer@example.com>': invalid keyring\n> > gpg: signing failed: invalid keyring\n>\n> That means that gpg somehow barfs on the keyring. I somehow had the\n> impression that the keyrings were binary compatible on different\n> systems... What system do you have?\n>\n> > bash-3.00$ gpg --version\n> > gpg (GnuPG) 1.0.6\n>\n> It is 1.4.5 here.\n\nI have gpg (GnuPG) 1.4.1 here, in the system I used to generate the key.\n"},{"id":"46177","messageId":"1b46aba20707010906s5b515419q48247801efe80515@mail.gmail.com","threadId":"8793","inReplyTo":"20070701153443.GI7969MdfPADPa@greensroom.kotnet.org","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Carlos Rica","fromEmail":"jasampler@gmail.com","sentAt":"2007-07-01T16:06:06Z","receivedAt":"2007-07-01T16:06:06Z","isPatch":false,"sender":{"key":"jasampler@gmail.com","avatar":null},"body":"> > On Sun, 1 Jul 2007, Sven Verdoolaege wrote:\n> >\n> > > gpg: Warning: using insecure memory!\n> > > gpg: [don't know]: invalid packet (ctb=00)\n> > > gpg: read_keyblock: read error: invalid packet\n> > > gpg: enum_keyblocks failed: invalid keyring\n> > > gpg: skipped `C O Mitter <committer@example.com>': invalid keyring\n> > > gpg: signing failed: invalid keyring\n\nI don't know if it could be due to the deleted t/t7004/trustdb.gpg file,\nyou can check the same including it (if you didn't get it already):\nhttp://article.gmane.org/gmane.comp.version-control.git/51271\n\nCan you verify the other tags, like those from Junio on each version?\n"},{"id":"46183","messageId":"20070701165301.GJ7969MdfPADPa@greensroom.kotnet.org","threadId":"8793","inReplyTo":"1b46aba20707010906s5b515419q48247801efe80515@mail.gmail.com","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Sven Verdoolaege","fromEmail":"skimo@kotnet.org","sentAt":"2007-07-01T16:53:01Z","receivedAt":"2007-07-01T16:53:01Z","isPatch":false,"sender":{"key":"skimo@kotnet.org","avatar":null},"body":"On Sun, Jul 01, 2007 at 06:06:06PM +0200, Carlos Rica wrote:\n> >> On Sun, 1 Jul 2007, Sven Verdoolaege wrote:\n> >>\n> >> > gpg: Warning: using insecure memory!\n> >> > gpg: [don't know]: invalid packet (ctb=00)\n> >> > gpg: read_keyblock: read error: invalid packet\n> >> > gpg: enum_keyblocks failed: invalid keyring\n> >> > gpg: skipped `C O Mitter <committer@example.com>': invalid keyring\n> >> > gpg: signing failed: invalid keyring\n> \n> I don't know if it could be due to the deleted t/t7004/trustdb.gpg file,\n> you can check the same including it (if you didn't get it already):\n> http://article.gmane.org/gmane.comp.version-control.git/51271\n\nDoesn't seem to have any effect.\n\n> Can you verify the other tags, like those from Junio on each version?\n\nApparently...\n\nbash-3.00$ git-cat-file blob junio-gpg-pub | gpg --import\ngpg: Warning: using insecure memory!\ngpg: key F3119B9A: public key imported\ngpg: Total number processed: 1\ngpg:               imported: 1\nbash-3.00$ git-verify-tag v1.5.2-rc2\ngpg: Warning: using insecure memory!\ngpg: Signature made Sun 06 May 2007 10:08:26 AM CEST using DSA key ID F3119B9A\ngpg: Good signature from \"[image of size 1532]\"\ngpg:                 aka \"Junio C Hamano <junkio@cox.net>\"\nCould not find a valid trust path to the key.  Let's see whether we\ncan assign some missing owner trust values.\n\nNo path leading to one of our keys found.\n\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg:          There is no indication that the signature belongs to the owner.\ngpg: Fingerprint: 3565 2A26 2040 E066 C9A7  4A7D C0C6 D9A4 F311 9B9A\nbash-3.00$ \n\nskimo\n"},{"id":"46185","messageId":"Pine.LNX.4.64.0707011903200.4438@racer.site","threadId":"8793","inReplyTo":"20070701165301.GJ7969MdfPADPa@greensroom.kotnet.org","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-07-01T18:06:43Z","receivedAt":"2007-07-01T18:06:43Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sun, 1 Jul 2007, Sven Verdoolaege wrote:\n\n> On Sun, Jul 01, 2007 at 06:06:06PM +0200, Carlos Rica wrote:\n>\n> > Can you verify the other tags, like those from Junio on each version?\n> \n> Apparently...\n\nCould you please try to import the attached keys into a new keyring? IOW\n\n\t$ mkdir test-gpg\n\t$ chown go-rwx test-gpg\n\t$ export GNUPGHOME=$(pwd)/test-gpg\n\t$ gpg --import pubkeys.asc\n\nAnd send me the resulting pubring.gpg and secring.gpg?\n\nIf you have a little more time, you could also put them in t/t7004/, and \ncheck t7004-tag.sh...\n\nCiao,\nDscho\n\n\n-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.5 (GNU/Linux)\n\nmQGiBEZnyykRBACzCPjIpTYNL7Y2tQqlEGTTDlvZcWNLjF5f7ZzuyOqNOidLUgFD\n36qch1LZLSZkShdR3Gae+bsolyjxrlFuFP0eXRPMtqK20aLw7WZvPFpEV1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36GAPKcn1vsLZ0TfE1q53jNpcAAXjgngnRsCjZm1mglqPD4ZfBpl+Hhnuc80fAR\nxsUPj+5c8KP2M+Rws4moaZRjVpd3KCi3ceflT/OjwnE9DzdhslCGTMA5n8cajAs2\noqAaQssefVf2prLQLGV9NB4Q3lFnKXdvipHMaAYAsW+iF7JkhTDVNuNGlufeSqUm\nigRBjTZXBcVd8sj8vDOCWKUfqxJyS+zRYcotn7QvpvcKAkc3ZGxntDHAIGLVp6ay\n+vrkV4Ren8BjFobl25Ruy6Abw+CgnTpuwYhJBBgRAgAJBQJGZ8tOAhsMAAoJEBO2\n9R7N3kMNwewAoJoZ/yJWSrCXX08A/q8KSX4ZfoBDAJ0Yxei/DHK9m5lXc2MPkMoK\nglpIKw==\n=XD5b\n-----END PGP PUBLIC KEY BLOCK-----\n"},{"id":"46188","messageId":"20070701182637.GL7969MdfPADPa@greensroom.kotnet.org","threadId":"8793","inReplyTo":"Pine.LNX.4.64.0707011903200.4438@racer.site","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Sven Verdoolaege","fromEmail":"skimo@kotnet.org","sentAt":"2007-07-01T18:26:38Z","receivedAt":"2007-07-01T18:26:38Z","isPatch":false,"sender":{"key":"skimo@kotnet.org","avatar":null},"body":"On Sun, Jul 01, 2007 at 07:06:43PM +0100, Johannes Schindelin wrote:\n> And send me the resulting pubring.gpg and secring.gpg?\n\nAttached.\n\n> If you have a little more time, you could also put them in t/t7004/, and \n> check t7004-tag.sh...\n\nDifferent...  (assuming I understand your request correctly)\n\n* expecting success: \n        git-tag -s -m \"A signed tag message\" signed-tag &&\n        get_tag_msg signed-tag >actual &&\n        git-diff expect actual\n\ngpg: Warning: using insecure memory!\ngpg: skipped `C O Mitter <committer@example.com>': secret key not available\ngpg: signing failed: secret key not available\nfailed to sign the tag with GPG.\n* FAIL 49: creating a signed tag with -m message should succeed\n\n                git-tag -s -m \"A signed tag message\" signed-tag &&\n                get_tag_msg signed-tag >actual &&\n                git-diff expect actual\n\nbash-3.00$ git diff\ndiff --git a/t/t7004/pubring.gpg b/t/t7004/pubring.gpg\nindex 83855fa..20e89c6 100644\nBinary files a/t/t7004/pubring.gpg and b/t/t7004/pubring.gpg differ\ndiff --git a/t/t7004/secring.gpg b/t/t7004/secring.gpg\nindex d831cd9..e69de29 100644\nBinary files a/t/t7004/secring.gpg and b/t/t7004/secring.gpg differ\n\nskimo\n\n\n"},{"id":"46189","messageId":"Pine.LNX.4.64.0707011929200.4438@racer.site","threadId":"8793","inReplyTo":"20070701182637.GL7969MdfPADPa@greensroom.kotnet.org","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-07-01T18:30:09Z","receivedAt":"2007-07-01T18:30:09Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sun, 1 Jul 2007, Sven Verdoolaege wrote:\n\n> On Sun, Jul 01, 2007 at 07:06:43PM +0100, Johannes Schindelin wrote:\n> > And send me the resulting pubring.gpg and secring.gpg?\n> \n> Attached.\n\nThanks.\n\n> > If you have a little more time, you could also put them in t/t7004/, and \n> > check t7004-tag.sh...\n> \n> Different...  (assuming I understand your request correctly)\n> \n> * expecting success: \n>         git-tag -s -m \"A signed tag message\" signed-tag &&\n>         get_tag_msg signed-tag >actual &&\n>         git-diff expect actual\n> \n> gpg: Warning: using insecure memory!\n> gpg: skipped `C O Mitter <committer@example.com>': secret key not available\n> gpg: signing failed: secret key not available\n\nAargh! I am a complete moron. Attached also the private key now.\n\nCiao,\nDscho\n\n�\u0001�\u0004Fg�)\u0011\u0004�\b�ȥ6\r/�6�\n�\u0010d�\u000e[�qcK�^_����:'KR\u0001Cߪ��R�-&dJ\u0017Q�f���(�(�Qn\u0014�\u001e]\u0013̶��Ѣ��fo<ZDWT�2w�=\u0012cb���l7/EU \u0002\u0019�e�PnS�n\u00121�#J#bZ\u000e�W6�S�I�\u0001�����~�v~��%��R�r�,�\u000f\u0003�\u0015,O3E��aI\u0011���\n\u0014�((F=\u00048+�\u000b���\u0018�F�%\u001b�h2Ν�F6E��ir�\u0019���a#��>}\u0016���2��[��4�ؕ��$�\u001f����{Ǩ��~u��\r��. h�\b-�xط\u0017�+�d��I����N�\"\r6�r\u0003�\u001aj��eJ\r$\u00076p�H~Ζ�s\u0016-�\u0011ڝ�m�(�'y�:��'H*&p����d�l����9�aFE�(\u0006��E���O��U\u00051\n;���\\�Xh'y\u0006(\u001ez��U\u0004�3����������\u0003\u001aJ\u0003���\u001dE�&�i!��u�\u0014�����t�̤u�\u001cQ�\u001d�\u001e�i�wڴ�\u0003\u000b��\"C O Mitter <committer@example.com>�^\u0004\u0013\u0011\u0002\u001e\u0005\u0002Fg�)\u0002\u001b\u0003\u0006\u000b\t\b\u0007\u0003\u0002\u0003\u0015\u0002\u0003\u0003\u0016\u0002\u0001\u0002\u001e\u0001\u0002\u0017�\n\t\u0010\u0013��\u001e��C\rt\u001d�����:��nc�뾨\u000fƿ�qC�C]�%p���L\u0007�Hة�כX�y�\u0002=\u0004Fg�N\u0010\bιy?S�� ��g�\fa�qE\f��+�\u000e\u0005-҉喙s���Y�[��v)�s\u0007���_t�>�H�WlvK�[|<�L�����s\u000f����ŝ\u0011��\u0003J��\u001dq��\u000e��(Xw��� ^�����ʱ����u�rO\u0007ӱ���\u000f���z�����a\u0006h�\u0016��ݑ���y�^cYQ���Y:�\u0018M��\u001c[t\u0010.\u001d�������d]0��\u0005u\t\t�!��1��\"\\�{ޛo����\u0012ف؍�\u001c\u0015���' ������r��\u0014�T]�\u0004b��_C��+)��� ������\u0004\r\b�b1\u001b?x���:�^c�e\u0005\u001b�\u0002�l�m������g���\u0010�\u0001o�\f�~��[�-�\u0013|Mj�xͥ�^8'�tl\n6f�h%���e�i����<��\u0011��\u000f��\\��3�p���i�cV�w((�q��O��q=\u000f7a�P�L�9��\u001a�\u000b6��\u001aB�\u001e}W����,e}4\u001e\u0010�Qg)wo���h\u0006�o�\u0017�d�0�6�F���J�&�\u0004A�6W\u0005�]����3�X�\u001f�\u0012rK��a�-��/��\n\u0002G7dlg�1� bէ�����W�^��c\u0016��۔nˠ\u001b�ࠝ:n�\u0001T\r@��]jn���4��Z��\u0012�R[��\u0017_�`���\u0017Ei�7!���L�\u001e\u0016��I\u0004\u0018\u0011\u0002\t\u0005\u0002Fg�N\u0002\u001b\f\n\t\u0010\u0013��\u001e��C\r����r�-\rbE��Q�W�\t���\r���\nϿ.�<-�a\u000b휾��\u001f�|�\u0002"},{"id":"46191","messageId":"20070701191018.GM7969MdfPADPa@greensroom.kotnet.org","threadId":"8793","inReplyTo":"Pine.LNX.4.64.0707011929200.4438@racer.site","subject":"Re: t7004-tag.sh fails (old gpg?)","fromName":"Sven Verdoolaege","fromEmail":"skimo@kotnet.org","sentAt":"2007-07-01T19:10:18Z","receivedAt":"2007-07-01T19:10:18Z","isPatch":false,"sender":{"key":"skimo@kotnet.org","avatar":null},"body":"On Sun, Jul 01, 2007 at 07:30:09PM +0100, Johannes Schindelin wrote:\n> Aargh! I am a complete moron. Attached also the private key now.\n\nOk... some progress...\n\n* expecting success: git-tag -v signed-tag\nobject 86e17e4ed4cddf9a4f960da789f8378f6ea1ff2b\ntype commit\ntag signed-tag\ntagger C O Mitter <committer@example.com> Thu Apr 7 15:13:13 2005 -0700\n\nA signed tag message\ngpg: Warning: using insecure memory!\ngpg: Signature made Sun Jul  1 19:08:37 2007 UTC using DSA key ID CDDE430D\ngpg: Good signature from \"C O Mitter <committer@example.com>\"\ngpg: NOTE: secret key CDDE430D is NOT protected.\ngpg: /home/skimo/src/git/t/trash/gpghome/trustdb.gpg: invalid file version 3\ngpg: fatal: /home/skimo/src/git/t/trash/gpghome/trustdb.gpg: invalid trustdb\nsecmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/16384\n* FAIL 50: verifying a signed tag should succeed\n        git-tag -v signed-tag\n\nskimo\n"}]}