dotfiles/dot_local/bin/executable_get-gpg-key
punkfairie 9f5c7c826f
Update .chezmoi.toml
Update .chezmoiignore
Add .chezmoiremove
Remove .bash_logout
Remove .bash_profile
Update .config/fish/functions/batt.fish
Update .config/fish/functions/extract.fish
Update .local/bin/get-gpg-key
Update .xprofile
Change attributes of .config/xrandr/desktop.sh
Change attributes of .gnupg/gpg-agent.conf
2024-10-04 21:36:27 -07:00

9 lines
167 B
Bash

#!/usr/bin/env bash
key="$(
gpg --list-secret-keys --keyid-format SHORT | grep 'rsa4096' \
| sed 's/sec rsa4096\///' \
| awk '{print $1}'
)"
echo "$key"