Driftwood is a tool that lets you check whether a private key is being used for TLS or as a GitHub SSH key for a user.
Driftwood uses the computed public key to execute lookups.
Thus the private key never leaves the location where you run the tool.
It also has some basic password cracking capabilities for encrypted keys.
Disclaimer: The intended use for the tool is strictly educational and should not be used for any other purposes.
Download Link: https://github.com/trufflesecurity/driftwood