This commit is contained in:
Bob Mottram 2016-05-02 14:30:20 +01:00
parent de784e6f88
commit 83907dad8a
1 changed files with 3 additions and 3 deletions

View File

@ -353,7 +353,7 @@ function block_unblock_subject {
function show_gpg_key { function show_gpg_key {
GPG_FINGERPRINT=$(gpg --fingerprint $MY_EMAIL_ADDRESS | grep -i "key fingerprint" | head -n 1 | awk -F '= ' '{print $2}') GPG_FINGERPRINT=$(gpg --fingerprint $MY_EMAIL_ADDRESS | grep -i "key fingerprint" | head -n 1 | awk -F '= ' '{print $2}')
GPG_DATE=$(gpg --fingerprint $MY_EMAIL_ADDRESS | grep -i "pub" | head -n 1 | awk -F '/' '{print $2}' | awk -F ' ' '{print $2}') GPG_DATE=$(gpg --fingerprint $MY_EMAIL_ADDRESS | grep -i "pub" | head -n 1 | awk -F '/' '{print $2}' | awk -F ' ' '{print $2}')
dialog --title $"Your 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
} }
@ -689,7 +689,7 @@ function menu_encryption_keys {
data=$(tempfile 2>/dev/null) data=$(tempfile 2>/dev/null)
trap "rm -f $data" 0 1 2 5 15 trap "rm -f $data" 0 1 2 5 15
dialog --backtitle $"Freedombone User Control Panel" \ dialog --backtitle $"Freedombone User Control Panel" \
--title $"Your Encryption Keys" \ --title $"My Encryption Keys" \
--radiolist $"Choose an operation:" 15 70 7 \ --radiolist $"Choose an operation:" 15 70 7 \
1 $"Show your PGP/GPG key" off \ 1 $"Show your PGP/GPG key" off \
2 $"Publish your PGP/GPG key so that others can find it" off \ 2 $"Publish your PGP/GPG key so that others can find it" off \
@ -798,7 +798,7 @@ function menu_top_level {
5 $"Use IRC" off \ 5 $"Use IRC" off \
6 $"Browse the Web" off \ 6 $"Browse the Web" off \
7 $"File Synchronization" off \ 7 $"File Synchronization" off \
8 $"Your Encryption Keys" off \ 8 $"My Encryption Keys" off \
9 $"Set an outgoing email proxy" off \ 9 $"Set an outgoing email proxy" off \
10 $"Administrator controls" off \ 10 $"Administrator controls" off \
11 $"Exit to the command line" off \ 11 $"Exit to the command line" off \