Преглед изворни кода

Show public key as a qrcode

Bob Mottram пре 6 година
родитељ
комит
7806870ca9
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4
    0
      src/freedombone-controlpanel-user

+ 4
- 0
src/freedombone-controlpanel-user Прегледај датотеку

@@ -434,6 +434,10 @@ function show_gpg_key {
434 434
     dialog --title $"My PGP/GPG Key" \
435 435
            --backtitle $"Freedombone User Control Panel" \
436 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 443
 function show_full_gpg_key {