Cryptographic taps
Each tap, the tag encrypts its ID and counter and signs them with an AES key that never leaves the chip.
Knura is an open-source platform for NTAG 424 DNA tags. It checks that every tap came from a genuine tag, then runs the action you set up: a webhook, a smart-home routine, your own code.
Alpha · Apache-2.0 · v0.5.0-alpha on GitHub
# a phone opens the link the tag just wrote $ curl 'https://your-server/tap?e=EF963FF7828658A599F3041510671E88&c=94EED9EE65337086' {"status":"ok","uid":"04DE5F1EACC040","counter":61} # someone opens the same link again $ curl 'https://your-server/tap?e=EF963FF7828658A599F3041510671E88&c=94EED9EE65337086' {"status":"replay","uid":"04DE5F1EACC040","counter":61,"detail":"counter already used"}
A plain NFC sticker holds a link anyone can copy. Knura tags prove themselves on every tap, so copied, forged and reused links are refused before any action runs.
Each tap, the tag encrypts its ID and counter and signs them with an AES key that never leaves the chip.
Every tap carries a counter that must go up. A link opened twice, from history or a screenshot, is refused.
Each tag's keys come from one master key and the tag's ID. Copying one tag's keys doesn't help with any other.
knurgN runs a rule for each verified tag, with retries and a 30 second cutoff so nothing runs late.
Tags show up as contact sensors in Apple Home, Google Home, Alexa and SmartThings through the Matter bridge.
Runs on a home computer, a cloud server or Kubernetes. The tap daemon uses only the JDK.
The counter only moves forward, so an old link is useless the second time.
Keys are worked out from your master key and each tag's ID, following NXP AN10922.
A tap can turn on lights or unlock a door through Matter or Home Assistant.
Every event uses the Standard Webhooks format, so the receiver can check it came from your Knura.
Tag setup, tap checks, signed webhooks, Matter, Home Assistant, the resolver and the Android app all work today. See the roadmap
Set up with knurctl or the Android app, the tag writes a fresh link for every tap: its ID and counter, encrypted, plus a code only that tag can make.
The daemon works out that tag's key, checks the signature and refuses any counter it has already seen. Phones get a small "Tap verified" page.
Only verified, first-time taps reach the actions engine, which looks up the tag's rule and sends a signed event.
| ok | 200 | Genuine tag and a new counter. The action runs. |
| replay | 409 | The link was opened before. Nothing runs. |
| rejected | 403 | Bad signature or unknown tag: a forged or edited link. |
| malformed | 400 | Not a tap link at all. |
A JSON POST to any address you choose.
Tags as contact sensors in every major home app.
Run automations through HA webhooks, no login token.
Set up tags with your phone's NFC.
Publish taps to your broker.
A ready-made node for tap flows.
Push a notification to your phone.
Start a local command on a tap.
Host everything yourself for free, or let us run the server side for you.
Your server, your keys. Runs at home, in the cloud or on Kubernetes.
We check your taps for you. Pair your phone, choose actions on a dashboard, link your home.
29 mm round NTAG 424 DNA tags, ready to claim, with icon sticker sheets.
NXP NTAG 424 DNA tags. They can sign every tap with a key that never leaves the chip. Plain NTAG 213/215 stickers can't, so Knura doesn't use them.
No. Each link carries a counter that has to go up. Once a link is used, opening it again returns "replay" and nothing runs.
Not once the hosted account opens. Today you run knurd on a home computer or cloud server, and Tailscale Funnel or any HTTPS proxy lets phones reach it.
Tags point at tap.knura.io, which forwards each tap to wherever your server lives now. You never have to rewrite a tag.
Any iPhone or Android phone with NFC can tap a tag and see the result. Setting tags up with a phone needs the Android app, or a USB reader such as the ACR122U.
Yes. The software is open source under Apache-2.0. The hosted account will have a free plan and paid plans for more tags.
Set up a tag, tap it with your phone and watch your first verified action run. The source is on GitHub.