Show public key as a qrcode

This commit is contained in:
Bob Mottram 2018-05-08 10:28:08 +01:00
parent 20f4d14373
commit 7806870ca9
1 changed files with 4 additions and 0 deletions

View File

@ -434,6 +434,10 @@ function show_gpg_key {
dialog --title $"My PGP/GPG Key" \
--backtitle $"Freedombone User Control Panel" \
--msgbox $"Email Address: $MY_EMAIL_ADDRESS\\n\\nKey ID: $GPG_ID\\n\\nFingerprint: $GPG_FINGERPRINT\\n\\nCreated: $GPG_DATE" 12 70
clear
echo $"Your GPG/PGP public key:"
gpg --armor --export "$GPG_ID" | qrencode -t UTF8
any_key
}
function show_full_gpg_key {