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