Browse Source

Show public key as a qrcode

Bob Mottram 6 years ago
parent
commit
7806870ca9
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-controlpanel-user

+ 4
- 0
src/freedombone-controlpanel-user View File

434
     dialog --title $"My PGP/GPG Key" \
434
     dialog --title $"My PGP/GPG Key" \
435
            --backtitle $"Freedombone User Control Panel" \
435
            --backtitle $"Freedombone User Control Panel" \
436
            --msgbox $"Email Address: $MY_EMAIL_ADDRESS\\n\\nKey ID: $GPG_ID\\n\\nFingerprint: $GPG_FINGERPRINT\\n\\nCreated: $GPG_DATE" 12 70
436
            --msgbox $"Email Address: $MY_EMAIL_ADDRESS\\n\\nKey ID: $GPG_ID\\n\\nFingerprint: $GPG_FINGERPRINT\\n\\nCreated: $GPG_DATE" 12 70
437
+    clear
438
+    echo $"Your GPG/PGP public key:"
439
+    gpg --armor --export "$GPG_ID" | qrencode -t UTF8
440
+    any_key
437
 }
441
 }
438
 
442
 
439
 function show_full_gpg_key {
443
 function show_full_gpg_key {