-
Notifications
You must be signed in to change notification settings - Fork 4
feat: support Pubky signup #1224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ben-kaufman
wants to merge
16
commits into
master
Choose a base branch
from
codex/pubky-ring-signup
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0326e58
feat: support pubky ring signup
ben-kaufman 238d78c
fix: complete pubky ring signup
ben-kaufman 305e75e
feat: support direct pubky signup
ben-kaufman 800dfcf
fix: complete pubky signup handoff
ben-kaufman 2a59eb5
fix: recover failed pubky signup
ben-kaufman f8103f7
fix: harden pubky signup recovery
ben-kaufman 5a86731
fix: require consent and local auth for pubky signup
ben-kaufman d614969
test: format signup consent regression
ben-kaufman dc72c36
fix: preserve pubky homeserver on restore
ben-kaufman 4b828cd
fix: route pubky ring signup links
ben-kaufman 0ff1a01
Merge branch 'master' into codex/pubky-ring-signup
ben-kaufman 6df1707
fix: separate pubky signup and authorization routes
ben-kaufman 7e5d24b
fix: clear rejected contact payment context
ben-kaufman abd7983
fix: log superseded pubky approval failures
ben-kaufman f2bee10
test: cover superseded pubky approval failures
ben-kaufman 3dac138
Merge branch 'master' into codex/pubky-ring-signup
ben-kaufman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new
pubkyringbranch classifiespubkyring://signupas a supported protocol URL, and the ViewModel tests exercise it as a deeplink, but the exportedMainActivityPubkyAuthalias inAndroidManifest.xmlonly registers thepubkyauthscheme. Android therefore cannot deliver this signup link to the new handler, so the advertised deeplink path works only when the payload is scanned. Could we register thepubkyringsignup scheme on the conditionally enabled alias and cover actual intent resolution?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a separate
pubkyring://signupintent filter to the existing conditionally enabled Pubky alias. Other Ring hosts remain excluded, and thepubkyauthfilter keeps its existing matching behavior.PubkyAuthManifestTest.ktqueries PackageManager against the merged manifest to cover disabled/enabled routing, the target activity, existingpubkyauthlinks, and rejection of unrelated Ring links. The new regression fails with the original manifest and passes with the filter. Compilation and all 2,347 unit tests pass.