You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refuse a Pubky auth request that names another pubky (spk) #1761
Grant sign-in links (pubkyauth://signin_grant) are gaining an optional spk=<z32 pubky>: the pubky the requesting app expects to approve, sent only when the app already knows the signed-in user (Locks setup and reconnect, permission upgrades, Paykit reconnect). Format: z-base-32, no prefix, at most once. The requesting SDK rejects an approval from any other key, and the SDK signer (PubkySigner) refuses such a link before signing.
Bitkit reads link parameters by name, so it already ignores spk safely; nothing breaks.
Ask: honour it. Bitkit holds one pubky, so there is no picker to skip. When spk names a different pubky, show "This request is for <short pubky>, not this wallet's pubky" and don't sign. Today Bitkit would sign and the app would then reject the approval, which looks like a generic failure. This matters first for the Paykit reconnect request, which only Bitkit approves.
A repeated or malformed spk should make the request invalid, matching the SDK parser.
Activity
ovitrif commentedon Nov 3, 2026
Milestone 3.2.0: new Pubky auth behaviour, not part of the 3.1.0 release, which is already cut.
ovitrif commentedon Nov 25, 2026
Triage: moved to the 3.3.0 milestone. 3.2.0 now holds only the Spark release work and nearby payments (NFC and Bluetooth).
ovitrif commentedon Nov 26, 2026
Twin: synonymdev/bitkit-ios#1195
ovitrif commentedon Nov 27, 2026
Moved to 3.2.0: RC1 waits on its fix, #2104, to match iOS, where synonymdev/bitkit-ios#1492 already ships this in 3.2.0.