Swapwell
The Swapwell Passkey Lock

Requirements and research

Everything the lock must do, every standard it must pass, and all the research behind it. Built only on open standards that no single company owns.

In design. These are open designs we are building and testing now. They are not for sale yet, and every spec below is a design target, not a tested rating.

Every part of the Passkey Lock laid out

Open passkeys, explained simply

What a passkey is

A secret key made on your phone or key fob. It never leaves the device. The lock sends a fresh challenge, your device signs it after you confirm with your face or fingerprint, and the lock checks the signature. Nothing reusable is ever sent.

Who owns the standard

No one company. Passkeys are FIDO2, written by the FIDO Alliance, and WebAuthn, a W3C web standard. Hundreds of companies built them together, and any device can follow them.

Nothing from Apple

We use no Apple Home Key, Wallet or HomeKit. Any phone that supports FIDO passkeys works, Android or iPhone, through the open standard alone.

Open code we build on

OpenSK (Rust, Apache 2.0) for the passkey code on the lock and libfido2 (BSD) for the hub and test bench. Our own code will be public domain.

Functional requirements

RequirementWhat it must do
F1 Face UnlockWakes on approach, checks a live face with depth and infrared, and unlocks in under 1 second. Works day or night. Up to 20 faces per lock.
F2 Hands-free entryUnlocks as an approved person walks up, with no phone, card or button.
F3 Passkey unlockOpens with any FIDO2 passkey on a phone or key fob, over NFC or Bluetooth, after the person confirms on their device.
F4 NFC cards and fobsAccepts MIFARE DESFire EV3 cards and FIDO2 NFC keys only. Never accepts 125 kHz proximity cards or plain card ID numbers.
F5 Bolt-tip sensorA Hall sensor in the deadbolt tip and a magnet in the strike plate confirm the door is fully shut and lined up before the bolt moves.
F6 Auto-lockLocks after the door is shut and no one is in front of it, after a delay the owner sets (30 seconds by default, 10 seconds to 10 minutes).
F7 Misalignment stopIf the door is not lined up, the bolt does not throw. If the bolt meets resistance, it pulls back, stays unlocked and alerts the hub within 5 seconds.
F8 Lock confirmedAfter locking, the sensor confirms the bolt is fully seated in the strike. A half-thrown bolt counts as a fault and sends an alert.
F9 Auto-lock switchA physical slide switch on the inside turns auto-lock on or off, with a small light and the same state shown on the hub.
F10 Sharing by linkThe owner makes a one-time invite link on the hub. The guest makes their own passkey with it. Access can be always, a schedule or one visit, and can be removed at any time.
F11 Inside exitThe inside thumb turn always works by hand, with no power and no sign-in. No one can ever be locked inside.
F12 Key backupA standard key cylinder that any locksmith can rekey.
F13 Entry logEvery unlock, lock, fault and access change is logged on the lock and hub, kept at home and readable by the owner.
F14 No app, no accountSet up and managed from the home hub's web page. No phone app, no online account, no cloud.

Security and privacy requirements

RequirementWhat it must do
S1 Keys stay in a secure chipPasskey and card keys live in a certified secure element (Common Criteria EAL5+ or better) and can't be read out.
S2 Face data stays on the lockFaces are stored only as an encrypted pattern inside the secure chip. No photos, no upload, no cloud, ever. Deleting a person wipes it.
S3 Spoof resistanceFace Unlock must pass ISO/IEC 30107-3 presentation attack testing (photos, screens, masks) at an outside lab. False accept rate 1 in 1,000,000 or better.
S4 Fair matchingMatching accuracy checked across ages, genders and skin tones against NIST methods, with results published.
S5 Relay protectionDistance checks and tight timing on NFC and Bluetooth, so an attacker can't relay a phone or card from far away.
S6 No shared secretsNo PIN codes, no fixed card numbers, no master keys. Every unlock is a fresh signed challenge.
S7 Signed firmwareOnly firmware signed by us installs. Updates come from the hub over the home network, and the owner approves each one.
S8 Open to testingFull source and designs public. Independent researchers attack each version before release, and we publish what they find.
S9 Tamper alertRemoving the outside reader or forcing the bolt sends an alert and wipes nothing a thief could use.
S10 Owner controlOnly the owner can add or remove people. Every change needs the owner's own passkey.

