-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
Description
Description
I commonly come across leaked github keys. The issue is TH shows them as verified (and shows the user who they belong to) but the key has been flagged so it doesnt provide access to any repositories. It would be helpful if there was a way to flag these types of findings.
Preferred Solution
Add an extra field KeyNeedsApproval
to ExtraData
.
Additional Context
You can see if a key needs approval:
$ ssh -F /dev/null -o IdentitiesOnly=yes -i testkey_ec.priv [email protected] "git-upload-pack 'trufflesecurity/trufflehog.git'"
ERROR: We're doing an SSH key audit.
Reason: unverified automatically (private key found in a public repository)
Please visit https://github.com/settings/keys/110617020 to approve this key so we know it's safe.