PK Authentication

Open
#21 1 comment 0 reactions 1 assignee View on GitHub

@cryptoquick is already working on this.

Since May 6, 2023.

Assessment

This issue has not been assessed yet.

Description

This will authenticate a user by their public key.

GET /id - Gets the node public key

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.

Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitmask-stack/carbonado-node

All issues in bitmask-stack/carbonado-node

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.