Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 42 |
Nodes: | 6 (0 / 6) |
Uptime: | 01:48:12 |
Calls: | 220 |
Calls today: | 1 |
Files: | 824 |
Messages: | 121,543 |
Posted today: | 6 |
Stefan Claas wrote:
Hi all,
a little program for encrypting messages with Ed25519
and XChaCha20#poly1305.
https://github.com/706f6c6c7578/minicrypt
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
Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
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.
Stefan Claas wrote:
Stefan Claas wrote:
Hi all,
a little program for encrypting messages with Ed25519
and XChaCha20#poly1305.
https://github.com/706f6c6c7578/minicrypt
My pub key, save it as stefan.pem:
-----BEGIN PUBLIC KEY-----
tRxoeAmoI+0ygSbUYHBRpbYBDkC9+Q3rSTchzSXFHrU=
-----END PUBLIC KEY-----
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!