[9fans] secretpem(1)
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
[9fans] secretpem(1)         


Author: lucio
Date: Jun 3, 2008 10:28

It's undocumented and no sources seems to be available for it. I was
hoping to learn something from it, so in my opinion it would be
preferable if somebody located the sources and added them to the
distribution. If not, then it may make sense to drop secretpem from
the distribution.

++L
4 Comments
Re: [9fans] secretpem(1)         


Author: Pietro Gagliardi
Date: Jun 3, 2008 16:26

I have a program grepman that searches the actual man pages rather
than just the index (which is what lookman does). It turned up
nothing. The First Edition manual, which Uriel hosts, also has
nothing. I can't seem to figure out what this does.

On Jun 3, 2008, at 3:49 AM, lucio@proxima.alt.za wrote:
> It's undocumented and no sources seems to be available for it. I was
> hoping to learn something from it, so in my opinion it would be
> preferable if somebody located the sources and added them to the
> distribution. If not, then it may make sense to drop secretpem from
> the distribution.
>
> ++L
>
>
3 Comments
Re: [9fans] secretpem(1)         


Author: Russ Cox
Date: Jun 4, 2008 07:48

> I have a program grepman that searches the actual man pages rather
> than just the index (which is what lookman does). It turned up
> nothing. The First Edition manual, which Uriel hosts, also has
> nothing. I can't seem to figure out what this does.

cpu%% auth/secretpem
usage: auth/secretpem key.pem > /mnt/factotum/ctl
cpu%%

The mere mention of factotum should have told you that
it wasn't from the first edition, or even the third.
"man pem" will explain what PEM format is, and point
you at rsa(8). At that point a reasonable guess is that
it converts RSA-format PEM keys (like you'd have if you
generated an SSH key on Unix) into factotum format.

Let's see.
Show full article (1.58Kb)
2 Comments
Re: [9fans] secretpem(1)         


Author: lucio
Date: Jun 4, 2008 10:27

> Perhaps it predates the more general pemdecode and asn12rsa.
> That pipeline should answer the original poster (Lucio?)'s
> question about its implementation.

That's my diagnosis, too. I was looking for PEM implementations and
that one stood out as a very lonesome, abandoned item :-)

If no sources can be tracked down, then I guess it should simply be
dispensed with.

In passing, it will probably take me a lifetime, but I'm working on a
full PEM and S/MIME library/implementation/whatever. What slows me
down even further than is my natural habit was looking at OpenSSL for
guidelines (a whole lot of DES alternatives that I can't find
elsewhere). The stuff needs rototilling in a massive way. Like, Eric
Young's (or is it Sun Microsystems's?) des(1) includes uu(en|de)code
code in the base program :-(

I guess it helps that occasionally I come across uuencoded data, but
it adds to the programming overheads.

++L
1 Comment
Re: [9fans] secretpem(1)         


Author: geoff
Date: Jun 4, 2008 14:42

openssl is an attractive nuisance, in the legal sense.
it's best avoided as a source of code.
no comments