feat: ✨ Script to export public key
This commit is contained in:
parent
80ae3d01fe
commit
09b0037c10
15
Yubikey/gpg-export-armored.sh
Executable file
15
Yubikey/gpg-export-armored.sh
Executable file
@ -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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user