Re: Nocat gpg problem
David Post <[email protected]>
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
David Post wrote: > I too have this problem: > [Fri Nov 26 15:15:25 2004] [error] [client [snip]] [2004-11-26 > 15:15:25] User UNKNOWN from [snip] requests form > [Fri Nov 26 15:15:48 2004] [error] [client [snip]] [2004-11-26 > 15:15:48] User UNKNOWN from [snip] requests form, referer: https:[snip] > [Fri Nov 26 15:15:48 2004] [error] [client [snip]] [2004-11-26 > 15:15:48] gpg --sign --armor > --homedir=/usr/local/nocat/cgi-bin//../pgp --keyring trustedkeys.gpg > --no-tty -o- returned error message:, referer: https:[snip] > [Fri Nov 26 15:15:48 2004] [error] [client [snip]] gpg: Sorry, no > terminal at all requested - can't get input, referer: https:[snip] > [Fri Nov 26 15:15:48 2004] [error] [client [snip]] [2004-11-26 > 15:15:48] gpg --sign --armor > --homedir=/usr/local/nocat/cgi-bin//../pgp --keyring trustedkeys.gpg > --no-tty -o- returned error: ( 2 ), referer: https:[snip] > [Fri Nov 26 15:15:48 2004] [error] [client [snip]] Can't call method > "text" on an undefined value at ../lib//NoCat/AuthService.pm line > 134., referer: https:[snip] > [Fri Nov 26 15:15:48 2004] [error] [client [snip]] Premature end of > script headers: login, referer: https:[snip] > Found the problem and am hoping it helps someone else. I ran: $ gpg --sign -armor --homedir=/usr/local/nocat/cgi-bin/pgp --keyring trustedkeys.gpg from my console and found that it was requesting a passphrase (there shouldn't be a passphrase). This being the case I verified my key: $ gpg -v /usr/local/nocat/pgp/trustedkeys.gpg And found an extra key from when I ran my last make at 3:00AM this morning. To fix this, I rm'ed the whole pgp dir (drastic yes), ran my pgpkey make, and copied the trustedkeys.gpg file as needed. Problem solved. Let this be a lesson to me for working at 3:00am the day after thanksgiving. =) -dlp