logoalt Hacker News

Ed25519-CLI – command-line interface for the Ed25519 signature system (2024)

96 pointsby INGELRII12/28/202540 commentsview on HN

Comments

alexjurkiewiczlast Saturday at 10:50 PM

(2024)

My favourite part of these tools is the zany use of numbered file descriptors. `keypair` outputs the public key on fd 5 and secret key on fd 9. But signing reads the secret key on fd 8, while verification reads the public key on fd 4! Why aren't they the same?? I have to read the manpage every time.

show 6 replies
PunchyHamsteryesterday at 8:29 AM

> It writes the public key to file descriptor 5, and then writes the secret key to file descriptor 9.

Is the project trying to compete with GPG for worst interface ? Magic numbers BAD, especially in something that will mostly be used in scripts

why-o-whyyesterday at 12:58 AM

Why not zoidbe... I mean, why not open ssh? It's literally a CLI that does every crypto operation with every primitive (except some PQC)?

show 1 reply
WiSaGaNyesterday at 4:04 AM

I can't find the source. Anyone can point to it?

mrbluecoatyesterday at 1:59 AM

Sounds 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...

show 1 reply
essephyesterday at 12:59 AM

> feels like a weird (and footgun-shaped) middle ground.

hmm

> It is a weird and footgun-shaped middle ground.

Oh? HMMMMM :|