🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #146757

Re: [Xnews] Best way to send GnuPG signed messages with Xnews?

#146757
From: Tech Zero
Date: Tue, 20 Apr 2004 06:04
24 lines
1901 bytes
The voice of "Guy" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> The below will strip PGP signatures in a reply:
> SigDashRegex=^\-\-\s?$|^(\-{5}\s?)BEGIN\b\s\PGP\b\s\SIGNATURE\b\1$|
> ^\-\s\-\-\s?$|^\-\-\-$ 
> 
> Perhaps someone could make it more efficient?


Not sure if this would "count", but here's what I use:

  ^((-\s)?--(\s|-)?|-{5}.*SIGNATURE-{5}|--\s?\w{3,9})$

It also catches all of the following:

  "-- "  "--"  "---"  "- --"
  "-----{anything}SIGNATURE-----"
  "--{name}"  "-- {name}"

I need the last ones for "old style" SIGs...

-- 
The Tech Zero, Maxx Pollare - Playing with Dnews filters...
Technical Details
Message-ID: <Xns94D1EC366A5ZeroOne@news.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!209.115.159.139!not-for-mail
References: <Xns94CFA40DF6B3Fsimeramov@161.53.2.66> <253971082303882-387305551ab4@127.0.0.1> <Xns94D08A5A971Csimeramov@161.53.2.66> <314421082436180-519993551ab4@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <Xns94D1EC366A5ZeroOne@news.individual.net>
Subject: Re: [Xnews] Best way to send GnuPG signed messages with Xnews?
Date: Tue, 20 Apr 2004 06:04:12 +0000
From: Tech Zero <spamnet-apr@dragonfur.ca>
References: <Xns94CFA40DF6B3Fsimeramov@161.53.2.66> <253971082303882-387305551ab4@127.0.0.1> <Xns94D08A5A971Csimeramov@161.53.2.66> <314421082436180-519993551ab4@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!209.115.159.139!not-for-mail
Newsgroups: news.software.readers
Lines: 24
NNTP-Posting-Host: 209.115.159.139
X-Trace: news.uni-berlin.de 1082441052 7575817 I 209.115.159.139 ([139626])
User-Agent: Xnews/06.01.10
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;
 34_qR9](uXc,NLS?JRGg/.&1=