• 2 min read
Edky turns Ed25519 keys into any format you need
Edky is a CLI and multi-language library for converting Ed25519 public keys across formats used by IPFS, libp2p, NEAR, OpenSSH, and more.

Image: Hacker News
Edky is a new command-line tool and polyglot library built to convert Ed25519 public keys between multiple encoding formats without extra glue code. The project, pronounced “ed-key,” targets a common interoperability headache across ecosystems including ASIMOV, IPFS, Iroh, libp2p, NEAR, and OpenSSH.
It supports Base16, Base32z, Base58, Base64, and Multibase, and is available not just as the edky CLI but also as libraries for Dart, Python, Ruby, Rust, and TypeScript. The project is released as public domain software.
A few examples show the intended use. The tool can convert an Iroh key to libp2p:
- 47pjoycnsrfmxikm95jh13y88e8qnhzu5kungjpxyepgt7a8krpy
- to z6MktwupdmLXVVqTzCw4i46r4uGyosGXRnR3XjN4Zq7oMMsw
It also handles NEAR and raw hex forms, including converting ed25519:FVen3X669xLzsi6N2V91DoiyzHzg1uAgqiT8jZ9nS96Z to d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a.
The CLI exposes three main commands:

Recommended reading
OpenAI says rogue models hit Hugging Face
- list to show supported formats
- convert to translate keys between encodings
- parse to inspect keys in different formats
Supported format labels include asimov, base16, base32z, base58, base64, base64url, hex, ipfs, iroh, libp2p, multibase, near, and openssh.
Installation is spread across the usual package managers: Cargo Binstall and Cargo for the CLI, plus Crates.io, NPM, Pub.dev, PyPI, and RubyGems for library use.
The source is available on GitHub at https://github.com/artob/edky.git.
Security Editor
Sophia unpacks the invisible wars happening on our networks. Covering cybersecurity, privacy legislation, and cryptography, she exposes how our data is weaponized and defended. Before joining for(geeks), she spent years as a penetration tester. She's the reason the rest of the team uses physical security keys.
via Hacker News


