🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39241

Re: PGP and slrn

#39241
From: Fluffy
Date: Mon, 02 Mar 1998 00:00
61 lines
2479 bytes
Allan Joergensen <dw@null.dk> wrote:
: Is there a way of PGP-signing ALL posted messages when using slrn (I've 
: looked at "pico-crypt" but it only seems to do the trick for new posts) 

I used Jason Steiner's postpgp script,
http://www.funet.fi/pub/crypt/utilities/pgp.old/mail_tin/postpgp with some
small modifications.  In .slrnrc, I've got:

set editor_command "$HOME/postpgp %s"

Somebody slap me over the head for calling sed from perl, but it worked and
I didn't care.

*** postpgp     Sun Mar  1 21:14:28 1998
--- postpgp     Sun May 18 10:55:59 1997
***************
*** 1,11 ****
! #!/usr/local/perl
!
  # written by jason steiner, jsteiner@anwsun.phya.utoledo.edu, Jan 1993
  #
  # if you use or make improvements to this program i would appreciate
  # copies of your modifications & your PGP public key.

! ($visual = $ENV{'VISUALBAK'}) || ($visual = '/usr/ucb/vi');
  print "starting $visual.\n";
  system($visual,@ARGV);
  while (!$q) {
--- 1,10 ----
! #!/usr/bin/perl
  # written by jason steiner, jsteiner@anwsun.phya.utoledo.edu, Jan 1993
  #
  # if you use or make improvements to this program i would appreciate
  # copies of your modifications & your PGP public key.

! ($visual = $ENV{'VISUALBAK'}) || ($visual = '/usr/bin/joe');
  print "starting $visual.\n";
  system($visual,@ARGV);
  while (!$q) {
***************
*** 31,36 ****
--- 30,37 ----
          }
          close(HEAD);
          close(BODY);
+       system("sed -e 's/^\\./_\\./g' ${name}.body > ${name}.body2");
+       system("mv ${name}.body2 ${name}.body");
          system('pgp','-a',@opts,"${name}.body");
          unlink($name);
          system "cat ${name}.head ${name}.body.asc > $name";
***************
*** 38,42 ****
          unlink("${name}.body");
          unlink("${name}.body.asc");
  }
-

--- 39,42 ----

Technical Details
Message-ID: <slrn6fk63q.49m.world!flufster@world.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn6fjsg6.ltu.dw@mother.x-stream.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6fk63q.49m.world!flufster@world.std.com>
Subject: Re: PGP and slrn
Date: Mon, 02 Mar 1998 00:00:00 +0000
From: world!flufster@uunet.uu.net (Fluffy)
References: <slrn6fjsg6.ltu.dw@mother.x-stream.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 329876385
Sender: flufster@world.std.com (Fluffy)
Organization: Ruler of All Usenet
Meow: Meow
Newsgroups: news.software.readers