-
Notifications
You must be signed in to change notification settings - Fork 308
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
rs-ucan
: Rust crates to support UCAN-based authz
#668
Comments
Hi @cdata, this grant has been approved! We will send an email to you to discuss next steps! |
Current status of this work:
Overall we've continued landing meaningful improvements to |
Hi @cdata, we have some questions regarding your grant progress. Can you contact our team at [email protected]? |
Open Grant Proposal:
rs-ucan
Name of Project:
rs-ucan
Proposal Category:
core-dev
Proposer: @cdata
(Optional) Technical Sponsor: @autonome
Do you agree to open source all work you do on behalf of this RFP and dual-license under MIT, APACHE2, or GPL licenses?: Yes
Project Description
TL;DR
rs-ucan
is a Rust library to help the next generation of web and native applications make use of UCANs in their authorization flows. UCANs are perfectly suited to authz flows for decentralized network applications leveraging IPFS/Filecoin, and are already being used by some Protocol Labs-adjacent projects. To learn more about UCANs and how they fit into authz flows, visit https://ucan.xyz/!Many of the next generation of web applications are local-first, and/or communicate with decentralized infrastructure when connecting to the network. In this emerging software landscape, user accounts are no longer centrally managed. Many apps generate or utilize cryptographic key pairs to identify their users and perform actions on their behalf. Decentralized applications verify that a change is valid by leveraging cryptographic signing and verification techniques.
UCANs are an emerging scheme for managing authorization - specifically authority delegation and capability attenuation - in the decentralized network topology. A provided UCAN enables an application to verify that an actor is authorized to take an action on some user's owned state at the point where the action would be executed, without the need to consult an external source of authority. UCANs are also safe to be stored in plain text in public, and cached for the period of their lifetime.
rs-ucan
is a Rust implementation of UCANs. As the author and maintainer, I'm an active participant in regular UCAN community calls. As the implementation approaches 1.0, it will be contributed as the first-party Rust implementation offered by the UCAN Working Group (ucan-wg). This grant will support me as a continue to develop the crate and push it towards a stable release.Value
UCANs are already being implemented in Protocol Labs-adjacent projects such as web3.storage (https://github.com/web3-storage/ucanto) and Capyloon (point of use). Although there are similar emerging schemes for managing authz (such as Biscuits), UCANs have the advantage of being coherent with extant infrastructure: their default serialization is JSON, and their structure is a superset of JSON Web Tokens (https://jwt.io/). Other serializations, such as one that is deterministic and suitable for direct storage in IPLD, are being pursued by the UCAN Working Group. This Rust implementation of UCANs will be valuable for anyone implementing authz for decentralized network services, including those leveraging the emerging ecosystem of IPFS-related Rust crates.
The project is already implemented to the point of being usable and is compatible with other language implementations. The challenge now is to find the resources to push the work over the edge to a stable release.
Deliverables
A stable release of
rs-ucan
(https://github.com/cdata/rs-ucan), up to date with the latest revision of the UCAN spec, graduated to the UCAN Working Group's first-party Github organization (https://github.com/ucan-wg).Development Roadmap
The UCAN spec is a living document (and has not had a 1.0 release yet), so much of the development roadmap will depend on ongoing discussions within the UCAN Working Group.
ucan
anducan-key-support
crates #12 #13Total Budget Requested
$30,000 to enable maintenance, enhancement and community participation over the next year, culminating in a stable release and project graduation.
Maintenance and Upgrade Plans
My intention is to continue as primary maintainer of the project after it has had a stable release and has graduated to the UCAN Working Group. I expect that major feature work will slow a bit and that my attention will shift to shepherding community contributions. The project will continue to track closely to the UCAN spec. If it seems like major revisions are needed in the future then I may seek additional funding at that time.
Team
Team Members
Team Member LinkedIn Profiles
Relevant Experience
We are both former Googlers, with a background in Chrome and Firefox browser engineering.
Team code repositories
The latest code for the alpha release of
rs-ucan
can be found here: https://github.com/cdata/rs-ucanAdditional Information
Please reach me by e-mail at [email protected]
The text was updated successfully, but these errors were encountered: