Driftwood is a tool that can enable you to lookup whether a private key is used for things like TLS or as a GitHub SSH key for a user.
Driftwood performs lookups with the computed public key, so the private key never leaves where you run the tool. Additionally it supports some basic password cracking for encrypted keys.
Installation
Three easy ways to get started.
cat private.key | docker run –rm -i trufflesecurity/driftwood –pretty-json –
Run pre-built binary
Download the binary from the releases page and run it.
Build yourself
go install github.com/trufflesecurity/driftwood@latest
Usage
Minimal usage is
$ driftwood path/to/privatekey.pem
Run with --help
to see more options.
Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…
While file extensions in Linux are optional and often misleading, the file command helps decode what a…
The touch command is one of the quickest ways to create new empty files or update timestamps…
Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…
Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…
Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…