This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
2020-10-18 19:25:08 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
2022-02-04 03:09:49 +01:00
|
|
|
gpg --list-secret-keys --with-keygrip |
|
2020-10-18 19:25:08 +02:00
|
|
|
awk '
|
|
|
|
/^ssb/ {
|
|
|
|
ssb=1
|
|
|
|
}
|
|
|
|
/Keygrip/{
|
|
|
|
if (ssb) print $3
|
2020-10-21 04:32:26 +02:00
|
|
|
}' > ~/.pam-gnupg
|