piighost/ssh-public-key

OpenSSH public key line: the algorithm, a space, then the base64 body. A public key is not a secret, and it is a stable identifier of a person and of the machines they reach, which is what puts it here. The trailing comment, usually user@host, is left out: it is an email-shaped value the contact patterns already carry.

Label: SSH_PUBLIC_KEY

Pattern

\bssh-(?:rsa|ed25519|dss) [A-Za-z0-9+/]{40,}={0,3}

Must be caught

Must be left alone

Tags: international, secrets, software-dev

Download the detector as TOML