refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / gpg-pubkey / gpg-pubkey-id.ps1
1 #!/usr/bin/env pwsh
2
3 gpg --list-secret-keys --keyid-format LONG |
4     Select-String -Pattern '\.*sec.*\/' |
5     Select-Object Line |
6     ForEach-Object {
7         $_.Line.split('/')[1].split(' ')[0]
8     }