dotfiles/bin/executable_get-ssh-subkey-k...

3 lines
93 B
Bash

#!/bin/sh
gpg -K --with-keygrip | grep -A1 "\[A\]" | tail -n1 | sed 's,.*Keygrip = \(\),\1,'