diff --git a/Yubikey/gpg-export-armored.sh b/Yubikey/gpg-export-armored.sh new file mode 100755 index 0000000..4a70489 --- /dev/null +++ b/Yubikey/gpg-export-armored.sh @@ -0,0 +1,15 @@ +# Print the command to be executed +echo "Executing command: gpg --armor --export D4C61677B9CC4C9B" + +# Check for user confirmation +read -p "Are you sure you want to execute this command? (y/n) " -n 1 -r +echo + +if [[ $REPLY =~ ^[Yy]$ ]]; then + # Execute the command + gpg --armor --export D4C61677B9CC4C9B +else + # Do nothing + echo "Command not executed." +fi +