frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Edky, a CLI to convert Ed25519 public keys from one encoding to another

https://github.com/artob/edky
6•arto•2h ago
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!)

    $ cargo binstall -y edky

    $ edky convert -f iroh -t libp2p 47pjoycnsrfmxikm95jh13y88e8qnhzu5kungjpxyepgt7a8krpy
    z6MktwupdmLXVVqTzCw4i46r4uGyosGXRnR3XjN4Zq7oMMsw

    $ edky convert -f libp2p -t iroh z6MktwupdmLXVVqTzCw4i46r4uGyosGXRnR3XjN4Zq7oMMsw
    47pjoycnsrfmxikm95jh13y88e8qnhzu5kungjpxyepgt7a8krpy

    $ edky convert -f near -t hex ed25519:FVen3X669xLzsi6N2V91DoiyzHzg1uAgqiT8jZ9nS96Z
    d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a

    $ edky convert -f hex -t near d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a
    ed25519:FVen3X669xLzsi6N2V91DoiyzHzg1uAgqiT8jZ9nS96Z

Comments

raphinou•1h ago
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.

1: https://www.asfaload.com

Sources at https://github.com/asfaload/asfaload

arto•1h ago
Cool project! Note that from the encodings currently implemented in Edky, OpenSSH's encoding is the most complicated to encode/decode. If anybody would need to be working with your public keys and signatures outside your own code base, I'd suggest the simplest would be to keep to hexadecimal or Base64(Url).
raphinou•38m ago
Thanks for the appreciation and the tip! I'll keep an eye on edky!

Asfaload is easy to selfhost, if it is of any interest to you.

Show HN: A self-running space economy SIM in Rust and Bevy

https://github.com/Kalcode/spaceprojectsim
46•kalcode•2h ago•13 comments

Show HN: Justif – Knuth-Plass justification and microtypography for the web

https://justif.lyall.co/
12•lyall•4d ago•2 comments

Show HN: Read the Tape – Wordle for daytrading, five blind S&P 500 charts a day

https://readthetape.cc/
8•will_asouka•1d ago•3 comments

Show HN: CodeAlmanac – Karpathy-style codebase wiki from your conversations

https://github.com/AlmanacCode/codealmanac/
27•divitsheth•3h ago•12 comments

Show HN: Imagin Raw – A 9MB Open-Source Alternative to Adobe Bridge for Mac

https://github.com/cristibaluta/Imagin-Raw
43•cristi_baluta•3h ago•15 comments

Show HN: Word in Web – Near MS Word Parity Docx Editor in Web

https://word-in-web.com/
13•theRealestAEP•3h ago•1 comments

Show HN: Language Model Builder (an app to learn about and build models)

https://languagemodelbuilder.com/
9•felixrieseberg•3h ago•1 comments

Show HN: Datalevin – a simple, fast, and versatile Datalog database

https://github.com/datalevin/datalevin
3•huahaiy•55m ago•0 comments

Show HN: OSS Cross-Harness self hosted registry and analytics for AI Agents

https://github.com/Observal/Observal
18•haz3-jolt•4h ago•1 comments

Show HN: Designing a Static Site Generator for iPhone

https://hypertemplates.net/blog/designing-an-ssg-for-iphone/
5•calebhailey•2h ago•0 comments

Show HN: TokenPath – token-level citations for LLM output, read from attention

https://tokenpath.ai
4•apoorvumang•1h ago•0 comments

Show HN: DocCharm – The help center that keeps itself up to date

https://doccharm.com/
6•yakshaving_jgt•3h ago•1 comments

Show HN: In Meeting – A native macOS Mic/Cam observer for home automation

https://github.com/fellowgeek/in-meeting
6•pcbmaker20•3h ago•0 comments

Show HN: Explore 6048 YC companies as an interactive galaxy

https://artifacta.io/a/pg_x9pombpdybx90q2s16eu
34•jnakano89•2d ago•18 comments

Show HN: Observability for Coding Agents and LLM Applications

https://telemetry.dev/
2•ephraimduncan•1h ago•0 comments

Show HN: Posecode, a text language and renderer for human movement

https://www.posecode.org/play
5•brnbrn•1h ago•0 comments

Show HN: Edky, a CLI to convert Ed25519 public keys from one encoding to another

https://github.com/artob/edky
6•arto•2h ago•3 comments

Show HN: X Downloader – save public X videos, MP3s and screenshots

https://xdownloader.site/
2•cser700•1h ago•1 comments

Show HN: Browser-based 3D terrain reconstruction

https://github.com/topherchris420/lop-nur-twin
4•ciao_chris•2h ago•0 comments

Show HN: NoopJS – A compiler that ships 0 KB JavaScript for static pages

https://github.com/noop-js/noopjs
2•pullrun•2h ago•0 comments

Show HN: How to fix blank pages in a PDF file

https://www.3emalak.com/p/convert-articles-to-epub-pdf-word-build.html
2•omeraliamm•2h ago•0 comments

Show HN: Gift Ideas Tool on Wallble

https://www.wallble.com/gift-ideas
2•zainalabdin878•2h ago•0 comments

Show HN: Tsaagan – Browser control for AI agents that verifies every action

https://github.com/michaelolmos/tsaagan
2•molmos•2h ago•0 comments

Show HN: Fractal – recursive agent loops for complex, multi-step work

https://github.com/plasma-ai/fractal
14•ryanpettry•2h ago•1 comments

Show HN: PMG, open source package firewall

https://github.com/safedep/pmg
3•abhisek•4h ago•1 comments

Show HN: Term Sheets Against Humanity: VC card game where you read the partner

https://cards-against-capital.vercel.app/
3•Exorust•2h ago•0 comments

Show HN: threadfork – AI meeting notes that run on your Mac

https://www.threadfork.com/
10•smohan88•2h ago•0 comments

Show HN: GeoGuessr, but for Literature

https://litfinder.io/
2•argoss•2h ago•1 comments

Show HN: Aido – an AI companion for the pull requests your AI writes

https://github.com/aido-dev/aido
2•dvirdung•2h ago•0 comments

Show HN: Autoretrieval – Autoresearch for RAG Pipelines

https://github.com/daly2211/autoretrieval
3•Daly_chebbi•2h ago•1 comments