🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Bruno Glint Sat, 17 Jun 2006 04:48
slrn and pgp/smime
#186578
Author: Bruno Glint
Date: Sat, 17 Jun 2006 04:48
16 lines
1619 bytes
Does anyone know of a macro for slrn that will allow it to verify 
pgp/mime and s/mime messages?

I found one to handle standard inline pgp/gpg signatures, but nothing 
yet that can successfully deal with s-mime and pgp-mime signatures.

I've found some on google, but none work.  The closest I have managed is
tsca-mymime.sl, which didn't do anything but make mime encoded messages
appear empty.

TIA for the clue.




Re: slrn and pgp/smime
#186591
Author: gregor herrmann
Date: Sat, 17 Jun 2006 12:09
16 lines
1944 bytes
On 17 Jun 2006 04:48:44 GMT, Bruno Glint wrote:

> Does anyone know of a macro for slrn that will allow it to verify 
> pgp/mime and s/mime messages?

I've hacked something together that kind of does the job (it least it
displays the message):
http://info.comodo.priv.at/blog/articles/slrn_pgpmime/


gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Elvis Presley: One Night
Re: slrn and pgp/smime
#186972
Author: Troy Piggins
Date: Mon, 26 Jun 2006 18:20
85 lines
4435 bytes
* gregor herrmann wrote:
> On 17 Jun 2006 04:48:44 GMT, Bruno Glint wrote:
>
>> Does anyone know of a macro for slrn that will allow it to verify 
>> pgp/mime and s/mime messages?
>
> I've hacked something together that kind of does the job (it least it
> displays the message):
> http://info.comodo.priv.at/blog/articles/slrn_pgpmime/

I tried your "hack" and doesn't work on this MIME/pgp message from the
comp.mail.misc group:

Message-ID: <cone.1151266682.543995.18735.500@commodore.email-scan.com>

I use Sam's messages to test because he is the only regular in the
groups I visit that use it.  Does it work for you?

Here's my solution.  Requires demime.

#v+
% Put this in your macro file and make sure it's interpretted in .slrnrc
% thanks to Christian Ebert from the slrn-user mailing list.
define demime_pgp ()
{
  variable xcharset = extract_displayed_article_header("Content-Type");
  if (string_match(xcharset,"\\Cmultipart/signed",1))
  {
    variable demime_tmp, raw_art, fp, art_demime;
    variable macro_sig =
               "\n-- \n[demime_pgp macro removed MIME PGP signature]";
    demime_tmp = "/tmp/slrn_demime."+ string (getpid () );
    raw_art = raw_article_as_string ();
    fp = fopen (demime_tmp, "w");
    if (fp == NULL)
      error (_function_name () +": could not open "+demime_tmp);
    fputs (raw_art, fp);
    fclose (fp);
    fp = popen ("/usr/local/bin/demime --quiet - < "+demime_tmp, "r");
    if (fp == NULL)
      error (_function_name () +": demime pipe failed" );
    art_demime = strjoin (fgetslines (fp), "");
    pclose (fp);
    if (art_demime != "") replace_article (art_demime+macro_sig);
    else error (_function_name () +": failed");
    system ("rm "+demime_tmp);
  }
}
() = register_hook ("read_article_hook", "demime_pgp");
#v-

Couple of things I noticed about your script:
- the name of the file you download is actually pl00000.pl, not
  pgp-verify as it should be.  Would make it easier if it downloaded
  correct filename to save rename.
- you mention you need some perl modules.  There are others that seem to
  be needed, and my install of them failed during dependancy install of
  GnuPG::Interface module :

#v+
Failed Test             Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/clearsign.t                          2    2 100.00%  1-2
t/detach_sign.t                        2    2 100.00%  1-2
t/encrypt.t                            3    3 100.00%  1-3
t/list_secret_keys.t                   4    1  25.00%  2
t/passphrase_handling.t                3    3 100.00%  1-3
t/sign.t                               2    2 100.00%  1-2
t/sign_and_encrypt.t                   2    2 100.00%  1-2
Failed 7/20 test scripts, 65.00% okay. 15/51 subtests failed, 70.59%
okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
#v-

The above is probably my setup, as opposed to a problem with your script.  I'd
be interested to hear whether yours works on the mentioned M-ID.

-- 
Troy Piggins :                            "My karma just ran over my dogma"
 ,-o  
