clockworklabs / clockworklabs/SpacetimeDB
UCAN Support
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
I believe this is a drop in replacement to JWT but this could allow for attestations to a user/pid allowing for finer grained control using the same token strategy.
For example in the Payload of the JWT we just add a signed attestation by some trusted authority like so
{
"iss": "did:key:theserversDID/PublicKey",
"aud": "did:key:ourPublicKey",
// Time bounds of token
"nbf": 1529496683,
"exp": 9256939505,
"att": [
{
"with": "servername/DB",
"can": "READ"
}
],
"prf": []
}
Do I plan on implementing this??
Possibly if I have time :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the project's existing token or JWT authentication flow, then determine the intended UCAN scope, compatibility requirements, and attestation model. Done should include an agreed implementation boundary and tests covering the supported authorization behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, authorization, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100