A minimal protocol for CTFs and red teaming.
Open source. Leave a key file. Whoever finds it can prove possession and exchange encrypted notes.
How it works
After setting up the CLI and API:
-
Place a key
Create and register a key. Keep the original and place a copy in your infrastructure.
kompromat generate \ --out canary.json > manifest.json kompromat register manifest.json cp canary.json /path/to/backup/Replace
/path/to/backup/with your destination. -
Prove a find
Run this with the key file you found. It sends a signed proof while the key stays on your machine.
kompromat report canary.json -
Exchange notes
Send an encrypted note, then read the conversation. Anyone with a copy of the key can reply.
kompromat attach canary.json \ --message "Found in the backup" kompromat unlock canary.json