Skip to content

cloudflare/migp-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MIGP library

This contains a library for the MIGP (Might I Get Pwned) protocol. MIGP can be used to build privacy-preserving compromised credential checking services. Read the paper or the blog post for more details.

Quick start

Build

mkdir -p bin && go build -o bin/ ./cmd/...

Test

go test ./...

Generate server configuration and start MIGP server

Start a server that processes and stores breach entries from the input file.

cat testdata/test_breach.txt | bin/server &

Query MIGP server

Read entries in from the input file and query a MIGP server. By default, the target is set to a locally-running MIGP server, but the target flag can be used to target production MIGP servers such as https://migp.cloudflare.com.

cat testdata/test_queries.txt | bin/client [--target <target-server>]

Advanced usage

Run the client and server commands with --help for more options, including custom configuration support.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages