You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Justin Mason (JIRA)" <ji...@apache.org> on 2007/03/16 16:24:09 UTC
[jira] Created: (INFRA-1195) gpg broken on people.apache.org
gpg broken on people.apache.org
-------------------------------
Key: INFRA-1195
URL: https://issues.apache.org/jira/browse/INFRA-1195
Project: Infrastructure
Issue Type: Bug
Security Level: public (Regular issues)
Reporter: Justin Mason
gpg --homedir /home/jm/sabuildtools/sasigningkey -bsa Mail-SpamAssassin-3.2.0-pre3.tar.bz2
gpg: WARNING: unsafe permissions on homedir `/home/jm/sabuildtools/sasigningkey'
You need a passphrase to unlock the secret key for
user: "SpamAssassin Signing Key <re...@spamassassin.org>"
1024-bit DSA key, ID 265FA05B, created 2003-06-09
gpg-agent[18148]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory'
gpg-agent[18148]: can't connect to the PIN entry module: IPC connect call failed
gpg-agent[18148]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: no default secret key: General error
gpg: signing failed: General error
You can also demo this by running:
echo > tst
gpg -bsa tst
This used to work; looks like someone modifed the gpg binary in /usr/local/bin/gpg on March 5th, presumably via an upgrade.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (INFRA-1195) gpg signing broken on
people.apache.org
Posted by "Justin Mason (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481737 ]
Justin Mason commented on INFRA-1195:
-------------------------------------
ick. I see your point, but this'll require a rewrite of our release process. no fun :(
(in the meantime, I've compiled a copy of gnupg 1.4.7 in my ~)
> gpg signing broken on people.apache.org
> ---------------------------------------
>
> Key: INFRA-1195
> URL: https://issues.apache.org/jira/browse/INFRA-1195
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Justin Mason
>
> gpg --homedir /home/jm/sabuildtools/sasigningkey -bsa Mail-SpamAssassin-3.2.0-pre3.tar.bz2
> gpg: WARNING: unsafe permissions on homedir `/home/jm/sabuildtools/sasigningkey'
> You need a passphrase to unlock the secret key for
> user: "SpamAssassin Signing Key <re...@spamassassin.org>"
> 1024-bit DSA key, ID 265FA05B, created 2003-06-09
> gpg-agent[18148]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory'
> gpg-agent[18148]: can't connect to the PIN entry module: IPC connect call failed
> gpg-agent[18148]: command get_passphrase failed: No pinentry
> gpg: problem with the agent: No pinentry
> gpg: no default secret key: General error
> gpg: signing failed: General error
> You can also demo this by running:
> echo > tst
> gpg -bsa tst
> This used to work; looks like someone modifed the gpg binary in /usr/local/bin/gpg on March 5th, presumably via an upgrade.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (INFRA-1195) gpg signing broken on
people.apache.org
Posted by "Justin Mason (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mason updated INFRA-1195:
--------------------------------
Summary: gpg signing broken on people.apache.org (was: gpg broken on people.apache.org)
(hmm. updated summary line; it's probably not all use of gpg that's broken, but signing certainly is)
> gpg signing broken on people.apache.org
> ---------------------------------------
>
> Key: INFRA-1195
> URL: https://issues.apache.org/jira/browse/INFRA-1195
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Justin Mason
>
> gpg --homedir /home/jm/sabuildtools/sasigningkey -bsa Mail-SpamAssassin-3.2.0-pre3.tar.bz2
> gpg: WARNING: unsafe permissions on homedir `/home/jm/sabuildtools/sasigningkey'
> You need a passphrase to unlock the secret key for
> user: "SpamAssassin Signing Key <re...@spamassassin.org>"
> 1024-bit DSA key, ID 265FA05B, created 2003-06-09
> gpg-agent[18148]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory'
> gpg-agent[18148]: can't connect to the PIN entry module: IPC connect call failed
> gpg-agent[18148]: command get_passphrase failed: No pinentry
> gpg: problem with the agent: No pinentry
> gpg: no default secret key: General error
> gpg: signing failed: General error
> You can also demo this by running:
> echo > tst
> gpg -bsa tst
> This used to work; looks like someone modifed the gpg binary in /usr/local/bin/gpg on March 5th, presumably via an upgrade.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (INFRA-1195) gpg signing broken on
people.apache.org
Posted by "Justin Mason (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481655 ]
Justin Mason commented on INFRA-1195:
-------------------------------------
a new package called 'pinentry' is now a requirement of gpg, apparently, though not a build-req (god only knows why not).
ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.7.2.tar.gz
it requires libiconv, in turn. what a mess...
> gpg signing broken on people.apache.org
> ---------------------------------------
>
> Key: INFRA-1195
> URL: https://issues.apache.org/jira/browse/INFRA-1195
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Justin Mason
>
> gpg --homedir /home/jm/sabuildtools/sasigningkey -bsa Mail-SpamAssassin-3.2.0-pre3.tar.bz2
> gpg: WARNING: unsafe permissions on homedir `/home/jm/sabuildtools/sasigningkey'
> You need a passphrase to unlock the secret key for
> user: "SpamAssassin Signing Key <re...@spamassassin.org>"
> 1024-bit DSA key, ID 265FA05B, created 2003-06-09
> gpg-agent[18148]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory'
> gpg-agent[18148]: can't connect to the PIN entry module: IPC connect call failed
> gpg-agent[18148]: command get_passphrase failed: No pinentry
> gpg: problem with the agent: No pinentry
> gpg: no default secret key: General error
> gpg: signing failed: General error
> You can also demo this by running:
> echo > tst
> gpg -bsa tst
> This used to work; looks like someone modifed the gpg binary in /usr/local/bin/gpg on March 5th, presumably via an upgrade.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (INFRA-1195) gpg signing broken on
people.apache.org
Posted by "Joe Schaefer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481733 ]
Joe Schaefer commented on INFRA-1195:
-------------------------------------
3 hours of dependency-compiling-hell later, pinentry fails
to compile:
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../assuan -I../secmem -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall -O2 -pipe -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT pinentry.o -MD -MP -MF ".deps/pinentry.Tpo" -c -o pinentry.o pinentry.c; then mv -f ".deps/pinentry.Tpo" ".deps/pinentry.Po"; else rm -f ".deps/pinentry.Tpo"; exit 1; fi
pinentry.c: In function `pinentry_parse_opts':
pinentry.c:297: error: elements of array `opts' have incomplete type
...
So here's why I give up at this point: you're not supposed to be
signing stuff on minotaur- private pgp keys should be kept offsite
for security reasons.
> gpg signing broken on people.apache.org
> ---------------------------------------
>
> Key: INFRA-1195
> URL: https://issues.apache.org/jira/browse/INFRA-1195
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Justin Mason
>
> gpg --homedir /home/jm/sabuildtools/sasigningkey -bsa Mail-SpamAssassin-3.2.0-pre3.tar.bz2
> gpg: WARNING: unsafe permissions on homedir `/home/jm/sabuildtools/sasigningkey'
> You need a passphrase to unlock the secret key for
> user: "SpamAssassin Signing Key <re...@spamassassin.org>"
> 1024-bit DSA key, ID 265FA05B, created 2003-06-09
> gpg-agent[18148]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory'
> gpg-agent[18148]: can't connect to the PIN entry module: IPC connect call failed
> gpg-agent[18148]: command get_passphrase failed: No pinentry
> gpg: problem with the agent: No pinentry
> gpg: no default secret key: General error
> gpg: signing failed: General error
> You can also demo this by running:
> echo > tst
> gpg -bsa tst
> This used to work; looks like someone modifed the gpg binary in /usr/local/bin/gpg on March 5th, presumably via an upgrade.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (INFRA-1195) gpg signing broken on
people.apache.org
Posted by "Joe Schaefer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Schaefer resolved INFRA-1195.
---------------------------------
Resolution: Fixed
I upgraded gpg to 2.03, it may work or it may not.
> gpg signing broken on people.apache.org
> ---------------------------------------
>
> Key: INFRA-1195
> URL: https://issues.apache.org/jira/browse/INFRA-1195
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Justin Mason
>
> gpg --homedir /home/jm/sabuildtools/sasigningkey -bsa Mail-SpamAssassin-3.2.0-pre3.tar.bz2
> gpg: WARNING: unsafe permissions on homedir `/home/jm/sabuildtools/sasigningkey'
> You need a passphrase to unlock the secret key for
> user: "SpamAssassin Signing Key <re...@spamassassin.org>"
> 1024-bit DSA key, ID 265FA05B, created 2003-06-09
> gpg-agent[18148]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory'
> gpg-agent[18148]: can't connect to the PIN entry module: IPC connect call failed
> gpg-agent[18148]: command get_passphrase failed: No pinentry
> gpg: problem with the agent: No pinentry
> gpg: no default secret key: General error
> gpg: signing failed: General error
> You can also demo this by running:
> echo > tst
> gpg -bsa tst
> This used to work; looks like someone modifed the gpg binary in /usr/local/bin/gpg on March 5th, presumably via an upgrade.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.