frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Correct Hooks – Easy webhook auth with asymmetric signatures

https://github.com/handlewithcarecollective/correct-hooks
4•pdiffles•46m ago
A while back, I needed to make a webhook system for a project I was working on. I pretty quickly found out that webhook auth is not an entirely solved problem with people frequently implementing DIY solutions. I also found out that while using some form of asymmetric signature (eg. oauth tokens) is common with regular api auth, most webhook producers use symmetric signatures (HMAC) instead.

This bugged the hell out of me because the webhook functionality I needed was pretty basic, but using symmetric signatures, which requires the webhook producer to hold onto a secret for every endpoint they send webhooks to, introduced a major secret management problem. Designing and implementing novel secret management techniques for my web app felt like a bad idea, so I started looking into why so many people use symmetric signatures instead of asymmetric signatures.

I frequently saw performance listed as a problem with asymmetric signatures, so I thought this might be why they weren't more broadly used, but a quick benchmark proved that wrong (HMAC signing is much faster, but ed25519 is still fast enough that it doesn't matter).

It seemed like the biggest barrier to using asymmetric signatures was added development complexity. There are small but important details that need to be included in an asymmetric signature, getting asymmetric keys into the right format is more complicated than for symmetric keys, and the crypto libraries you're working with can have sharp edges.

That complexity makes it more difficult for a webhook producer to implement (and document) asymmetric signatures, but then all of their consumers also have to implement the verification step (hopefully correctly). Building a library that does these steps for you is difficult because it has to be available in any language a webhook consumer might be using, not just the language the webhook producer uses.

But it kept bugging me that we're all using a less good form of authentication just because we haven't packaged up the steps to sign and verify an asymmetric signature that is secure for webhooks, so now I've built that library. With a few language implementations to serve as a template, replicating this in enough languages that the large majority of developers can use it feels totally doable, and I am hoping to get several more languages implemented over the next few weeks.

Comments

kburym•41m ago
A set of cross-language libraries that perform asymmetric signing, verification, and key management for webhook authentication.

Correct Hooks makes one of the most secure authentication mechanisms for webhooks the easiest to implement for both webhook producers and consumers.

pdiffles•34m ago
Yep! That's it

EPA backtracks on claims US has phased out toxic PFAS compounds

https://www.theguardian.com/environment/2026/oct/18/epa-pfas-compounds-toxins
2•howard941•3m ago•0 comments

Show HN: IP Lookup API

https://companyofcraft.com/ip-lookup
1•vaibhavacharya•3m ago•0 comments

What the heck is /pkg?

https://anderegg.ca/2026/10/18/what-the-heck-is-pkg
1•GavinAnderegg•4m ago•0 comments

Six wild ideas for perpetuating your mind

https://www.technologyreview.com/2026/10/15/1145819/six-wild-ideas-perpetuating-your-mind-cogniti...
1•joozio•4m ago•0 comments

Mitos editor is a fork of Helix

https://mitos.computer/
1•ambigious7777•6m ago•1 comments

The Last Skeuomorph in iOS?

https://www.jarrettfuller.blog/2026/09/camera-shutter-skeuomorph/
1•karakoram•6m ago•2 comments

AI Is the Uber Moment for Mathematics

https://greyenlightenment.com/2026/09/27/ai-is-the-uber-moment-for-mathematics/
1•paulpauper•6m ago•0 comments

Men Can't Stop Faking How Much They Know About AI

https://www.wired.com/story/men-cant-stop-faking-how-much-they-know-about-ai/
2•ceejayoz•10m ago•0 comments

Creating and Rendering a Bitmap Font

https://www.alexghr.me/blog/custom-bitmap-font/
1•alexghr•11m ago•0 comments

Whac-a-Mole: The Arcade Classic in Motion

https://www.nexplayground.com/games/whac-a-mole-on-nex-playground
1•eustoria•13m ago•0 comments

Envoy Admin – a real-time terminal UI for the Envoy admin API

https://github.com/regeda/envoyadmin
1•regeda•13m ago•0 comments

Artifacts Driven Development

https://kosuke.ai/blog/manifesto
1•filopedraz•13m ago•0 comments

Bullshit Jobs: David Graeber's Anthropology of Meaningless Work

https://www.polscience.co.in/2026/09/bullshit-jobs-david-graebers.html
1•eustoria•14m ago•1 comments

Show HN: CLI for your financial data (and Costco and Amazon)

https://kilianc.github.io/fin/
2•kilianciuffolo•14m ago•0 comments

AI won't kill jobs. Bad team design will

https://www.cio.com/article/4236023/ai-wont-kill-jobs-bad-team-design-will.html
1•eustoria•15m ago•0 comments

A California town's beaches are washing away. Can its residents turn the tide?

https://www.theguardian.com/us-news/2026/oct/18/california-beach-erosion-san-clemente
1•howard941•15m ago•0 comments

Show HN: Turbo Flow v5.2

https://www.turboflow.online/
1•marcuspat•16m ago•0 comments

Polish decision model basal-Omni ranks #1 open-weight on JevBench

https://basal.si5.pl/en/
2•zaiste•18m ago•0 comments

GLM-5.3-Flash TensorFold Pipeline and Converter

https://github.com/yeabat8tcap/glm-5.3-flash-tensorfold
1•Yeabu369•26m ago•0 comments

Show HN: Chest – a tiny, open-source menu bar manager for macOS 27

https://chest.boringbar.app/
2•a-ve•27m ago•0 comments

Show HN: ThinkBoard – Summon an Obsidian canvas above your desktop with a hotkey

https://github.com/vestigecounty/thinkboard
1•sev_verso•27m ago•0 comments

Doorman Fallacy

https://en.wikipedia.org/wiki/Rory_Sutherland_(advertising_executive)
2•CharlesW•28m ago•0 comments

Spring Flight

https://fabulistmagazine.com/spring-flight/
1•jruohonen•28m ago•0 comments

Namecheap just seized and disabled all my domains

https://www.reddit.com/r/sysadmin/comments/1x8cycd/namecheap_just_seized_and_disabled_all_my_doma...
4•sashk•28m ago•1 comments

Agentic Scientist, Orchestrator for Automated Scientific (Co-)Discovery

https://github.com/SakanaAI/AI-Scientist-v3
1•merqurio•28m ago•0 comments

A reusable agent skill for auditing and rewriting website copy

https://github.com/wvvb/website-coprighting
1•ryzmdotdev•29m ago•0 comments

Show HN: Find your film roots by analyzing your Letterboxd data

https://cinetrii.com/roots
1•everling•31m ago•0 comments

Ghidra and CBMC = Assembly Model Checker

https://www.philipzucker.com/asmc_cpp/
2•philzook•32m ago•0 comments

Hypermarket an open hyperliquid trading client

https://hypermarket.8tcap.com
1•Yeabu369•33m ago•0 comments

AppStore – Waiting for Review

1•robert_uniqid•35m ago•1 comments