Sujet : Re: minicrypt
De : news0 (at) *nospam* octade.net (Byrl Raze Buckbriar)
Groupes : sci.cryptDate : 13. Oct 2024, 06:31:35
Autres entêtes
Organisation : OCTADE
Message-ID : <70ca21af3b6136ed6ebfa7dae7749a3a$1@octade.net>
References : 1 2
User-Agent : OCTADE
Pièces jointes : unnamed (application/pgp-signature) On Fri, 11 Oct 2024 15:49:09 -0000
Stefan Claas <
pollux@tilde.club> wrote:
Stefan Claas wrote:
Hi all,
a little program for encrypting messages with Ed25519
and XChaCha20#poly1305.
https://github.com/706f6c6c7578/minicrypt
While it only handles one recipient, the nice thing is
that it only has two commands (-d decrypt, -g gen keys),
so that even Granny Smith can use it. :-)
Another nice thing is that it produces no meta data. :-)
Hope you like!
Example pub key:
-----BEGIN PUBLIC KEY-----
tRxoeAmoI+0ygSbUYHBRpbYBDkC9+Q3rSTchzSXFHrU> -----END PUBLIC KEY-----
Example message:
$ echo -n 'The quick brown fox jumps over the lazy dog.' | minicrypt stefan.pem
rtzEu9Ox1ZhlerV65F6KTw5xMR/a5RjlZP7swRYJ6BxUoZ0BIOQiQL7YXmahUmxI
Qcp9vYbhLT3o8rpRtdaxlFBiV5kIZTMIccd3Jq9wywM3Ws6fINauH4JDlM7RmWnU
ImRTdPacNNKevavohHPFFO5NWug>
(shorter than an age or GnuPG message. :-))
--
Regards
Stefan
What if Granny is not a golang programmer? How then would Granny proceed?How does Granny download and include the golang modules required to compile this?
How does Granny configure the GOROOT and GOPATH env variables?
Answers like, 'Become a go programmer', and 'Read the manual' are not valid.
If Granny is going to use it, she needs a quick and simple solution.
Here is my guess on how to start:
$ go mod init minicrypt
$ go mod tidy
A build or makefile would be useful to Granny.
It would be nice to have a makefile that sets up the GOPATH and GOROOT in the local directory then runs goget, gomod and build. Trying to configure all of that manually is confusing and error-prone for non-go programmers.
-- Byrl Raze Buckbriar . OCTADE . < https://octade.net > Hacker Hotline . voice & SMS . (781) OCT-AGON KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >