🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #21044

Re: PGP signing patch for slrn

#21044
From: Felix von Leitner
Date: Mon, 29 Apr 1996 00:00
31 lines
1755 bytes
On 28 Apr 1996 17:09:39 GMT, Reality is a point of view <gjohnson@dream.season.com> wrote:
>  +---- leitner@landau.math.fu-berlin.de wrote (28 Apr 1996 06:12:35 GMT):
>  | I really like to be able to sign my postings.  So I hacked slrn a
>  | little.  Really nothing much.  Just apply the following diff to
>  | slrn/src/post.c.
> 
> Cool!

Unfortunately it has a few flaws.  I forgot to delete the ".asc" temp
file.  I will make a patch for 0.8.8 which fixes that ;)

>  | > static char passphrase[1024];
> ...
>  | > 	  if (passphrase[0]==0) {
>  | > 	    if (slrn_read_input("Passphrase: ",passphrase,0) <= 0) continue;
>  | > 	  }
>  +----
> 
> I can understand why you made it static.  Some of the paranoid
> among us are likely to write '\0''s to passphrase at some point . . .

You can still do that.  Maybe we should make a "forget passphrase"
function to bind to some key.  And we should definitely overwrite the
passphrase.  And we should be able to ask for the keyphrase without Echo
(John?  Please?).

Felix


Technical Details
Message-ID: <slrn4o91c5.v4.leitner@cauchy.math.fu-berlin.de>
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: <slrn4o632j.hiv.leitner@landau.math.fu-berlin.de> <slrn4o79hp.2p.gjohnson@dream.season.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4o91c5.v4.leitner@cauchy.math.fu-berlin.de>
Subject: Re: PGP signing patch for slrn
Date: Mon, 29 Apr 1996 00:00:00 +0000
From: leitner@cauchy.math.fu-berlin.de (Felix von Leitner)
References: <slrn4o632j.hiv.leitner@landau.math.fu-berlin.de> <slrn4o79hp.2p.gjohnson@dream.season.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
X-Deja-AN: 152013862
Organization: Freie Universitaet Berlin
X-access: 16 17 19
Reply-to: leitner@prz.tu-berlin.de
Newsgroups: news.software.readers