Gnus development mailing list
 help / color / mirror / Atom feed
* Re: :prescript
@ 1999-03-11 15:59 John Saylor
  1999-03-11 16:36 ` :prescript Shaun Lipscombe
  0 siblings, 1 reply; 12+ messages in thread
From: John Saylor @ 1999-03-11 15:59 UTC (permalink / raw)


Hi

Forgive me for posting with Outlook Express, but my work obligates me to use
these foul tools occasionally. Also, it only makes me appreciate gnus that
much more.

-----Original Message-----
From: empiric <empiric@netscape.net>
To: ding@gnus.org <ding@gnus.org>
Date: Thursday, March 11, 1999 10:41 AM
Subject: Re: :prescript


>Stainless Steel Rat <ratinox@peorth.gweep.net> writes:
>
>> Hash: SHA1
>>
>
>Sorry for posting out of topic, but what does Hash: SHA1 mean??  Thanks


Secure Hashing Algorithm 1
This is the revision of SHA [also called SHA0] which is an alogrithm to
produce a message hash [or digest] of a given file. Hashes are used to
ensure that a file is not tampered with since changing even one charachter
of a file will produce a different hash. Hashes are smaller than the
message, so they provide a means to check that a file was not changed.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-11 15:59 :prescript John Saylor
@ 1999-03-11 16:36 ` Shaun Lipscombe
  1999-03-11 16:46   ` :prescript Kai.Grossjohann
  0 siblings, 1 reply; 12+ messages in thread
From: Shaun Lipscombe @ 1999-03-11 16:36 UTC (permalink / raw)



So shouldn't the hash be at the end of the body, like PGP signatures?

-- 
       (    )	
        ~oo~
         .. Gnu!
         / =\   \=
        -   -    -   =-=-The choice of the Linux generation-=-=
	



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-11 16:36 ` :prescript Shaun Lipscombe
@ 1999-03-11 16:46   ` Kai.Grossjohann
  1999-03-11 22:13     ` :prescript Katsumi Yamaoka
  0 siblings, 1 reply; 12+ messages in thread
From: Kai.Grossjohann @ 1999-03-11 16:46 UTC (permalink / raw)


Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:

  > So shouldn't the hash be at the end of the body, like PGP signatures?

It is, but there is a header `Hash: SHA1' near the beginning of the
body to indicate the kind of hash used.

kai
-- 
I like _\bb_\bo_\bt_\bh kinds of music.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-11 16:46   ` :prescript Kai.Grossjohann
@ 1999-03-11 22:13     ` Katsumi Yamaoka
  1999-03-12  0:55       ` :prescript Stainless Steel Rat
  0 siblings, 1 reply; 12+ messages in thread
From: Katsumi Yamaoka @ 1999-03-11 22:13 UTC (permalink / raw)


>>>>> In <vaf1ziwgeis.fsf@ramses.cs.uni-dortmund.de> 
>>>>>	Kai.Grossjohann@CS.Uni-Dortmund.DE wrote:

kai> It is, but there is a header `Hash: SHA1' near the beginning of the
kai> body to indicate the kind of hash used.

By the way, hash function in elisp is available from

        ftp://ftp.jpl.org/pub/elisp/sha1.el.gz
-- 
Katsumi Yamaoka <yamaoka@jpl.org>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-11 22:13     ` :prescript Katsumi Yamaoka
@ 1999-03-12  0:55       ` Stainless Steel Rat
  1999-03-12  1:29         ` :prescript Neil Crellin
  1999-03-13  3:53         ` :prescript Stainless Steel Rat
  0 siblings, 2 replies; 12+ messages in thread
From: Stainless Steel Rat @ 1999-03-12  0:55 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Now, does anyone have any ideas about setting up ssh tunnels?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE26GYMgl+vIlSVSNkRAhSfAKC4/1sfZzC89DBaBC5bs5KDCSKppwCg2hmO
F30KwEccRN5bnFE9xuFoTzM=
=6/yP
-----END PGP SIGNATURE-----

-- 
Rat <ratinox@peorth.gweep.net>    \ Do not taunt Happy Fun Ball.
Minion of Nathan - Nathan says Hi! \ 
PGP Key: at a key server near you!  \ 


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-12  0:55       ` :prescript Stainless Steel Rat
@ 1999-03-12  1:29         ` Neil Crellin
  1999-03-13  3:53         ` :prescript Stainless Steel Rat
  1 sibling, 0 replies; 12+ messages in thread
From: Neil Crellin @ 1999-03-12  1:29 UTC (permalink / raw)
  Cc: (ding)

Stainless Steel Rat <ratinox@peorth.gweep.net> writes:
> Now, does anyone have any ideas about setting up ssh tunnels?

First thing I do when plugged is log in to the corporate server, which
is also my pop guy, with a command like ssh -L1110:pop.work.com:110
work.com, type in my passphrase, and then have gnus slurp my mail from
localhost:1110. Works like a dream. Two-steps tho. I don't do
:prescript, and am not sure how the passphrase piece would work.

-- 
Neil Crellin <neilc@wallaby.cc>




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-12  0:55       ` :prescript Stainless Steel Rat
  1999-03-12  1:29         ` :prescript Neil Crellin
@ 1999-03-13  3:53         ` Stainless Steel Rat
  1999-03-13  4:07           ` :prescript Stainless Steel Rat
  1999-03-14 16:12           ` :prescript Lars Magne Ingebrigtsen
  1 sibling, 2 replies; 12+ messages in thread
From: Stainless Steel Rat @ 1999-03-13  3:53 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Following up to my own posts, I have narrowed it down to two bugs in
mail-source.

The first one is easy to fix.  In mail-source.el, there are a couple of
(partial) forms that look like this:

        (if (fboundp prescript)
            (funcall prescript)
and
        (if (fboundp postscript)
            (funcall postscript)

They need to be quoted:

        (if (fboundp 'prescript)
and
        (if (fboundp 'postscript)

otherwise the interpreter tests the fboundness of the string instead of the 
variable.

The second is a bit tougher for me to track down.  Colons in the program
string are converted to spaces.  That is, "1110:peorth.gweep.net:110"
becomes "1110 peorth.gweep.net 110".  Escaping with backslashes does not
appear to fix the problem (sigh).

Possibly more bugs to be found as I experiment.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE26eEpgl+vIlSVSNkRAuRdAKDfzUwtsPb6nkFZJ2RMCxt0/YqzxACgyLrZ
iu03WJo4qVqKriuL0aqwyL8=
=u/+t
-----END PGP SIGNATURE-----

-- 
Rat <ratinox@peorth.gweep.net>    \ Happy Fun Ball contains a liquid core,
Minion of Nathan - Nathan says Hi! \ which, if exposed due to rupture, should
PGP Key: at a key server near you!  \ not be touched, inhaled, or looked at.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-13  3:53         ` :prescript Stainless Steel Rat
@ 1999-03-13  4:07           ` Stainless Steel Rat
  1999-03-14 16:12           ` :prescript Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 12+ messages in thread
From: Stainless Steel Rat @ 1999-03-13  4:07 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* Stainless Steel Rat <ratinox@peorth.gweep.net>  on Fri, 12 Mar 1999
| The second is a bit tougher for me to track down.  Colons in the program
| string are converted to spaces.  That is, "1110:peorth.gweep.net:110"
| becomes "1110 peorth.gweep.net 110".  Escaping with backslashes does not
| appear to fix the problem (sigh).

Hmmm... turns out this is not a bug, but an artifact of what ps(1) reports.
So progress is being made... it'll be nice to be able to use my own code
again :).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE26eSJgl+vIlSVSNkRAr9gAKCDNdRHDtGMVLaayk3zlT8NzwHG6wCfTO6u
gJzo0iWbuqda/rDB6dWURgY=
=/s6y
-----END PGP SIGNATURE-----

