🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by David Dolgin Wed, 22 May 1996 00:00
PGP verfication not working
#7870
Author: David Dolgin
Date: Wed, 22 May 1996 00:00
19 lines
1385 bytes
I've tried to follow the readme by David Lawrence, and I think I've got it all installed right. 
It passes all the tests but it doesn't execute the the commands, rather it just logs them.

My control.ctl file looks like this

newgroup:tale@*.uu.net:comp.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:verify-news.announce.newgroups=newgroup

and what I get in the log is this
newgroup rec.games.computer.quake.servers y tale@uunet.uu.net
    tale@uunet.uu.net requested that rec.games.computer.quake.servers be created.
    To do this, type the following:
        /usr/local/news/bin/ctlinnd newgroup rec.games.computer.quake.servers y tale@uunet.uu.net
    
It looks like it taking the command vaidating it and then just logging it.

Anybody else getting this?

Re: PGP verfication not working
#7898
Author: Harry Bochner
Date: Thu, 23 May 1996 00:00
23 lines
1404 bytes
In article <4o1j9p$6t@skiff.hsc.fr>, babafou@hsc.fr (Marc Baudoin) writes:
|> David Dolgin <didolgi@mca.com> writes:
|> > It looks like it taking the command vaidating it and then just logging it.

On my system it sent mail, as though the verification had failed.

The strange thing is that I tried to rerun the script (rmgroup in the case I was
looking at) using "sh -x" to get some information on where it was going wrong.
And this time it worked ;-(

Probably that means that some part of the environment (path, perhaps?) is set
differently during manual testing than when it gets run by innd. I haven't tried
to pinpoint it yet; I've been waiting for the next batch examples to test it on
...

Any other data points?

-- 
Harry Bochner
bochner@das.harvard.edu

Re: PGP verfication not working
#7909
Author: Marc Baudoin
Date: Thu, 23 May 1996 00:00
29 lines
1791 bytes
David Dolgin <didolgi@mca.com> writes:
> I've tried to follow the readme by David Lawrence, and I think I've got
> it all installed right.  It passes all the tests but it doesn't execute
> the the commands, rather it just logs them.
> 
> My control.ctl file looks like this
> 
> newgroup:tale@*.uu.net:comp.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:verify-news.announce.newgroups=newgroup
> 
> and what I get in the log is this
> newgroup rec.games.computer.quake.servers y tale@uunet.uu.net
>     tale@uunet.uu.net requested that rec.games.computer.quake.servers be created.
>     To do this, type the following:
>         /usr/local/news/bin/ctlinnd newgroup rec.games.computer.quake.servers y tale@uunet.uu.net
>     
> It looks like it taking the command vaidating it and then just logging it.
> 
> Anybody else getting this?

Just the same as you.  Anybody has a way to make it work?

-- 
Marc Baudoin              | e-mail    <Marc.Baudoin@hsc.fr>
Herv� Schauer Consultants | WWW       http://www.hsc.fr/
142 rue de Rivoli         | T�l�phone +33 (1) 46 38 89 90
75039 PARIS CEDEX 01      | Fax       +33 (1) 46 38 05 05

Re: PGP verfication not working
#7928
Author: George Baltz
Date: Fri, 24 May 1996 00:00
65 lines
2804 bytes
In article <31A35ACB.56E7@mca.com>, David Dolgin  <didolgi@mca.com> wrote:
>I've tried to follow the readme by David Lawrence, and I think I've got it all installed right. 
>It passes all the tests but it doesn't execute the the commands, rather it just logs them.
>
>My control.ctl file looks like this
>
>newgroup:tale@*.uu.net:comp.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:verify-news.announce.newgroups=newgroup
>
>and what I get in the log is this
>newgroup rec.games.computer.quake.servers y tale@uunet.uu.net
>    tale@uunet.uu.net requested that rec.games.computer.quake.servers be created.
>    To do this, type the following:
>        /usr/local/news/bin/ctlinnd newgroup rec.games.computer.quake.servers y tale@uunet.uu.net
>    
>It looks like it taking the command vaidating it and then just logging it.
>
>Anybody else getting this?

I think I've found the problem, but was waiting for the next bunch of
newgroups to test it.  Anyway, in pgpcontrol.pch{.unoff4}, the call to
pgpverify needs the absolute pathname prepended to it -

*** parsecontrol        Tue May 21 11:14:28 1996
--- parsecontrol.OLD    Fri May 03 11:31:46 1996
***************
*** 1,5 ****
  #! /bin/sh
! ##  $Revision: 1.3 $
  ##  Initial parsing of control messages.
  
  ##  =()<. @<_PATH_SHELLVARS>@>()=
--- 1,5 ----
  #! /bin/sh
! ##  $Revision: 1.2 $
  ##  Initial parsing of control messages.
  
  ##  =()<. @<_PATH_SHELLVARS>@>()=
***************
*** 118,124 ****
  export LOGFILE
  
  if $PGPVERIFY; then
!     PGPSENDER=`/usr/local/news/bin/pgpverify < ${ARTICLE}`;
      case "${ACTION}:$?" in
      verify:0)
          case "${PGPAUTH}" in
