Phone approval
Keep the second key on your phone. Your laptop prepares; your phone approves with Face ID.
Security → Phone approval → Pair a phone. Pairing opens once your backup is saved and every account is protected (key two has to be registered from the device that holds it).
- Scan. The laptop shows a code; your phone's camera opens
kannuki.xyz/approvefrom it. - Match the number. Your phone shows one six-digit number. The laptop shows three and asks which one is on your phone. Tap it. If none of them is, choose My phone shows a different number: the code is thrown away and nothing was sent.
- Lock it on the phone. The phone asks whether to keep the key (or Not me). The second key's backup code crosses to the phone, the phone seals it with its own Face ID, and only then does the laptop drop its copy.




Why the number, and what the code alone can't do
The code on the laptop's screen carries a channel id and a key in the link's #fragment (never sent to a server). That
key is not what protects your second key on its way over: anyone who photographed the code would hold it. Before
anything is sent, the two devices make a key exchange:
- 1Your phone
Phone commits
Makes a fresh key pair and sends only a hash of its public key.
- 2Your device
Laptop answers
Makes a fresh key pair for that hello and sends its public key.
- 3Your phone
Phone reveals
Sends its public key; the laptop checks it against the hash.
- 4Your device
Same number, same key
Both derive one session key, and six digits from both public keys.
- The exchange is ECDH on P-256 with a fresh key pair on each device; the session key is HKDF-SHA-256 over the shared secret, salted with the code's key. The private halves never leave their device and can't be exported.
- The six digits come from the code's key and both public keys. A device that isn't the one in your hand gets a different number, so it can't be the one you pick. Because the phone commits before the laptop shows its key, someone holding the code can't search for a key that makes the numbers agree: one blind try in a million per attempt, and a code answers five attempts at most before it is thrown away.
- From the moment you confirm, the line speaks only the session key. The second key crosses sealed with it; the code that was on screen opens nothing, and the relay only ever holds ciphertext.
- Both devices keep the session key (not the code's) for every later request.
Checked on the live site with a third device opening the same code: it gets a different number, the laptop's choices don't include your phone's any more, and with the code's key nothing after the exchange can be opened. The same run pairs for real, approves a payment on the phone and moves the key back; its transactions are in the README's Proof.
How a transaction is signed across two devices
QoreChain's hybrid contract makes the split clean:
- 1Your device
Laptop prepares
Builds the transaction body without the post-quantum part.
- 2Kannuki’s server
Encrypted mailbox
Carries ciphertext only, sealed with the key the two devices agreed.
- 3Your phone
Phone shows it
Decodes the bytes itself: “Send 5 QOR to qor1…”. You approve with Face ID.
- 4Your device
Laptop finishes
Attaches the phone’s signature, adds its own, and broadcasts.
- The laptop (12 words, key one) builds the transaction body without the post-quantum extension (
B0) and itsauthInfo, with the SDK's own encoder. - The phone decodes
B0itself and shows what it does ("Send 5 QOR to qor1…", or an EVM window's exact scope), with the whole address it pays (or the validator, contract or window target) and the fee, never trusting a summary from the laptop. A request it can't read, or for an account it doesn't hold, can't be approved. On Approve, it signshybridSignBytes(version, chainId, B0, authInfo)with key two and returns only the signature. - The laptop attaches it as the
PQCHybridSignatureextension and signs the final body classically.


Verified against the chain's simulate before shipping. Vault authorisations are decoded on the phone too (amount, recipient, vault, deadline) before it signs. Move it back to this device reverses the pairing: the laptop first checks that what came back really is this wallet's second key for every account, seals it, and only then tells the phone to forget its copy. Changing the lock needs the second key back on the laptop first. With phone approval on, someone with your laptop and your 12 words still can't move a coin.





