Repository navigation
Description
Problem
In my use of Normal, registering a new barcode key allowed me to unlock restrictions that I had previously set up with other physical keys. I would like an optional strict authorization mode so that registering a key does not automatically grant it access to existing protected restrictions.
Real-world use case
I intentionally keep my registered physical barcode keys at a location approximately 4 km away from home, creating a meaningful physical barrier before I can unlock restricted apps. However, registering a new barcode at home let me bypass the existing restrictions without accessing the original keys.
This is my reported experience; the exact app version and configuration still need to be confirmed. I have not verified whether the pending edit-protection changes already prevent this registration path.
Proposed behavior
- Each protected restriction (for example, an app group) has an explicit list of authorized keys, selected when protection is configured.
- Newly registered keys have no automatic authority over existing protected restrictions, including when registered as global/master keys.
- Adding, removing, or replacing authorized keys requires scanning a key already authorized for the affected restriction. A newly registered key must not be able to authorize itself.
- Modifying, disabling, or deleting a protected restriction, or turning off strict authorization, requires an existing authorized key. Being temporarily unblocked by a schedule or timer should not itself grant permission to change the authorization policy.
- Provide deliberate, clearly explained lost-key recovery. This could build on the existing limited Emergency Unblock mechanism or another explicit recovery flow, rather than treating registration of a replacement key as immediate recovery. Prevent accidental removal of the last authorized key without replacement or a clear recovery path.
Users should remain free to register additional keys without silently weakening restrictions they already configured. This is a request to preserve intentional physical friction, not a claim that a barcode cannot be copied.
Related work and distinction
- Unblock certain groups with certain keys #34 added group-specific keys, but the described design still allows global/master keys to unlock every group. This request specifically asks for an optional explicit allowlist that newly registered global keys do not inherit.
- Schedule key #162 and Allow editing being keyblocked rather than app bloced #163 discuss requiring a key for editing, and the open PR feat: add key-based edit protection option #165 introduces key-based Edit Protection and emergency recovery. Those changes overlap with the editing portion of this request and may address part of the reported registration path. The additional requirement here is authorization by a key already trusted for the affected restriction, rather than any global key.
Acceptance examples
- Protect restriction R with key A, kept 4 km away. Register key B at home. B cannot unlock R or change its authorized keys.
- Scan A to explicitly authorize B for R. B can then unlock R, without automatically gaining access to other protected restrictions.
- A scheduled or timed unblock does not silently authorize B or disable strict protection.
- If all authorized keys are lost, a documented, deliberate recovery path is available without making ordinary new-key registration a shortcut around protection.
Thank you for building Normal and for the ongoing work on edit protection.
Activity
ykisana commentedon Nov 29, 2026
I don't see why group specific keys don't work.
You don't want new keys to weaken old right?
Unblock all apps -> create a new group with apps you want new key to take care of -> set a new barcode for that group.
Your global key will still be your barcode 4km away.
We still want global keys to unblock everything because editing settings is blocked but unlocks.
If you want office key to unblock few apps, home key to unblock few apps. Create a global key that's super far like a location you've never been, then office group and home group.
Since you can block without key can set this up fairly easily.
Not sure if I'm missing something but I think group specific keys fit this use case well.