Testing GPG Key Passphrases

So hypothetically, you have a GPG public/private keypair (from a backup or old computer), but you don’t remember the passphrase. Here’s a relatively simple way to find it from a number of possible options. This requires that you have a computer secure enough to store the possible …

more ...

Quick Tip: Timestamping bash history

Here’s a tiny little snippet that I have in my .bashrc which really comes in handy when trying to figure out what I did on a system when. One of the first things I do when (eek) building out or working on a one-off machine (or setting up a …

more ...



Script to easily rebuild a SRPM

Between RHEL/CentOS 5 and 6 the default RPM compression format was changed to xz. As such, trying to build a recent Fedora or Cent6 SRPM on Cent5 will error out with a message like error: unpacking of archive failed on file foo;51a4c2a5: cpio: MD5 sum mismatch because tar …

more ...