-- 
Rat <ratinox@peorth.gweep.net>    \ Happy Fun Ball may stick to certain types
Minion of Nathan - Nathan says Hi! \ of skin.
PGP Key: at a key server near you!  \ 


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-13  3:53         ` :prescript Stainless Steel Rat
  1999-03-13  4:07           ` :prescript Stainless Steel Rat
@ 1999-03-14 16:12           ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-03-14 16:12 UTC (permalink / raw)


Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> They need to be quoted:
> 
>         (if (fboundp 'prescript)
> and
>         (if (fboundp 'postscript)
> 
> otherwise the interpreter tests the fboundness of the string instead of the 
> variable.

No -- what we want to check is whether the contents of the variable is 
a function or not.  But we should first check whether it's a symbol,
since fboundp is kinda fragile.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-11  1:05 :prescript Stainless Steel Rat
  1999-03-11 15:37 ` :prescript empiric
@ 1999-03-14 16:14 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-03-14 16:14 UTC (permalink / raw)


Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> Has anyone figured out how to get ssh port redirections working with
> :prescript?  Every variation of the following that I can think of fails
> with various errors around the ssh command.

What are the errors?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: :prescript
  1999-03-11  1:05 :prescript Stainless Steel Rat
@ 1999-03-11 15:37 ` empiric
  1999-03-14 16:14 ` :prescript Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 12+ messages in thread
From: empiric @ 1999-03-11 15:37 UTC (permalink / raw)


Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> Hash: SHA1
> 

Sorry for posting out of topic, but what does Hash: SHA1 mean??  Thanks


> Has anyone figured out how to get ssh port redirections working with
> :prescript?  Every variation of the following that I can think of fails
> with various errors around the ssh command.
> 
>  '(nnmail-spool-file
>    (quote
>     ((file)
>      (pop :server localhost :port 1110 :prescript "ssh -x +C -f peorth.gweep.net -L 1110:peorth.gweep.net:110 sleep 30; sleep 1")
>      )))
> 
> -- 
> Rat <ratinox@peorth.gweep.net>    \ Do not use Happy Fun Ball on concrete.
> Minion of Nathan - Nathan says Hi! \ 
> PGP Key: at a key server near you!  \ 

-- 
Boat Drinks



^ permalink raw reply	[flat|nested] 12+ messages in thread

* :prescript
@ 1999-03-11  1:05 Stainless Steel Rat
  1999-03-11 15:37 ` :prescript empiric
  1999-03-14 16:14 ` :prescript Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 12+ messages in thread
From: Stainless Steel Rat @ 1999-03-11  1:05 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Has anyone figured out how to get ssh port redirections working with
:prescript?  Every variation of the following that I can think of fails
with various errors around the ssh command.

 '(nnmail-spool-file
   (quote
    ((file)
     (pop :server localhost :port 1110 :prescript "ssh -x +C -f peorth.gweep.net -L 1110:peorth.gweep.net:110 sleep 30; sleep 1")
     )))
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE25xbugl+vIlSVSNkRAppQAKCoinhhNRuHHBDOFMDmpkMTgvH6oQCg473k
CsXGofzDvs+5mmCTmoSg2dc=
=3dbp
-----END PGP SIGNATURE-----

-- 
Rat <ratinox@peorth.gweep.net>    \ Do not use Happy Fun Ball on concrete.
Minion of Nathan - Nathan says Hi! \ 
PGP Key: at a key server near you!  \ 


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1999-03-14 16:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-11 15:59 :prescript John Saylor
1999-03-11 16:36 ` :prescript Shaun Lipscombe
1999-03-11 16:46   ` :prescript Kai.Grossjohann
1999-03-11 22:13     ` :prescript Katsumi Yamaoka
1999-03-12  0:55       ` :prescript Stainless Steel Rat
1999-03-12  1:29         ` :prescript Neil Crellin
1999-03-13  3:53         ` :prescript Stainless Steel Rat
1999-03-13  4:07           ` :prescript Stainless Steel Rat
1999-03-14 16:12           ` :prescript Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
1999-03-11  1:05 :prescript Stainless Steel Rat
1999-03-11 15:37 ` :prescript empiric
1999-03-14 16:14 ` :prescript Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).