Earlier quoted context omitted.
Yeah, the OpenSSL CLI sucks. So what's to be done? Sure, we can build a 25519-specific tool with a less footgun-y interface. Fine, whatever, for that one use case. Or we can build an alternative OpenSSL CLI that explodes OpenSSL and its numerous useful features in a general way and helps fix lots of use cases.
Nothing is to be done. Just don't use the OpenSSL CLI. It's a deeply cursed concept for a tool!
Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
21–30 of 61 posts
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#22Earlier quoted context omitted.
Nothing is to be done. Just don't use the OpenSSL CLI. It's a deeply cursed concept for a tool!
A command like cryptography swiss army knife useful though. If not openssl, then what?
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#23Why not zoidbe... I mean, why not open ssh? It's literally a CLI that does every crypto operation with every primitive (except some PQC)?
If you mean the OpenSSL CLI, it's hard to think of a more footgun-y cryptographic tool than the one that: * defaults to unauthenticated encryption * buries its one authenticated mode * requires explicit command-line nonces * defaults to an MD5 KDF You could probably keep going for another 10 bullets. Never use the OpenSSL CLI for anything other than TLS stuff.
You can also use age[1] to encrypt payloads targeting ssh public keys. And decrypt using ssh private keys.
[1] https://github.com/FiloSottile/age>
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#24Earlier quoted context omitted.
> I'm curious, what do you actually use it for? FTA: > These tools allow lib25519 to be easily used from shell scripts. I've never used ed25519-cli, but not having to use a library is nice for someone who isn't a programmer.
The Venn diagram of "not a programmer" and "can safely use Ed25519" is two non-overlapping circles.
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#25Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#26Earlier quoted context omitted.
I'm curious, what do you actually use it for? I'd have otherwise guessed that this tool mainly exists just to test lib25519. Personally I'd only ever want a library, or some higher-level tool. A CLI tool that just does raw signing feels like a weird (and footgun-shaped) middle ground.
It's why no one has succeeded in replacing GPG: you need a lot of systems to work in order to have an actual viable one, the ability to spit out signatures from keys is required but not sufficient.
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#27Why not zoidbe... I mean, why not open ssh? It's literally a CLI that does every crypto operation with every primitive (except some PQC)?
If you mean the OpenSSL CLI, it's hard to think of a more footgun-y cryptographic tool than the one that: * defaults to unauthenticated encryption * buries its one authenticated mode * requires explicit command-line nonces * defaults to an MD5 KDF You could probably keep going for another 10 bullets. Never use the OpenSSL CLI for anything other than TLS stuff.
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#28Earlier quoted context omitted.
It's why no one has succeeded in replacing GPG: you need a lot of systems to work in order to have an actual viable one, the ability to spit out signatures from keys is required but not sufficient.
GPG is pervasive for the same reason git is pervasive: network effects. There are plenty of better alternatives.
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#29Earlier quoted context omitted.
> I'm curious, what do you actually use it for? FTA: > These tools allow lib25519 to be easily used from shell scripts. I've never used ed25519-cli, but not having to use a library is nice for someone who isn't a programmer.
The Venn diagram of "not a programmer" and "can safely use Ed25519" is two non-overlapping circles.
Re: Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)
#30Sounds like the perfect place to embed credential stealing malware. Good thing they publish their code on an independent third-party public code sharing platform. Oh wait...