edky
Convert Ed25519 public keys between encodings
TLDR
SYNOPSIS
edky [options] [command] [args]
DESCRIPTION
edky (pronounced "ed-key") converts Ed25519 public keys between common encoding formats used across cryptography and peer-to-peer stacks. It is available as a command-line tool and as libraries for Rust, TypeScript/JavaScript, Dart, Python, and Ruby.Supported encodings for --from / --to include hex / base16, base32z, base58, base64, base64url, multibase, and ecosystem aliases such as iroh, libp2p, ipfs, near, openssh, and asimov. Subcommands are list (enumerate formats), convert (re-encode keys), and parse (validate and inspect keys).Install the CLI via Cargo with the cli feature (cargo install edky --locked --features=cli) or cargo binstall edky. Default input and output encoding for convert/parse is hex when not specified.
PARAMETERS
list
Print supported public key encoding format names.convert [-f FROM] [-t TO] [INPUTS…]
Convert each input key from encoding FROM to encoding TO. Defaults: hex → hex.parse [-f FROM] [INPUTS…]
Parse keys in encoding FROM (default hex).-f, --from FORMAT
Input encoding format.-t, --to FORMAT
Output encoding format (convert only).-d, --debug
Enable debugging output.-v, --verbose
Increase verbosity (repeatable).-V, --version
Print version information.--license
Show license information.--color auto|always|never
Control color output (default auto).-h, --help
Print help.
CAVEATS
Operates on public keys only; it does not convert private keys or sign data. Encoding aliases may map to the same wire format (for example iroh and base32z, or libp2p / ipfs / multibase for multibase-encoded DID keys). Invalid input length or alphabet for the chosen format causes an error.
HISTORY
edky is public-domain (Unlicense) software by Arto Bendiken, aimed at interop among ASIMOV, IPFS, Iroh, libp2p, NEAR, OpenSSH, and related Ed25519 encodings.
SEE ALSO
ssh-keygen(1), age-keygen(1), openssl(1)
