git/list[1] front-page[2] threads[3] people[4] search[5] about
 

t7004-tag.sh fails (old gpg?)

From
SVSven Verdoolaege <skimo@kotnet.org>
Date
Jul 1, 2007, 12:49 UTC
Message-ID
<20070701124953.GH7969MdfPADPa@greensroom.kotnet.org>
t7004-tag.sh fails for me:
* expecting success: 
        git-tag -s -m "A signed tag message" signed-tag &&
        get_tag_msg signed-tag >actual &&
        git-diff expect actual
gpg: Warning: using insecure memory!
gpg: [don't know]: invalid packet (ctb=00)
gpg: read_keyblock: read error: invalid packet
gpg: enum_keyblocks failed: invalid keyring
gpg: skipped `C O Mitter <committer@example.com>': invalid keyring
gpg: signing failed: invalid keyring
failed to sign the tag with GPG.
* FAIL 49: creating a signed tag with -m message should succeed
                git-tag -s -m "A signed tag message" signed-tag &&
                get_tag_msg signed-tag >actual &&
                git-diff expect actual

I see that you alread check for presence of gpg, but maybe you should also check that it is recent enough. This is the version I have:

bash-3.00$ gpg --version gpg (GnuPG) 1.0.6 Copyright (C) 2001 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Cipher: 3DES, CAST5, BLOWFISH, RIJNDAEL, RIJNDAEL192, RIJNDAEL256, TWOFISH
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG
Hash: MD5, SHA1, RIPEMD160
skimo
Next: Johannes Schindelin
Message 1 of 10 in “t7004-tag.sh fails (old gpg?)”
  1. Sven VerdoolaegeJul 1, 2007
  2. Johannes SchindelinJul 1, 2007
  3. Sven VerdoolaegeJul 1, 2007
  4. Carlos RicaJul 1, 2007
  5. Sven VerdoolaegeJul 1, 2007
  6. Johannes SchindelinJul 1, 2007
  7. Sven VerdoolaegeJul 1, 2007
  8. Johannes SchindelinJul 1, 2007
  9. Sven VerdoolaegeJul 1, 2007
  10. Carlos RicaJul 1, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.