Power requirements

RequirementWhat it must do
P1 Two packsShips with 2 rechargeable lithium packs: one in the lock, one charging on the dock.
P2 USB-C dockThe dock charges a pack over USB-C in about 3 hours.
P3 Battery lifeAt least 3 months per pack with 20 entries a day and Face Unlock on. 12 months with Face Unlock off.
P4 Tool-free swapPull the low pack out from the inside and push in the charged one in under 10 seconds, with no tools and no lost settings.
P5 Low warningsWarns on the lock light and the hub at 20%, then each day at 10%.
P6 Dead batteryThe key and the inside thumb turn always work. A USB-C port on the outside can power the lock long enough to open it.
P7 Wired optionCan run from a low-voltage doorbell or 12 to 24 V wire, keeping a pack as backup.
P8 Battery safetyPacks pass UN 38.3 for shipping and the lock and dock meet IEC 62368-1 safety.

Mechanical requirements

RequirementWhat it must do
M1 StrengthDeadbolt meets ANSI/BHMA Grade 1 bolt strength and 250,000 cycle test.
M2 Fits standard doorsFits 1 3/8 to 2 1/4 inch doors with standard 2 3/8 or 2 3/4 inch backsets.
M3 WeatherOutside part rated IP65 and works from -30 to 60 C (-22 to 140 F), including humid Texas summers.
M4 Modular partsReader front, motor pack, bolt sensor, strike magnet, secure chip board and key cylinder each swap with a screwdriver.
M5 Quiet motorLocks and unlocks in under 1.5 seconds and quieter than 45 dB at 1 meter.

Connectivity requirements

RequirementWhat it must do
C1 Matter over ThreadA certified Matter door lock on Thread. Works with our hub or any Matter controller.
C2 Works offlineFace, passkey, card, key and auto-lock all work with no internet and with the hub turned off.
C3 Optional wallet keysAliro wallet keys as an option. No Apple Home Key, Wallet or HomeKit.
C4 Door stateReports door open, shut, aligned, locked and fault using the Matter door lock states.

Certifications we must pass

StandardWhat it provesApplies to
UL 437Key lock picking, drilling and forcing resistanceDeadbolt and key cylinder
ANSI/BHMA A156.40 Grade 1Residential deadbolt strength, cycles and finishWhole lock
UL 294Access control safety and performanceReader, controller, power
FCC Part 15Radio rules for Thread, Bluetooth and NFCAll radios, before sale in the U.S.
ISED (Canada)Radio rules for sale in CanadaAll radios
Matter certificationInterop as a Matter door lockFirmware and Thread radio
FIDO CertifiedFollows the FIDO2 passkey standardPasskey and NFC key paths
ISO/IEC 30107-3Face spoof (presentation attack) resistanceFace Unlock camera and model
UN 38.3Lithium battery shipping safetyEach battery pack
IEC 62368-1Electrical product safetyLock, dock and packs
IP65Dust and water resistanceOutside reader

All research

Open standards: passkeys, Matter, radios, face testing and lock grades

  • PasskeysFIDO Alliance

    The open, industry-wide passkey standard. Passkeys belong to no single company: any phone, computer or security key that follows FIDO can open our lock.

  • Web Authentication (WebAuthn) Level 3W3C

    The public web standard for passkeys. Our hub's invite and sign-in pages use it, so they work in any modern browser on any phone.

  • Client to Authenticator Protocol (CTAP 2.2)FIDO Alliance

    The open protocol a phone or key fob uses to talk to a passkey device over NFC or Bluetooth. The lock speaks it directly.

  • OpenSK: open-source security key firmwareGoogle (Apache 2.0)

    Open firmware written in Rust that implements FIDO2. A proven open base we can study and build our lock's passkey code on, with no closed parts.

  • libfido2Yubico (BSD)

    An open library for talking to FIDO2 keys. We use it on the hub and in our test bench to check every passkey path.

  • FIDO Certified programFIDO Alliance

    Independent testing that proves a device follows the FIDO standard. We plan to certify the lock's passkey and NFC key paths.

  • MatterConnectivity Standards Alliance

    The open smart-home standard. Our lock is a Matter door lock, so the hub, or any Matter controller you already own, can run it with no cloud.

  • AliroConnectivity Standards Alliance

    The open standard for phone and wallet door keys, written by many companies together. We add it as an option so wallet keys work without tying the lock to any one phone maker.

  • ThreadThread Group

    The low-power mesh radio Matter runs on. It keeps the battery lasting months and keeps the lock off your Wi-Fi and the internet.

  • 47 CFR Part 15: radio frequency devicesU.S. FCC (eCFR)

    The U.S. rules every radio product must pass before sale. The lock has Thread, Bluetooth and NFC radios, so it must be tested and authorized.

  • ISO/IEC 30107-3: presentation attack detection testingISO

    The international method for testing whether a face system can be fooled by photos, screens or masks. Face Unlock must pass it in an outside lab.

  • Face Recognition Technology Evaluation (FRTE)NIST

    Ongoing public U.S. government testing of face matching accuracy, including across ages and skin tones. We will pick and tune our matching model against it.

  • UL 437: key locksUL Standards & Engagement

    The high-security lock standard for picking, drilling and forcing resistance. Our goal for the mechanical deadbolt and key cylinder.

  • ANSI/BHMA A156.40 residential deadboltsBuilders Hardware Manufacturers Association

    The residential deadbolt grades for strength, cycles and finish. We target Grade A (AAA where we can) and the commercial Grade 1 bolt strength.

  • UL 294: access control system unitsUL Standards & Engagement

    The safety and performance standard for electronic access control. It covers the reader, controller and power parts of the lock.

  • IEC 62368-1 and UN 38.3: safety and battery shippingIEC / United Nations

    The electrical product safety standard, and the test every lithium battery pack must pass before it can ship. Both apply to our swappable packs and dock.

Smart locks and passkeys

Deadbolt sensor and auto-lock

  • ANSI/BHMA A156.40 Residential DeadboltsBuilders Hardware Manufacturers Association

    The U.S. standard that grades home deadbolts for strength, wear and security, including how far the bolt must reach into the frame. Our bolt and its sensor tip are designed to meet the top grade.

  • Door lock grades explainedIPVM

    A plain guide to what Grade 1, 2 and 3 mean for locks and why bolt throw and strength matter. It is why we start from a Grade 1 deadbolt body.

  • Using Intelligent Auto-Lock with DoorSenseAugust Home

    How one of the first smart locks uses a magnet and sensor to know the door is shut before auto-locking. It proves the idea works; we move the sensor into the bolt tip so it also checks alignment.

  • How you'll benefit from the new Nuki door sensorNuki

    Explains door-open, door-closed and left-open alerts in a shipping smart lock. Most such sensors sit on the frame as a separate piece; ours is built into the bolt and strike.

  • Tedee door sensorTedee

    Another frame-mounted door sensor that tells a smart lock when the door is shut. Useful for comparing size, battery life and how owners install them.

  • Hall-effect sensors for position sensing (application note)Texas Instruments

    How a tiny Hall-effect sensor and a magnet measure position without touching, using very little power. This is the sensor type in our bolt tip.

  • Low-power magnetic sensing for door and window positionTexas Instruments

    Design guidance for battery-powered door and window sensors using magnets. It shaped our sensor's power budget so it can check the door many times a day on batteries.

  • Matter Door Lock cluster: door stateMatter specification (Google Home developer reference)

    The shared smart home standard already has states for door open, door closed, door jammed and door ajar. Our lock reports exactly these, so any Matter app understands it.

NFC cards and fobs

Open design. Everything on this page, including the drawings, specs and repair notes, is public domain (CC0). Anyone may copy, build, sell or improve it without asking us. Sources we cite belong to their authors.