--- 118,124 ----
  export LOGFILE
  
  if $PGPVERIFY; then
!     PGPSENDER=`pgpverify < ${ARTICLE}`;
      case "${ACTION}:$?" in
      verify:0)
          case "${PGPAUTH}" in


but I won't know if it works for sure 'til next week :-)
-- 
George Baltz  N3GB          301-405-3059                 gwb@csc.umd.edu
Captain (Emeritus), UMD Hors d'Oeuvres Team     "Working in this place is like
Computer Science Center, University of Maryland  trying to dance 'Swan Lake'
College Park, MD 20742-2411                      on the Beltway" - Jeff Jewett

Re: PGP verfication not working
#7933
Author: David C Lawrence
Date: Fri, 24 May 1996 00:00
25 lines
1520 bytes
(Posted and mailed.)

There have been two previously undocumented reasons for failures.

     o You cut-and-pasted the sample INN control.ctl lines
       and left the continuation lines in, instead of joining
       each group of three physical lines comprising one logical
       line to just one physical line.

     o You don't have your PGP configuration files and keyrings
       in the default path used by pgp and PGPPATH is not correctly
       set in your environment.  Either move your PGP directory
       to the default location or set the $ENV{'PGPPATH'} line in
       pgpverify.

pgpverify was updated to version 1.2 to have the $ENV{'PGPPATH'} line
for configuration near the start of the script.  These two possible
problems have also now been documented in the README.

ftp://ftp.uu.net/networking/news/misc/pgpcontrol/README.html
ftp://ftp.uu.net/networking/news/misc/pgpcontrol/README


Re: PGP verfication not working
#8127
Author: Alex Hsia
Date: Thu, 30 May 1996 00:00
42 lines
2615 bytes
I'm still not getting the newgroup/rmgroup messages to be processed
correctly.  I'm using the latest version of pgpverify (1.2), have PGP
installed in the default locations ($HOME/.pgp) and get the appropriate
response when testing out pgpverify and parsecontrol from the command line.
The latest round of newgroup control messages still got logged to the
logfile without creating the group.  Anyone else seeing this type of
behavior?

David C Lawrence wrote:
> 
> (Posted and mailed.)
> 
> There have been two previously undocumented reasons for failures.
> 
>      o You cut-and-pasted the sample INN control.ctl lines
>        and left the continuation lines in, instead of joining
>        each group of three physical lines comprising one logical
>        line to just one physical line.
> 
>      o You don't have your PGP configuration files and keyrings
>        in the default path used by pgp and PGPPATH is not correctly
>        set in your environment.  Either move your PGP directory
>        to the default location or set the $ENV{'PGPPATH'} line in
>        pgpverify.
> 
> pgpverify was updated to version 1.2 to have the $ENV{'PGPPATH'} line
> for configuration near the start of the script.  These two possible
> problems have also now been documented in the README.
> 
> ftp://ftp.uu.net/networking/news/misc/pgpcontrol/README.html
> ftp://ftp.uu.net/networking/news/misc/pgpcontrol/README

-- 
Alex Hsia ================================================================
NOAA/ERL/OAD                                      Phone: (303)497-6351
Mailstop R/EX1                                      Fax: (303)497-6951
325 Broadway                                     e-mail: alex@erl.noaa.gov
Boulder, CO  80303                 http://www.erl.noaa.gov/ahsia/alex.html
==========================================================================

