]> git.lizzy.rs Git - PAKEs.git/commit
srp: rebuild library (#79)
authorJosh Brown <josh9051@gmail.com>
Sat, 22 Jan 2022 14:38:33 +0000 (09:38 -0500)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 14:38:33 +0000 (07:38 -0700)
commit6d963225520f0d8e5948457b8ba25bd563382f5e
tree12c05900061a93c74242d37f5dc1935977c9bd8c
parent689dc0ab6af950b027b4bab96f73c427d2c42d6e
srp: rebuild library (#79)

Complete rewrite of the SRP library.

Includes many improvements over the old library:

- Improved file and code organization
- Access to individual SRP computations
- Consistent sever and client API
- Simpler API
- Improved documentation with tests in documentation
- New tests for compatibility with the RFC
- Bumps dependencies
- Timing safe verification comparisons
- Modernized error handling
13 files changed:
Cargo.lock
srp/Cargo.toml
srp/src/client.rs
srp/src/k_sha1_1024.bin [deleted file]
srp/src/lib.rs
srp/src/prime.bin [deleted file]
srp/src/server.rs
srp/src/test/k_sha1_1024.bin [new file with mode: 0644]
srp/src/types.rs
srp/src/utils.rs [new file with mode: 0644]
srp/tests/bad_public.rs [new file with mode: 0644]
srp/tests/rfc5054.rs [new file with mode: 0644]
srp/tests/srp.rs