Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.0% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org
Top 6.5% forks on proxy.golang.org

proxy.golang.org : github.com/kong/go-srp

Package srp is port of node-srp to Go. To use SRP, first decide on they parameters you will use. Both client and server must use the same set. From the client... generate a new secret key, initialize the client, and compute A. Once you have A, you can send A to the server. From the server... generate another secret key, initialize the server, and compute B. Once you have B, you can send B to the client. Once the client received B from the server, it can compute M1 based on A and B. Once you have M1, send M1 to the server. Once the server receives M1, it can verify that it is correct. If checkM1() returns an error, authentication failed. If it succeeds it should be sent to the client. Once the client receives M2, it can verify that it is correct, and know that authentication was successful. Now that both client and server have completed a successful authentication, they can both compute K independently. K can now be used as either a key to encrypt communication or as a session ID.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/kong/go-srp
License: MIT
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/kong
Dependent packages: 3
Dependent repositories: 2
Stars: 38 on GitHub
Forks: 10 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

    Loading...
    Readme
    Loading...