This commit is contained in:
Bob Mottram 2018-02-15 18:52:47 +00:00
parent c2a50e3afb
commit b27b7799ca
1 changed files with 1 additions and 1 deletions

View File

@ -885,7 +885,7 @@ function menu_run_client_app {
function show_your_email_address {
GPG_FINGERPRINT=$(gpg --fingerprint $GPG_ID | sed -n '2p' | sed 's/^[ \t]*//')
GPG_DATE=$(gpg --fingerprint $GPG_ID | grep -i "pub" | head -n 1 | awk -F ' ' '{print $3}')
if [ ! -d ~/.mutt/bdsmail ]; then
if [ ! -f ~/.mutt/bdsmail ]; then
dialog --title $"Show your Email Address" \
--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