Skip to content

Instantly share code, notes, and snippets.

@darkn3rd
Forked from acobaugh/git-crypt-list-keys.sh
Created March 24, 2021 18:04
Show Gist options
  • Save darkn3rd/ffbc1f34536183fd7a5661d81a0de5d8 to your computer and use it in GitHub Desktop.
Save darkn3rd/ffbc1f34536183fd7a5661d81a0de5d8 to your computer and use it in GitHub Desktop.
List git-crypt gpg keys
for key in .git-crypt/keys/default/0/* ; do gpg -k $(echo $(basename $key) | sed -e 's/.gpg//') ; done ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment