{"id":13875964,"url":"https://github.com/sassman/srp6-rs","last_synced_at":"2026-04-19T21:15:20.835Z","repository":{"id":39711768,"uuid":"380832157","full_name":"sassman/srp6-rs","owner":"sassman","description":"A safe implementation of the secure remote password authentication and key-exchange protocol (SRP and SRP6a)","archived":false,"fork":false,"pushed_at":"2025-04-02T11:19:23.000Z","size":74,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T09:13:52.155Z","etag":null,"topics":["authentication","cryptography","pki","protocol","rust","secure-remote-password","security","srp","srp-6a"],"latest_commit_sha":null,"homepage":"https://docs.rs/srp6","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/sassman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"sassman"}},"created_at":"2021-06-27T20:27:40.000Z","updated_at":"2025-04-01T12:52:19.000Z","dependencies_parsed_at":"2024-01-13T19:41:32.054Z","dependency_job_id":"1daa879c-1253-415d-b06f-41cce43eadda","html_url":"https://github.com/sassman/srp6-rs","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fsrp6-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fsrp6-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fsrp6-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fsrp6-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sassman","download_url":"https://codeload.github.com/sassman/srp6-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852182,"owners_count":21171842,"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","cryptography","pki","protocol","rust","secure-remote-password","security","srp","srp-6a"],"created_at":"2024-08-06T06:00:52.915Z","updated_at":"2026-04-19T21:15:20.789Z","avatar_url":"https://github.com/sassman.png","language":"Rust","funding_links":["https://github.com/sponsors/sassman"],"categories":["Rust","security"],"sub_categories":[],"readme":"# Secure Remote Password (SRP 6 / 6a)\n\n[![crates.io](https://img.shields.io/crates/v/srp6.svg)](https://crates.io/crates/srp6)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![codecov](https://codecov.io/gh/sassman/srp6-rs/branch/main/graph/badge.svg)](https://codecov.io/gh/sassman/srp6-rs)\n\n\u003e A safe implementation of the secure remote password authentication and key-exchange protocol (SRP version 6a).\n\n## About SRP6\n\n\u003e The Secure Remote Password protocol performs secure remote authentication of short human-memorizable passwords and resists both passive and active network attacks. Because SRP offers this unique combination of password security, user convenience, and freedom from restrictive licenses, it is the most widely standardized protocol of its type, and as a result is being used by organizations both large and small, commercial and open-source, to secure nearly every type of human-authenticated network traffic on a variety of computing platforms.\n\nread more at [srp.stanford.edu](http://srp.stanford.edu) and in [RFC2945] that describes in detail the Secure remote password protocol.\n\n## Features\n\n- client and server implementation of SRP 6 / 6a as in [RFC2945]\n- key length of 1024 to 8192 bit provided as in [RFC5054]\n- sha512 hashing instead of sha1\n- free of unsafe code\n- no openssl dependencies\n- rust native\n\n## Feature flags\n\n- `default` - uses `hash-sha512` and keys \u003e= 2048 bit\n- `dangerous` - uses `hash-sha1` and provides keys \u003c 2048 bit, please do not use this in production code.\n- `wow` - uses `hash-sha1`, insecure keys and a uppercase of username and password for the hash, please do not use this in production code. This is used in an old World of Warcraft client.\n\nThose flags are only used for specific test scenarios and should not be used in production code.\n- `test-rfc-5054-appendix-b`\n\n## Documentation\n\nTo avoid code duplications this README is kept lean, please find examples and code at:\n\n- [official crate docs](https://docs.rs/srp6)\n- [formulas and protocol details](https://docs.rs/srp6/latest/srp6/protocol_details/index.html)\n- [usage examples](https://github.com/sassman/srp6-rs/blob/main/examples)\n\n[RFC2945]: https://datatracker.ietf.org/doc/html/rfc2945\n[RFC5054]: https://datatracker.ietf.org/doc/html/rfc5054#appendix-A\n\n## License\n\n- **[MIT License](LICENSE)**\n- Copyright 2021 - 2025 © [Sven Kanoldt](https://www.d34dl0ck.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassman%2Fsrp6-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsassman%2Fsrp6-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassman%2Fsrp6-rs/lists"}