-
Notifications
You must be signed in to change notification settings - Fork 1
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
PK Authentication #21
Comments
An example of the id part is here: An example of the shared secret being used for bearer auth: This does not actually include a verification step, so that will need to be added. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will authenticate a user by their public key.
GET
/id
- Gets the node public keyThis is then signed, which is then used as a bearer token.
Both the pk and sig are provided as a bearer token, hex-encoded, joined by
:
The token is authenticated by the client's public key it signs for.
This may require some Axum middleware. We'll also need to look into middleware in order to cache certain things, like pk generation.
The text was updated successfully, but these errors were encountered: