We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This will authenticate a user by their public key.
GET /id - Gets the node public key
/id
This 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:
An example of the id part is here: https://github.com/diba-io/bitmask-core/blob/5208db0af61dc4ee124d6387b9542b540c89630e/src/bin/bitmaskd.rs#L191-L201
An example of the shared secret being used for bearer auth: https://github.com/diba-io/bitmask-core/blob/5208db0af61dc4ee124d6387b9542b540c89630e/src/bin/bitmaskd.rs#L30-L51
This does not actually include a verification step, so that will need to be added.
Sorry, something went wrong.
cryptoquick
No branches or pull requests
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: