Planned · the commands are the design

A value leaked. What does it open?

You know the leaked value, not which keys hold it, and decrypting every store to grep puts every secret on screen. scrubthing asks by value.

How it works Built by Rytter

$ scrubthing
leaked value (hidden): ················
prod01 admin-password the value
prod01 admin-password-hash bcrypt of it
personal grafana-url inside a URL
agent01 admin-password copy · 2nd group
✓ 4 keys hold it · 3 stores · no value printed

Features

Every holder, not just the obvious one.

  • Copies under any name

    The same value stored under another key, or in another trust group, is found too.

  • Hashes and URLs

    A hash the value verifies against, or a URL with the value inside it, counts as a holder.

  • Nothing on screen

    Only a store, a key and how it matched leave the process, never a value or its first characters.

How it works

A read of the vault, and a plan.

  1. 1

    Ask

    The value comes from a prompt that doesn't echo or a pipe, so it lands in no history.

  2. 2

    Compare

    Each store is decrypted in memory and dropped after, so the vault is never written to disk.

  3. 3

    Plan

    Holders are sorted by who rotates them, so a value a person types is changed by a person.

Who built it

Built by Rytter.

I'm Jakob Rytter. I build software and run it, from the server to the screen, and scrubthing is how a leak gets answered in my vault.

rytter.it All the things