* [9front] marshal(1) and pgp
@ 2024-10-05 13:00 chris
2024-10-05 13:33 ` Stanley Lieber
2024-10-17 20:04 ` mkf9
0 siblings, 2 replies; 3+ messages in thread
From: chris @ 2024-10-05 13:00 UTC (permalink / raw)
To: 9front
marshal(1) advertises the -pe and -ps flags to encrypt/sign the input.
The flags are indeed implemented (/sys/src/cmd/upas/marshal/marshal.c:389) using
a /bin/pgp (/sys/src/cmd/upas/marshal/marshal.c:1171) .
Does anyone know what this pgp exec is? Some historic relict?
I'm only aware of moody's https://github.com/majiru/pgp .
I see three options:
1. Remove those flags since there is no real standard pgp
2. Define/Ship a standard pgp for 9front
3. Move pgp logic into it's own more independent component
to be piped or offered through the mail client
(like an extra nedmail option or something like that)
(a better architecture?)
I would work out a patch if an appropiate solution is found.
I'm currently using moodys pgp with a patched marshal. Regarding 2.,
I don't think that the golang pgp implemenation would really fit into
the 9front release, since this would be the first golang project to
be part of the standard build.
Feel free to comment.
chris
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] marshal(1) and pgp
2024-10-05 13:00 [9front] marshal(1) and pgp chris
@ 2024-10-05 13:33 ` Stanley Lieber
2024-10-17 20:04 ` mkf9
1 sibling, 0 replies; 3+ messages in thread
From: Stanley Lieber @ 2024-10-05 13:33 UTC (permalink / raw)
To: 9front
https://marc.info/?l=9fans&m=114344225501836&w=2
i used to have this pgp 2.6.2 code, but evidently i've lost it. my recollection is that at the time i tried it out, it crashed a lot and didn't really work.
i alao have a vague recollection of an unfinished port of gnupg, but i can't remember who started it.
sl
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] marshal(1) and pgp
2024-10-05 13:00 [9front] marshal(1) and pgp chris
2024-10-05 13:33 ` Stanley Lieber
@ 2024-10-17 20:04 ` mkf9
1 sibling, 0 replies; 3+ messages in thread
From: mkf9 @ 2024-10-17 20:04 UTC (permalink / raw)
To: 9front
take a look at contrib, I recall some version did existed there.
walk contrib | grep '(ppg|gpg)'
Oct 5, 2024 4:33:56 PM chris@chrisfroeschl.de:
> marshal(1) advertises the -pe and -ps flags to encrypt/sign the input.
>
> The flags are indeed implemented
> (/sys/src/cmd/upas/marshal/marshal.c:389) using
> a /bin/pgp (/sys/src/cmd/upas/marshal/marshal.c:1171) .
>
> Does anyone know what this pgp exec is? Some historic relict?
>
> I'm only aware of moody's https://github.com/majiru/pgp .
>
> I see three options:
> 1. Remove those flags since there is no real standard pgp
> 2. Define/Ship a standard pgp for 9front
> 3. Move pgp logic into it's own more independent component
> to be piped or offered through the mail client
> (like an extra nedmail option or something like that)
> (a better architecture?)
>
> I would work out a patch if an appropiate solution is found.
>
> I'm currently using moodys pgp with a patched marshal. Regarding 2.,
> I don't think that the golang pgp implemenation would really fit into
> the 9front release, since this would be the first golang project to
> be part of the standard build.
>
> Feel free to comment.
>
> chris
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-17 20:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-05 13:00 [9front] marshal(1) and pgp chris
2024-10-05 13:33 ` Stanley Lieber
2024-10-17 20:04 ` mkf9
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).