o   ) Ubuntu linux 6.06 http://ubuntu.com  RLU#415538 http://counter.li.org
 `-o  uptime: 03:16:18 up 23 days,23 min,2 users,load average:0.01,0.05,0.06
Re: slrn and pgp/smime
#186977
Author: Alan Connor
Date: Mon, 26 Jun 2006 20:03
114 lines
5673 bytes
On news.software.readers, in <VLFCBKYX38885.0283449074@anonymous.poster>, "Bruno Glint" wrote:
> Path: text.usenetserver.com!atl-c01.usenetserver.com!news.usenetserver.com!atl-c05.usenetserver.com!news.usenetserver.com!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.190.250.MISMATCH!transit3.readnews.com!news-out.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr3.newsreader.com.POSTED!not-for-mail
> subject: slrn and pgp/smime

PGP/GPG sigs on the Usenet are just stupid. You may as well just
have "TROLL" tatooed on your forehead.

Public keys mean nothing unless they are thoroughly
investigated.  Anyone can create a keypair with any name they
want, and a false history, _and_ create a dozen other fakes to
sign the first one. They can set up their own keyservers, for
god's sake!

And, of course, they can just drop the PGP/GPG sig and change
the From header (etc.) and troll like crazy with a different
psuedo-identity.

Plus, there's the fact that almost no one uses the software
needed to do the most basic (and useless) of checks on an
apparent PGP/GPG sig on the Usenet.

You don't even need the actual program or a real keypair: You
could just cut and paste a fake one in your article and most
people wouldn't know the difference. 

Nor would they care. Obviously, they don't.

Trolls use PGP/GPG sigs to make one or more of their sockpuppets
_look_ different from the others. This is the cosmetic aspect
of sockpuppet (psuedo-identity) creation, which consists of
>From header, newsserver, and cosmetics.

And they think it makes them look trustworthy.

Clue: When someone makes a special effort to seem trustworthy,
they aren't.

I see a PGP/GPG sig and the first thing I think is: Troll.
Looking for help. So do all experienced Useneters.

And here you see an obvious troll wanting to learn how to
use them. Do you need any other evidence?

Most of us just configure our newsreaders to dump posts with
PGP/GPG sigs, along with any posts with the word "anonymous"
(case-insensitive) in the headers.

> from: Bruno Glint <nobody@eelbash.org>
> message-id: <VLFCBKYX38885.0283449074@anonymous.poster>

Wow! An anonymous poster! 

And there I was thinking that the fellow calling himself
"John Davidson" was actually named "John Davidson".

<snicker>

Bet this clown thinks my name is really "Alan Connor".

<snicker>

> comments: Please send complaints to admin@eelbash.org Want your email address blocked from the remailer? Send an email to remailer@eelbash.org with a subject of: dest-block

And get spammed and harassed to death by a bunch of punks.

You couldn't get a mail in my mailbox or an article in my
newsreader if your life depended on it, bozos.

(And that's addressed to the "administrators" [script kitties] at
eelbash.)

> X-Complaints: admin@eelbash.org

Now there's a waste of time.

And why would I complain, anyway? I've never even downloaded
one of this clueless juvenile delinquent's articles and never
will. That goes for any responses to them, too.

Yes. He posts here under other psuedo-identities.

> newsgroups: news.software.readers
> Date: 17 Jun 2006 04:48:44 GMT
> Lines: 16
> Organization: NewsReader.Com Subscriber
> NNTP-Posting-Host: dfaf9268.nr3.newsreader.com
> X-Trace: DXC=7i3SGImQC^7dNmK>Q;K\e2OA8_@f\K_i20V\?8`j4eW;];I[h?MT=49DVIbICRl:I9XA9PXJ8=5Y6`3N<i@V:_`00W<3ZTmHc]=
> X-Complaints-To: abuse@newsreader.com
> Xref: usenetserver.com news.software.readers:313223
> X-Received-Date: Sat, 17 Jun 2006 00:49:58 EDT (text.usenetserver.com)

<article not downloaded:
http://slrn.sourceforge.net/docs/README.offline>

I've got all sorts of great slrn docs and macros and the scripts
called by them. Some of them used to be on my website.

But I really don't want to help trolls, so I took them down.
Now, anyone who wants my help with slrn has to make it through
a very strict challenge-response mail filter and identify their
Usenet persona so that I can see if they are a troll, and trolls
won't do that because they are afraid to use their real return
addresses and can't hide the fact they are trolls.

