bin: Add script to rescan GPG yubikeys
This commit is contained in:
6
bin/gpg-yubikey-rescan
Executable file
6
bin/gpg-yubikey-rescan
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# From:
|
||||||
|
# https://security.stackexchange.com/questions/181551/create-backup-yubikey-with-identical-pgp-keys
|
||||||
|
|
||||||
|
gpg-connect-agent "scd serialno" "learn --force" /bye
|
||||||
Reference in New Issue
Block a user