Hasty Briefsbeta

Bilingual

Ed25519-CLI – command-line interface for the Ed25519 signature system

4 months ago
  • #Ed25519
  • #Cryptography
  • #CLI
  • ed25519-cli is a command-line interface for the lib25519 implementation of the Ed25519 signature system.
  • Key generation is done via `ed25519-keypair`, which outputs public and secret keys to specified file descriptors.
  • Signature generation is performed by `ed25519-sign`, which uses a secret key to sign a message read from standard input.
  • Signature verification and message recovery are handled by `ed25519-open`, which checks a signed message against a public key.
  • Each tool exits with a nonzero status on failure and 0 on success, facilitating use in shell scripts.
  • Exit code 100 from `ed25519-open` specifically indicates an invalid signature.