Skip to content
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

Misc tests and fixes for entryway PDS #1742

Merged
merged 10 commits into from
Oct 13, 2023
Merged

Conversation

devinivy
Copy link
Collaborator

Writing some tests on auth flows around the entryway PDS. To make this work the test suite mocks now support multiple PDSes, and each PDS service can be marked as an entryway or not. If the PDS is not an entryway it will not provide certain proxying functionality. We also allow the PDS to be configured with a public key that can verify creds but not generate them itself.

PDS assignment has also gotten a bit more configurable, now supporting weighted assignment (which also allows us to enable/disable assignment to a given PDS).

Feature branch: #1722

@@ -82,3 +91,8 @@ export type SigningKeyMemory = {
provider: 'memory'
privateKeyHex: string
}

export type VerifyKeyMemory = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the verify key can always be memory 🤔

Copy link
Collaborator

@dholms dholms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sickkk 💪

Base automatically changed from multi-pds-auth-gone-repo to multi-pds-auth October 13, 2023 19:40
@devinivy devinivy merged commit 39e13d2 into multi-pds-auth Oct 13, 2023
10 checks passed
@devinivy devinivy deleted the multi-pds-auth-tests branch October 13, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants