{"id":23416200,"url":"https://github.com/bluk/passdata","last_synced_at":"2025-07-25T11:04:11.430Z","repository":{"id":189035688,"uuid":"679773737","full_name":"bluk/passdata","owner":"bluk","description":"Authentication and authorization data in a logic programming language.","archived":false,"fork":false,"pushed_at":"2023-09-18T15:07:09.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-04-02T21:31:25.438Z","etag":null,"topics":["authentication","authorization","bearer-token","bearer-tokens","cookie","cookies","session","sessions","token","tokens"],"latest_commit_sha":null,"homepage":"https://docs.rs/passdata/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bluk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-17T15:29:30.000Z","updated_at":"2023-09-08T02:44:01.000Z","dependencies_parsed_at":"2023-08-18T00:57:40.185Z","dependency_job_id":null,"html_url":"https://github.com/bluk/passdata","commit_stats":null,"previous_names":["bluk/passdata"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluk%2Fpassdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluk%2Fpassdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluk%2Fpassdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluk%2Fpassdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluk","download_url":"https://codeload.github.com/bluk/passdata/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247994102,"owners_count":21030049,"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":["authentication","authorization","bearer-token","bearer-tokens","cookie","cookies","session","sessions","token","tokens"],"created_at":"2024-12-22T22:13:59.713Z","updated_at":"2025-04-09T06:43:49.688Z","avatar_url":"https://github.com/bluk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Passdata\n\n`Passdata` is authentication and authorization data expressed in a logic\nprogramming language. Data should fit within the limits of a HTTP cookie or\nheader. The language is limited in order to guarantee execution characteristics\nduring execution.\n\nApplications and services which accept `Passdata` are intended to be usable\nwithout the need to contact a centralized service for every operation.\n\nThe library is experimental and is not intended for production usage.\n\n## Alternatives\n\nThere are many alternatives which are considered production ready. It is\nstrongly recommended to look into these alternatives.\n\n* HTTP sessions\n* [JSON Web Tokens (JWT)](https://datatracker.ietf.org/doc/html/rfc7519)\n* [Pasteo](https://paseto.io)\n* [Macroons](https://www.ndss-symposium.org/ndss2014/programme/macaroons-cookies-contextual-caveats-decentralized-authorization-cloud/)\n* [Biscuit](https://www.biscuitsec.org)\n\n### Differences from Alternatives\n\nCompared to traditional HTTP sessions, `Passdata` does not require a server side\npersistence data store. More computation is done in the application code to\nprocess `Passdata`, but the tradeoff may be desirable in situations where compute\nis cheap but the cost in persisting and retrieving from storage is high.\n\nJSON Web Tokens and Pasteo are primarily used with a limited set of predefined\ndata fields. `Passdata` allows arbitrary data.\n\n`Passdata` is not focused on token attenutation unlike Macaroons and Biscuits.\n\n`Passdata` is most similar to Biscuits which has its own logic programming\nlanguage. However, `Passdata` has a more limited logic programming language in\norder to provide better guarantees on possible resource usage.\n\n## License\n\nLicensed under either of [Apache License, Version 2.0][LICENSE_APACHE] or [MIT\nLicense][LICENSE_MIT] at your option.\n\n### Contributions\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n[LICENSE_APACHE]: LICENSE-APACHE\n[LICENSE_MIT]: LICENSE-MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluk%2Fpassdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluk%2Fpassdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluk%2Fpassdata/lists"}