🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Allan Joergensen Sun, 01 Mar 1998 00:00
PGP and slrn
#39240
Author: Allan Joergensen
Date: Sun, 01 Mar 1998 00:00
11 lines
873 bytes
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) 

-- 
Allan Joergensen (AJ215-RIPE) - Homepage: <http://dw.null.dk>

The goal of science is to build better mousetraps.  The goal of nature
is to build better mice.

Re: PGP and slrn
#39241
Author: 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 ----

Re: PGP and slrn - using postpgp
#39247
Author: Sven Guckes
Date: Mon, 02 Mar 1998 00:00
19 lines
1572 bytes
world!flufster@uunet.uu.net (Fluffy):
> I used Jason Steiner's postpgp script [*] with some small modifications.
> [*] http://www.funet.fi/pub/crypt/utilities/pgp.old/mail_tin/postpgp
> Somebody slap me over the head for calling sed from perl,
> but it worked and I didn't care.
> +       system("sed -e 's/^\\./_\\./g' ${name}.body > ${name}.body2");
> +       system("mv ${name}.body2 ${name}.body");

I don't think that there is more than one match
for pattern that starts at the beginning of the line,
so the "flag" 'g' seems like overkill here.

Anyway, couldn't you ask Jason to add your change -
preferably in Perl rather than sed?  ;-)

Sven

Re: slrn double-dotting
#39273
Author: Fluffy
Date: Tue, 03 Mar 1998 00:00
13 lines
1109 bytes
Sven Guckes <guckes@math.fu-berlin.de> wrote:
: Slrn doubles dots at the beginning of a line?  Gotta try that!
: 
: . <- is this a double dot now?

You'll only see it if you are posting with inews.

-- 
"all of the big cats *are* big cats - even the medium-sized, small
and tiny cats are all... cats."  -ppint

Re: PGP and slrn - using postpgp
#39277
Author: Fluffy
Date: Tue, 03 Mar 1998 00:00
59 lines
2416 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Sven Guckes <guckes@math.fu-berlin.de> wrote:

: world!flufster@uunet.uu.net (Fluffy):
: > I used Jason Steiner's postpgp script [*] with some small modifications.
: > [*] http://www.funet.fi/pub/crypt/utilities/pgp.old/mail_tin/postpgp

: Anyway, couldn't you ask Jason to add your change -
: preferably in Perl rather than sed?  ;-)

*grumble mumble whine moan*

Okay.  Fine.  Use this one instead.

BTW, the reason for converting . to _. is to get around slrn's doubling of
left-column periods.  The doubling is normally a Good Thing to get around
misinterpretations in nntp, but it's a Bad Thing when it munges a signed
article.

MEOW!


*** postpgp2	Sun Mar  1 21:14:28 1998
- --- postpgp	Tue Mar  3 03:46:03 1998
***************
*** 27,33 ****
          open(BODY,">${name}.body");
          while (<INPUT>) {
                  if (1 .. /^$/) { print HEAD; }
!                 else { print BODY; }
          }
          close(HEAD);
          close(BODY);
- --- 27,36 ----
          open(BODY,">${name}.body");
          while (<INPUT>) {
                  if (1 .. /^$/) { print HEAD; }
!                 else { 
!                         s/^\./_./;
!                         print BODY;
! 		}
          }
          close(HEAD);
          close(BODY);

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Public Key http://world.std.com/~flufster/pgp-pubkey.asc

iQCVAwUBNPvEkMbziQAzdTzZAQHlzQP/ZCp8J3Zz2Q4sP/n9qCRuG6FEVBnweLeO
FO2MrEr+2UbICr4AMPnx/P2XdeGt3VN0Kb6Blr9HApbyoZqshRwa6Ti4eo7mvEu+
Xe5NbPiDjNJAqeKi6WUZ9FiMHq9VdOAPzuwJslx237RMGameFx68wfIZwLRu+1Jv
AAkUPQQDQv4=
=unaY
-----END PGP SIGNATURE-----

Re: slrn double-dotting
#39286
Author: Sven Guckes
Date: Tue, 03 Mar 1998 00:00
14 lines
1412 bytes
fluffy@fluffy.meow.org (Fluffy):
> the reason for converting . to _. is to get around
> slrn's doubling of left-column periods.
> The doubling is normally a Good Thing to get around misinterpretations
> in nntp, but it's a Bad Thing when it munges a signed article.

Slrn doubles dots at the beginning of a line?  Gotta try that!

. <- is this a double dot now?

Sven

Re: PGP and slrn
#39305
Author: Randall Hopper
Date: Wed, 04 Mar 1998 00:00
20 lines
1287 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) 

On that same note, how about an SLRN feature to suppress the PGP mess and
just present a simple line like:

        [PGP signed message - authentic]

PGP is great; I use it for e-mail every day.  But use of it (like MIME)
begs mailer/reader support to filter the computer goop and display the
pertinent user-readable bits.

-- 
 _____________________________________________________________________________
   Randall Hopper  (AA8VB)   |  rhh@ct.picker.com  |  Powered by FreeBSD      


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