| ▲ | Show HN: Edky, a CLI to convert Ed25519 public keys from one encoding to another(github.com) | ||||||||||||||||
| 6 points by arto 4 hours ago | 3 comments | |||||||||||||||||
Everything increasingly runs on Ed25519 keypairs, but Ed25519 public keys can be encoded as text in dozens of surface-incompatible different ways: hexadecimal, Base64 (OpenSSH), Base32z (iroh, pkdns), Base58 (NEAR), and Multibase (IPFS, libp2p), just for starters. Edky is a command-line tool and Rust library that converts between these Ed25519 surface encodings, aiding use of the same underlying keypair across e.g. an iroh endpoint, a libp2p peer, or a NEAR Protocol account. (Surprisingly, a conversion utility like this didn't yet exist!) | |||||||||||||||||
| ▲ | raphinou 3 hours ago | parent [-] | ||||||||||||||||
Interesting. I'm using ed25519 keys in my open source project [1] to sign GitHub releases (amongst other things) and the encoding question appeared during the development. I settled on supporting reading ssh keys, but saving keys in a specific format. I'll need to have a look to possible revisit my choices as it is developed in rust too. Sources at https://github.com/asfaload/asfaload | |||||||||||||||||
| |||||||||||||||||