Skip to content

Instantly share code, notes, and snippets.

@feklee
Created January 2, 2022 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feklee/41f583d5a5486ca88bf4bfff11b3e49d to your computer and use it in GitHub Desktop.
Save feklee/41f583d5a5486ca88bf4bfff11b3e49d to your computer and use it in GitHub Desktop.
Wrapper script to use GPG with an expired key
#!/bin/bash
/usr/bin/gpg2 --faked-system-time 20200101T000000 "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment