Riddler is a lightweight, performant microservice written in Go.
It stores an in-memory list of the 100,000 most common passwords as issued by the National Cyber Security Centre and provides a simple API to do whole-word, case-sensitive matching against this list.
A tiny alpine distribution running the go binary
git clone git@github.com:henricook/riddler.git
- Create the files
server.crt
andserver.key
in the base directory for HTTPS (compulsory). docker build .
- Run/deploy as you wish
- Download from the releases page.
- Unpack the tar ball and select a suitable binary for your system.
- Create the files 'server.crt' and 'server.key' in the base directory for HTTPS (compulsory).
- Run/deploy as you wish
POST /check-100k
Example Request Payload:
{ "value": "string-to-check" }
Example Response Payload:
{ "common": true }
GET /ping
Example Response Payload:
{ "response": "PONG" }
Are very welcome. Please drop me an email riddler [at] henricook.com