Re: PGP verfication not working
#8361
Author: Matthew D Stock
Date: Fri, 07 Jun 1996 00:00
13 lines
1139 bytes
In article <31ADD8B8.2424@erl.noaa.gov>, Alex Hsia  <alex@erl.noaa.gov> wrote:
>The latest round of newgroup control messages still got logged to the
>logfile without creating the group.  Anyone else seeing this type of
>behavior?

Yes, I am seeing this as well.  I followed all of the steps in testing the
install, and everything worked as expected.  I get messages logged as if
the system did the newgroup, but it clearly didn't.  Solutions or other
things to test would be greatly appreciated.
  -Matt

Re: PGP verfication not working
#8499
Author: Allan E Johannesen
Date: Thu, 13 Jun 1996 00:00
59 lines
3319 bytes
>>>>> "stock" == Matthew D Stock <stock@acsu.buffalo.edu> writes:
In article <4p9bjm$2a6@azure.acsu.buffalo.edu> stock@acsu.buffalo.edu (Matthew D Stock) writes:


stock> In article <31ADD8B8.2424@erl.noaa.gov>, Alex Hsia <alex@erl.noaa.gov>
stock> wrote:
>> The latest round of newgroup control messages still got logged to the
>> logfile without creating the group.  Anyone else seeing this type of
>> behavior?

stock> Yes, I am seeing this as well.  I followed all of the steps in testing
stock> the install, and everything worked as expected.  I get messages logged
stock> as if the system did the newgroup, but it clearly didn't.  Solutions or
stock> other things to test would be greatly appreciated.  -Matt

Well, I did some experimentation and found a few things.  First, back when I
set up inn, I didn't even set up news with a login home in the passwd file.  To
install PGP, I had to put the keys in a home, so I set up a directory and put
the keys there.  In my experimentation, I found that INN was invoking pgpverify
with HOME=/somewhere/else, which was some place that I probably lied about in
the INN setup some years ago.  I had to set $ENV{'PGPPATH'} in pgpverify to the
real home I'd given the news login in order to fix my error.

Still, however, the article didn't pass muster.

I tinkered with signcontrol, which should make pgp verified articles, and found
that I could pgpverify the output of that script, but pgpverify still failed in
the news process.

Looking at the headers which it checks, Sender: was not in signcontrol's
output, but it was in the article which INN stored, and which pgpverify was
checking.  I found that stripping the Sender: resulted in pgpverify success.
i.e. changing the line:

    PGPSENDER=`pgpverify < ${ARTICLE}`;

to:

    PGPSENDER=`awk '$1!="Sender:" { print $0 }' ${ARTICLE} | pgpverify`;

made things work fine.  At least my locally `signcontrol`d newgroups are
processed all right.  I'll wait for the real thing to come by before I'm
entirely satisfied with this.

The thing that puzzles me is that my article, pre-`signcontrol`, has a Sender:
in it, but signcontrol removes it in its output.  Also, it seems that the
article is `pgp`d by signcontrol without Sender:, since the Sender: being in
the finally posted article is the reason that it doesn't `pgpverify`.

Although, I think I have a procedure that's going to work from now on, it seems
like a kluge to me.  Can anyone tell me what am I doing wrong?

Thanks.

p.s. I extend my appologies to everyone on the net who suffered my pgp newgroup
     experiments when I forgot distribution: local.

Re: PGP verfication not working
#8539
Author: Neil Lovely
Date: Sat, 15 Jun 1996 00:00
27 lines
1476 bytes
Allan E Johannesen (aej@mustang.WPI.EDU) wrote:

	snip...snip..

: Looking at the headers which it checks, Sender: was not in signcontrol's
: output, but it was in the article which INN stored, and which pgpverify was
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		I am wondering how you verified this ?

: checking.  I found that stripping the Sender: resulted in pgpverify success.
: i.e. changing the line:
:     PGPSENDER=`pgpverify < ${ARTICLE}`;
: to:
:     PGPSENDER=`awk '$1!="Sender:" { print $0 }' ${ARTICLE} | pgpverify`;

	Thanks for your careful detective work :-)
	This change to the parsecontrol script certainly worked for me too.

Neil.
-- 
Neil Lovely				|
Computer Support Engineer		| e-mail : nl012@un.seqeb.gov.au
South East Queensland Electricity Board | Phone  : +61 7 223 4256
GPO Box 1461  Brisbane Q 4001 Australia | Fax	 : +61 7 221 7556

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads