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.
When you write a Bash script in Linux, you want it to run correctly every…
Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…
What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…
When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…
Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…
Introduction Unlock the full potential of your Linux system with this comprehensive guide to essential…