Show public key as a qrcode
This commit is contained in:
parent
20f4d14373
commit
7806870ca9
|
@ -434,6 +434,10 @@ function show_gpg_key {
|
||||||
dialog --title $"My PGP/GPG Key" \
|
dialog --title $"My PGP/GPG Key" \
|
||||||
--backtitle $"Freedombone User Control Panel" \
|
--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
|
--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 {
|
function show_full_gpg_key {
|
||||||
|
|
Loading…
Reference in New Issue