{"id":17169664,"url":"https://github.com/swiftcoder/auth_for_warp","last_synced_at":"2025-03-24T19:18:55.179Z","repository":{"id":39797242,"uuid":"495918190","full_name":"swiftcoder/auth_for_warp","owner":"swiftcoder","description":"Simple username/password auth plugin for warp","archived":false,"fork":false,"pushed_at":"2022-05-25T12:56:08.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-03-01T09:38:30.091Z","etag":null,"topics":["authentication","rust","warp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swiftcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-24T17:11:18.000Z","updated_at":"2024-10-22T16:03:38.000Z","dependencies_parsed_at":"2022-09-09T08:12:21.023Z","dependency_job_id":null,"html_url":"https://github.com/swiftcoder/auth_for_warp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fauth_for_warp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fauth_for_warp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fauth_for_warp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fauth_for_warp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swiftcoder","download_url":"https://codeload.github.com/swiftcoder/auth_for_warp/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245334908,"owners_count":20598389,"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","rust","warp"],"created_at":"2024-10-14T23:26:58.756Z","updated_at":"2025-03-24T19:18:55.154Z","avatar_url":"https://github.com/swiftcoder.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Action Status](https://github.com/swiftcoder/auth_for_warp/workflows/Continuous%20integration/badge.svg)](https://github.com/swiftcoder/auth_for_warp/actions)\n[![Crates.io](https://img.shields.io/crates/v/auth_for_warp.svg)](https://crates.io/crates/auth_for_warp)\n[![Docs.rs](https://docs.rs/auth_for_warp/badge.svg)](https://docs.rs/auth_for_warp)\n\n# auth_for_warp\n\nA proof-of-concept for a simple and reusable auth module that can be plugged into any [warp](https://crates.io/crates/warp)-based server application.\n\nPasswords are salted and hashed using [argon2](https://crates.io/crates/argon2). On successful login, a JSON Web Token is generated using [jsonwebtoken](https://crates.io/crates/jsonwebtoken) and returned to the client. A warp filter is provided to authenticate subsequent requests against that token via bearer authentication.\n\nSome limitiations (certainly not an exhaustive list):\n- TLS is necessary to avoid leaking passwords on the wire (no PAKE).\n- Only supports username + password (no OAuth, no TOTP, etc).\n- All credential storage is left up to the application.\n- User ID allocation probably ought to be left up to the application.\n- Only handles authentication, supporting authorization will need some design work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftcoder%2Fauth_for_warp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftcoder%2Fauth_for_warp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftcoder%2Fauth_for_warp/lists"}