Article View: news.software.nntp
Article #69012Re: Weird pgpverify problem
From: Mike Zanker
Date: Tue, 20 Apr 2004 18:46
Date: Tue, 20 Apr 2004 18:46
36 lines
2712 bytes
2712 bytes
Russ Allbery <rra@stanford.edu> wrote in news:87hdveld0i.fsf@windlord.stanford.edu: > I wish I could remember gpgv exit status better, but I'm wondering > if somehow it's not finding its keyring when run inside INN but is > outside of INN. I think that might be it - looking back through some old logs "status 2" is what you get when you don't have a hierarchy's key in the keyring. > Another possibility could be that there's > something different about the whitespace between when you're > running it by hand and when you're running it inside INN; how did > you extract the message to run pgpverify on it by hand? I didn't - I just used the raw article from tradspool. > Hm. controlchan should actually know that it's a path rathe than > a token, but try running that command with the token instead. Looking at the code, 2.3.5 controlchan assumes that it's being passed a token. 2.4.1 checks for the presence of the two @s and, if they're not present, treats it as a path to the article. > (You can get the token with grephistory on the message ID.) You > really want to be able to run this under pgpverify -test so that > you can see exactly what output pgpverify is producing. (I think > that -test worked in 2.3.5.) I've just run controlchan with the article's token and it worked fine. So it looks like it works outside INN but not inside. I wonder if setting GNUPGHOME in INN's startup script might help? Mike.
Technical Details
Message-ID:
<Xns94D1C9384746Cmikezankerorg@217.169.19.66>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc70.webusenet.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!mephistopheles.news.clara.net!news.clara.net!wagner.news.clara.net!news.zanker.org!newsreader.zanker.org!not-for-mailReferences:
<c63g70$ii1$1@mallard.zanker.org> <87hdveld0i.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <Xns94D1C9384746Cmikezankerorg@217.169.19.66> Subject: Re: Weird pgpverify problem Date: Tue, 20 Apr 2004 18:46:50 +0000 From: Mike Zanker <not-for-mail@zanker.org> References: <c63g70$ii1$1@mallard.zanker.org> <87hdveld0i.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc70.webusenet.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!mephistopheles.news.clara.net!news.clara.net!wagner.news.clara.net!news.zanker.org!newsreader.zanker.org!not-for-mail Newsgroups: news.software.nntp Organization: zanker.org Lines: 36 NNTP-Posting-Host: jemima.zanker.org X-Trace: mallard.zanker.org 1082486810 23534 217.169.19.67 (20 Apr 2004 X-Complaints-To: abuse@zanker.org NNTP-Posting-Date: Tue, 20 Apr 2004 18:46:50 +0000 (UTC) User-Agent: Xnews/06.08.25 X-No-Archive: yes