:-))


Note: I won't be downloading any articles on this thread.

Alan

-- 
http://home.earthlink.net/~alanconnor/contact.html
Other URLs of possible interest in my headers.
Re: slrn and pgp/smime
#186976
Author: Sam
Date: Mon, 26 Jun 2006 22:53
208 lines
8721 bytes
This is a MIME GnuPG-signed message.  If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

--=_mimegpg-commodore.email-scan.com-11548-1151362414-0004
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Usenet Beavis writes:

> PGP/GPG sigs on the Usenet are a good idea. You may as well just
> have "I'M SMARTER THAN BEAVIS" tatooed on your forehead.

There aren't enough tatoo artists to go around for that, Beavis.

> Public keys mean nothing to me, I'm too stupid to understand anything 
> beyond algebra.  Anyone can create a keypair, except for me, because I 
> was dropped on my head as a child, _and_ I will never understand how the 
> PGP web of trust works.

Fortunately, Beavis, none of this is necessary in your case.  Nobody in the 
right mind would even consider impersonating the one, and only, Usenet 
Beavis.  So rest easy, Beavis, and leave the complicated things to the 
professionals.

> And, of course, they can just drop the PGP/GPG sig and change
> the From header (etc.) and make fun of my mental handicaps like 
> crazy.

Wrong, Beavis.  See, I haven't dropped my GPG signatures.

> Plus, there's the fact that almost everyone knows that I'm utterly 
> clueless when it comes to mail protocols, and even before I open my 
> mouth, just the idea of me spouting off on something like PGP causes 
> uproarious laughter from the masses.

Beavis, you made your bed, you get to lie in it.

> You don't even need the actual program or a real keypair: You
> could just cut and paste a fake one in your article and most
> people wouldn't know the difference. 

Not most people, Beavis, just you.

> Nor would I care. Obviously, I don't.

That's right, Beavis, why would you want to strain your brain?

> My mental superiors use PGP/GPG sigs for reasons that my microscopic 
> cerebellum will never figure out. This is the distinctive aspect
> of being the Usenet Beavis, which also consists of kookfarting, unhealthy 
> obsessions with "schitt", and claiming to be a personal friend of 
> Bigfoot.

Also, don't forget your masochistic streak of volunteering to be 
kookspanked, by posting into this froup, where you know you will get a 
healthy dose of arse-whooping.

> And I think it makes me look smart.

Go ahead and keep thinking that, Beavis.

> Clue: When someone makes a special effort to befriend the Usenet Beavis, 
> he always ends up kookfarting as a show of thanks.

I doubt that anyone will make the same mistake again, Beavis.

> I see a PGP/GPG sig and the first thing I think is: what is thy 
> bidding, my master?

Thou shall post at least one kookfart every day, in this newsfroup, for 
everyone's entertainment.

> And here you see an obvious Beavis wanting to learn how to get 
> kookspanked. Do you need any other evidence?

Nope.

> Most of us just configure our newsreaders to dump posts with
> PGP/GPG sigs,

Beavis, did you take a survey, or something?  Can we see your raw data, 
please?

>                along with any posts with the word "Bigfoot"
> (case-insensitive) in the headers.

Too bad, because you would've missed a gem like this: 
http://tinyurl.com/23r3f

>> from: Bruno Glint <nobody@eelbash.org>
>> message-id: <VLFCBKYX38885.0283449074@anonymous.poster>
> 
> Wow! My mental superior!

Why are you acting suprised, Beavis?  That's the rule, not an exception.

> And there I was thinking that the fellow calling himself
> "John Davidson" was actually named "John Davidson".

Yes, Beavis, for you the most obvious explanation is never sufficient.

> <snicker>
> 
> Bet this genius thinks my name is really "Usenet Beavis".

And, I can vouch that it is.

> 
> <snicker>
> 
>> comments: Please send complaints to admin@eelbash.org Want your email address blocked from the remailer? Send an email to remailer@eelbash.org with a subject of: dest-block
> 
> And get spammed and harassed to death by a bunch of punks.

Only you get spammed and harassed, Beavis.  That's because you're a Beavis.  
Everyone else, who's not a Beavis, gets treated with respect.

> You couldn't get a mail in my mailbox or an article in my
> newsreader if your life depended on it, bozos.

We just did, Beavis.  And you had a major kookfart because of that.

> (And that's addressed to the "administrators" [my mental superiors] at
> eelbash.)

