{"id":13580990,"url":"https://github.com/cryptosphere/macaroons-rs","last_synced_at":"2025-04-06T06:32:22.348Z","repository":{"id":26667589,"uuid":"30124108","full_name":"cryptosphere/macaroons-rs","owner":"cryptosphere","description":"Macaroons: bearer credentials with caveats for distributed authorization","archived":true,"fork":false,"pushed_at":"2017-02-10T10:16:53.000Z","size":82,"stargazers_count":61,"open_issues_count":1,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-04T14:19:37.983Z","etag":null,"topics":["cookie","credentials","macaroons","token"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptosphere.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-31T19:53:11.000Z","updated_at":"2025-03-02T18:01:35.000Z","dependencies_parsed_at":"2022-07-25T16:02:13.217Z","dependency_job_id":null,"html_url":"https://github.com/cryptosphere/macaroons-rs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptosphere%2Fmacaroons-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptosphere%2Fmacaroons-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptosphere%2Fmacaroons-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptosphere%2Fmacaroons-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptosphere","download_url":"https://codeload.github.com/cryptosphere/macaroons-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445652,"owners_count":20939952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cookie","credentials","macaroons","token"],"created_at":"2024-08-01T15:01:57.038Z","updated_at":"2025-04-06T06:32:22.066Z","avatar_url":"https://github.com/cryptosphere.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Macaroons (for Rust!) [![Latest Version][crate-image]][crate-link] [![Build Status][build-image]][build-link] [![Apache 2 licensed][license-image]][license-link]\n\n[crate-image]: https://img.shields.io/crates/v/macaroons.svg\n[crate-link]: https://crates.io/crates/macaroons\n[build-image]: https://travis-ci.org/cryptosphere/macaroons-rs.svg?branch=master\n[build-link]: https://travis-ci.org/cryptosphere/macaroons-rs\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg\n[license-link]: https://github.com/cryptosphere/macaroons-rs/blob/master/LICENSE\n\nA better kind of cookie.\n\nMacaroons are a bearer credential format built around \"caveats\", i.e. conditions\nthat must hold for a particular credential to be authorized. Using neat crypto\ntricks, anyone holding a Macaroon can add more caveats to a Macaroon, but once\ncaveats are added they cannot be removed.\n\nhttp://macaroons.io\n\n### Is it any good?\n\n[Yes.](http://news.ycombinator.com/item?id=3067434)\n\n### Is it \"Production Ready™\"?\n\nThe library is ready for eager early adopters. If you're using Rust, you're\nprobably one of those anyway.\n\nThe following features have been implemented:\n\n* Creating Macaroons\n* Verifying Macaroons\n* First-party caveats\n* Third-party caveats\n* Serializing to base64url-encoded binary format\n* Deserializing base64url-encoded Macaroons\n* Verifying first-party caveats\n\nThe following features still need to be implemented:\n\n* Discharge macaroons\n* Verifying third-party caveats\n\nAdditional planned work:\n\n* Nom-based parser (may require API changes)\n\n## V2 Format Support\n\n[The Macaroons format is changing!](https://groups.google.com/forum/#!msg/macaroons/EIDUZQoelq8/KnbVukmGBQAJ)\n\nA specification for a new, more compact \"V2\" format has been published.\n\nThis library has begun to implement it. In the process, the API is changing\nso that it can support both the old and new formats.\n\nPardon our dust.\n\n## Help and Discussion\n\nInterested in Macaroons? Join the Macaroons Google Group:\n\nhttps://groups.google.com/forum/#!forum/macaroons\n\nYou can also join by email by sending an email message here:\n\n[macaroons+subscribe@googlegroups.com](mailto:macaroons+subscribe@googlegroups.com)\n\nWe're also on IRC at #macaroons on irc.freenode.net.\n\n## Usage\n\nComing soon!\n\n## Additional Reading\n\n* [Macaroons: Cookies with Contextual Caveats for Decentralized Authroization in the Cloud](https://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/41892.pdf)\n\n## License\n\nCopyright (c) 2015-2016 Tony Arcieri. Distributed under the MIT License.\nSee LICENSE.txt for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptosphere%2Fmacaroons-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptosphere%2Fmacaroons-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptosphere%2Fmacaroons-rs/lists"}