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

identity: created initial did:web server #123

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

TheButlah
Copy link
Contributor

@TheButlah TheButlah commented Aug 3, 2024

  • Adds create POST method (accepts pub key, redirects to new URL)
  • Adds read GET method (retrieves JWK from user's url)
  • Handles serialization of JWK
  • Testable/mockable UUID generation.

Known issues:

  • Not actually compliant with did:web yet. We are supposed to return a did:document, but right now we return a Json Web Key
  • We don't do any auth on the endpoints yet
  • We don't use any persistent storage (no db)
  • We totally fake the returned pub key. I.e. we actually don't use the pub key from the POST at all yet.

@TheButlah TheButlah force-pushed the thebutlah/ident-svr-boilerplate branch 2 times, most recently from 7a5b631 to 7115b57 Compare August 5, 2024 06:27
@TheButlah TheButlah changed the title identity: created axum boilerplate identity: created initial did:web server Aug 5, 2024
@TheButlah TheButlah force-pushed the thebutlah/ident-svr-boilerplate branch from 7115b57 to 95bc5d9 Compare August 5, 2024 06:33
@TheButlah TheButlah merged commit e5aba14 into main Aug 8, 2024
4 checks passed
@TheButlah TheButlah deleted the thebutlah/ident-svr-boilerplate branch August 8, 2024 02:34
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.

1 participant