Stupid Beavis: if you wanted to reach them, you have their E-mail address.  
Is your microscopic encephalus big enough to figure out how to send an 
E-mail message?

>> X-Complaints: admin@eelbash.org
> 
> I am such a waste of time.

And a waste of perfectly good oxygen.

> And why would I complain, anyway?

Right, Beavis.  The only reason you have to complain is to your nanny, who 
dropped you on your head and turned you into a Beavis?

>                                   I always downloaded all the 
> articles written by my mental superiors, and read them eagerly, 
> hoping that I'll learn something.  But I never do.

And who's fault is that.

> Yes. He posts here under other psuedo-identities, and he is currently 
> hiding in my closet.

Boo!

> <article downloaded and read: http://www.geocities.com/suhatrasabib>

Thank you for your kookfart, Beavis.

> I've got all sorts of great slrn docs and macros and the scripts
> called by them.

Too bad you're too stupid to figure out how to use them correctly.

>                  Some of them used to be on my website.

Nothing that you've manage to pots on your free Earthlink consumer site will 
ever work for anyone.

> But I really don't want to my mental superiors, to I took them down.

On behalf of your mental superiors, I thank you.

> Now, anyone who wants my help with slrn has to have their head 
> examined.

Don't worry, Beavis.  This is not going to happen.

>           Please, I beg you, write me something.  I feel lonely. 
> I need someone to write me to bolster my ego, and obtain proof 
> that there's at least one soul on this, the third rock from the
> Sun, who has even less of a clue than I do.

You've got your work cut out for you, Beavis.

> Note: I will be downloading every article in this thread.

And you will love every byte of each and every one.

> Beavis

Hiya, Beavis!  Looking forward to your next kookfart+spank.



--=_mimegpg-commodore.email-scan.com-11548-1151362414-0004
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEoGVux9p3GYHlUOIRAnUsAJ9ciZMXnYHhBRfH/u4iTn7N32a7swCfbkpg
ILLMLpKoXY2XhJvZbrVMZx8=
=Eiou
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-11548-1151362414-0004--
Re: slrn and pgp/smime
#187094
Author: gregor herrmann
Date: Sat, 01 Jul 2006 20:56
69 lines
3948 bytes
On Tue, 27 Jun 2006 04:20:05 +1000, Troy Piggins wrote:

> I tried your "hack" and doesn't work on this MIME/pgp message from the
> comp.mail.misc group:
> Message-ID: <cone.1151266682.543995.18735.500@commodore.email-scan.com>
> I use Sam's messages to test because he is the only regular in the
> groups I visit that use it.  Does it work for you?

Yes it does; what's happening when you try it?

> Here's my solution.  Requires demime.

Thanks, I'll look into this.

> Couple of things I noticed about your script:
> - the name of the file you download is actually pl00000.pl, not
>   pgp-verify as it should be.  Would make it easier if it downloaded
>   correct filename to save rename.

True, but this is neither my script nor my webspace, so I can't do
anything about it.

> - you mention you need some perl modules.  There are others that seem to
>   be needed, 

Yup, the README mentions

DEPENDENCIES
This module requires these other modules (and their dependencies):
GnuPG::Interface
IO::Handle
MIME::Entity
File::Temp
MIME::Parser
Mail::Address

> and my install of them failed during dependancy install of
>   GnuPG::Interface module :

I'm using the Debian package which "just works".

This module depends on:
        Perl 5.005
        Class::MethodMaker 1.00 or later, available from CPAN; http://www.cpan.org/
        GnuPG                   available from http://www.gnupg.org/

Have you got Class::MethodMaker > 1.00 installed?

> Failed Test             Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/clearsign.t                          2    2 100.00%  1-2
> t/detach_sign.t                        2    2 100.00%  1-2
> t/encrypt.t                            3    3 100.00%  1-3
> t/list_secret_keys.t                   4    1  25.00%  2
> t/passphrase_handling.t                3    3 100.00%  1-3
> t/sign.t                               2    2 100.00%  1-2
> t/sign_and_encrypt.t                   2    2 100.00%  1-2
> Failed 7/20 test scripts, 65.00% okay. 15/51 subtests failed, 70.59%
> okay.

If I try it manually I get almost the same results.


gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Peg Leg Sam: Joshua Fit The Battle Of Jericho
Re: slrn and pgp/smime
#187105
Author: Troy Piggins
Date: Sat, 01 Jul 2006 23:58
87 lines
4262 bytes
* gregor herrmann wrote:
> On Tue, 27 Jun 2006 04:20:05 +1000, Troy Piggins wrote:
>
>> I tried your "hack" and doesn't work on this MIME/pgp message from the
>> comp.mail.misc group:
>> Message-ID: <cone.1151266682.543995.18735.500@commodore.email-scan.com>
>> I use Sam's messages to test because he is the only regular in the
>> groups I visit that use it.  Does it work for you?
>
> Yes it does; what's happening when you try it?
>
>> Here's my solution.  Requires demime.
>
> Thanks, I'll look into this.
>
>> Couple of things I noticed about your script:
>> - the name of the file you download is actually pl00000.pl, not
>>   pgp-verify as it should be.  Would make it easier if it downloaded
>>   correct filename to save rename.
>
> True, but this is neither my script nor my webspace, so I can't do
> anything about it.

Oh, sorry.  I assumed it was your page.

>> - you mention you need some perl modules.  There are others that seem to
>>   be needed, 
>
> Yup, the README mentions
>
> DEPENDENCIES
> This module requires these other modules (and their dependencies):
> GnuPG::Interface
> IO::Handle
> MIME::Entity
> File::Temp
> MIME::Parser
> Mail::Address

README?  Where?  I also saw the pgp-verify file and pgpmime.sl.
I downloaded the above modules, seemed I didn't have IO::Handle and
Mail::Address.  The rest were up to date according to CPAN.

Then I tried installing GnuPG::Interface again and it still failed those
tests and said wouldn't install with force.  So I tried that, force
install GnuPG::Interface.

Still doesn't seem to work.

I should point out that I am a bit new to CPAN and installing perl
modules.

>> and my install of them failed during dependancy install of
>>   GnuPG::Interface module :
>
> I'm using the Debian package which "just works".
>
> This module depends on:
>         Perl 5.005
>         Class::MethodMaker 1.00 or later, available from CPAN; http://www.cpan.org/
>         GnuPG                   available from http://www.gnupg.org/
>
> Have you got Class::MethodMaker > 1.00 installed?

Up to date according to CPAN.

>> Failed Test             Stat Wstat Total Fail  Failed  List of Failed
>> -------------------------------------------------------------------------------
>> t/clearsign.t                          2    2 100.00%  1-2
>> t/detach_sign.t                        2    2 100.00%  1-2
>> t/encrypt.t                            3    3 100.00%  1-3
>> t/list_secret_keys.t                   4    1  25.00%  2
>> t/passphrase_handling.t                3    3 100.00%  1-3
>> t/sign.t                               2    2 100.00%  1-2
>> t/sign_and_encrypt.t                   2    2 100.00%  1-2
>> Failed 7/20 test scripts, 65.00% okay. 15/51 subtests failed, 70.59%
>> okay.
>
> If I try it manually I get almost the same results.

Never mind.  My solution works for me so I'll stick with that.

-- 
Troy Piggins :                            "My karma just ran over my dogma"
 ,-o  
o   ) Ubuntu linux 6.06 http://ubuntu.com  RLU#415538 http://counter.li.org
 `-o  uptime: 09:54:20 up 3 days,11:20,2 users,load average:0.00,0.02,0.00
Re: slrn and pgp/smime
#187113
Author: gregor herrmann
Date: Sun, 02 Jul 2006 00:55
35 lines
2630 bytes
On Sun, 02 Jul 2006 09:58:39 +1000, Troy Piggins wrote:

>>> - you mention you need some perl modules.  There are others that seem to
>>>   be needed, 
>> Yup, the README mentions
> README?  Where?  

In the tarball of Mail::GnuPG
http://search.cpan.org/CPAN/authors/id/R/RS/RSPIER/Mail-GnuPG-0.08.tar.gz

> Then I tried installing GnuPG::Interface again and it still failed those
> tests and said wouldn't install with force.  So I tried that, force
> install GnuPG::Interface.

I'd suggest either using your distribution's packages or the friendly
CPAN module:
$ perl -MCPAN -e shell
http://perl.com/doc/manual/html/lib/CPAN.html

> Still doesn't seem to work.

That means?

>> If I try it manually I get almost the same results.
> Never mind.  My solution works for me so I'll stick with that.

Ok ;-)


gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Neil Diamond: Brother Loves Travelling Salva
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