frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: passkey-go A Go library for streamlined Passkey (WebAuthn) verification

https://github.com/aethiopicuschan/passkey-go
1•aethiopicuschan•7mo ago
Hey Hacker News,

I'm thrilled to introduce passkey-go, a new Go library I built to make implementing server-side WebAuthn (Passkey) verification significantly simpler and more robust in your Go applications.

While WebAuthn offers powerful, phishing-resistant authentication, its specification can be quite complex to implement correctly on the server side. My goal with passkey-go was to abstract away the low-level parsing and cryptographic details, providing both a high-level, easy-to-use API for common tasks and the flexibility for more advanced, step-by-step verification.

Here's what passkey-go offers:

Effortless Verification: The VerifyAssertion function provides a single, high-level call to validate authentication responses, handling all cryptographic checks, origin verification, and sign count validation for you.

Flexible Registration: For registration, the library offers clear, sequential steps to parse attestation objects, extract authenticator data, and convert COSE keys to *ecdsa.PublicKey for storage.

Granular Control: If you need more control, you can use the ParseAssertion, ParseClientDataJSON, VerifyAssertionSignature, and CheckSignCount functions to perform verification step-by-step.

Secure by Design: It focuses on handling the core verification logic correctly, ensuring signature validation, challenge matching, and preventing replay attacks through signCount checks.

Clear Error Handling: PasskeyError types help you map common WebAuthn-related issues directly to appropriate HTTP statuses, simplifying API error responses.

Minimalist Design: passkey-go focuses solely on the WebAuthn verification logic. It doesn't dictate how you store challenges or credentials, giving you full control over your user and data management.

ES256 Support: Adheres to WebAuthn recommendations by exclusively supporting ES256 (ECDSA w/ SHA-256) for robust security.

Go-Idiomatic: Designed with Go developers in mind, providing clear function signatures and standard error handling.

This library handles the complex parts of WebAuthn verification, allowing you to integrate secure Passkey authentication quickly without getting bogged down in the spec's intricacies.

You can find the repository and more detailed usage examples here: https://github.com/aethiopicuschan/passkey-go

I'm keen to hear your thoughts, feedback, and any suggestions for future improvements. Feel free to open issues or pull requests on GitHub!

Thanks for checking it out!

Facebook seemingly randomly bans tons of users

https://old.reddit.com/r/facebookdisabledme/
1•dirteater_•52s ago•1 comments

Global Bird Count

https://www.birdcount.org/
1•downboots•1m ago•0 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
2•soheilpro•3m ago•0 comments

Jon Stewart – One of My Favorite People – What Now? With Trevor Noah Podcast [video]

https://www.youtube.com/watch?v=44uC12g9ZVk
1•consumer451•5m ago•0 comments

P2P crypto exchange development company

1•sonniya•19m ago•0 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
1•jesperordrup•23m ago•0 comments

Write for Your Readers Even If They Are Agents

https://commonsware.com/blog/2026/02/06/write-for-your-readers-even-if-they-are-agents.html
1•ingve•24m ago•0 comments

Knowledge-Creating LLMs

https://tecunningham.github.io/posts/2026-01-29-knowledge-creating-llms.html
1•salkahfi•25m ago•0 comments

Maple Mono: Smooth your coding flow

https://font.subf.dev/en/
1•signa11•31m ago•0 comments

Sid Meier's System for Real-Time Music Composition and Synthesis

https://patents.google.com/patent/US5496962A/en
1•GaryBluto•39m ago•1 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
4•keepamovin•40m ago•1 comments

Show HN: Empusa – Visual debugger to catch and resume AI agent retry loops

https://github.com/justin55afdfdsf5ds45f4ds5f45ds4/EmpusaAI
1•justinlord•42m ago•0 comments

Show HN: Bitcoin wallet on NXP SE050 secure element, Tor-only open source

https://github.com/0xdeadbeefnetwork/sigil-web
2•sickthecat•45m ago•1 comments

White House Explores Opening Antitrust Probe on Homebuilders

https://www.bloomberg.com/news/articles/2026-02-06/white-house-explores-opening-antitrust-probe-i...
1•petethomas•45m ago•0 comments

Show HN: MindDraft – AI task app with smart actions and auto expense tracking

https://minddraft.ai
2•imthepk•50m ago•0 comments

How do you estimate AI app development costs accurately?

1•insights123•51m ago•0 comments

Going Through Snowden Documents, Part 5

https://libroot.org/posts/going-through-snowden-documents-part-5/
1•goto1•51m ago•0 comments

Show HN: MCP Server for TradeStation

https://github.com/theelderwand/tradestation-mcp
1•theelderwand•54m ago•0 comments

Canada unveils auto industry plan in latest pivot away from US

https://www.bbc.com/news/articles/cvgd2j80klmo
3•breve•55m ago•1 comments

The essential Reinhold Niebuhr: selected essays and addresses

https://archive.org/details/essentialreinhol0000nieb
1•baxtr•58m ago•0 comments

Rentahuman.ai Turns Humans into On-Demand Labor for AI Agents

https://www.forbes.com/sites/ronschmelzer/2026/02/05/when-ai-agents-start-hiring-humans-rentahuma...
1•tempodox•59m ago•0 comments

StovexGlobal – Compliance Gaps to Note

1•ReviewShield•1h ago•1 comments

Show HN: Afelyon – Turns Jira tickets into production-ready PRs (multi-repo)

https://afelyon.com/
1•AbduNebu•1h ago•0 comments

Trump says America should move on from Epstein – it may not be that easy

https://www.bbc.com/news/articles/cy4gj71z0m0o
7•tempodox•1h ago•4 comments

Tiny Clippy – A native Office Assistant built in Rust and egui

https://github.com/salva-imm/tiny-clippy
1•salvadorda656•1h ago•0 comments

LegalArgumentException: From Courtrooms to Clojure – Sen [video]

https://www.youtube.com/watch?v=cmMQbsOTX-o
1•adityaathalye•1h ago•0 comments

US moves to deport 5-year-old detained in Minnesota

https://www.reuters.com/legal/government/us-moves-deport-5-year-old-detained-minnesota-2026-02-06/
9•petethomas•1h ago•3 comments

If you lose your passport in Austria, head for McDonald's Golden Arches

https://www.cbsnews.com/news/us-embassy-mcdonalds-restaurants-austria-hotline-americans-consular-...
2•thunderbong•1h ago•0 comments

Show HN: Mermaid Formatter – CLI and library to auto-format Mermaid diagrams

https://github.com/chenyanchen/mermaid-formatter
1•astm•1h ago•0 comments

RFCs vs. READMEs: The Evolution of Protocols

https://h3manth.com/scribe/rfcs-vs-readmes/
3•init0•1h ago•1 comments