Results 1 to 3 of 3

Thread: KMail Security (OpenPGP) Help - Please...

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338

    KMail Security (OpenPGP) Help - Please...

    Ok, I am not a noob, but in some areas, I am still learning, so I won't say I am a noobie on this... (but I am) [giggle]

    I keep getting email (through KMail) that shows the following:

    Code:
    Message was signed with unknown key.
    The validity of the signature cannot be verified.
    Problem: OpenPGP plug-in was not specified.
    Use the 'Settings->Configure KMail->Security' dialog to specify the
    plug-in or ask your system administrator to do that for you.
    Ouch! That hurts! I am the system administrator!

    Ok, I tried to do what it said, and got completely lost doing it, I set it to something, I thought would get it working, and the next email I got, it came out with the same error -=- So, I'm missing something, or not doing something...

    Way back, when I first started getting these things, I tried to set what it wanted, and then gave up, thinking it was only "foof" or "fluff" as far as the workings of email, but, with the growing concerns of email security, I'd really like this to be working.

    Has anyone got the above working? And how can I get it working?
    Ms. Cuddles

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Add this to your sources.list.

    Then apt-get update and apt-get install newpg libgpgme6 libksba0 cryptplug pinentry-common pinentry-qt should get you everything you need. Then you can go into the Settings -> Configure Kmail -> Security -> Crypto Plugins tab and add the /usr/lib/cryptplug/gpgme-openpgp.so in the location and name it OpenGPG and apply the changes, the warning should now go away and you will get a different message like this when the email is signed.

    Code:
    Message was signed with unknown key 0x79F1BCE38DE4D38E.
    The validity of the signature cannot be verified.
    Status: No public key to verify the signature.
    This is telling you the plugin works but you have not imported the public key of the person sending the mail into your keyring. If you import the key it looks like this.

    Code:
    Message was signed by [email protected] (Key ID: 0x79F1BCE38DE4D38E).
    The signature is valid, but the key's validity is unknown.
    Sign it with your own key and it looks like this and the colour of the message changes to green from yellow.

    Code:
    Message was signed by [email protected] (Key ID: 0x79F1BCE38DE4D38E).
    The signature is valid and the key is fully trusted.
    If you want to use GPG signing for your out going messages then you need to create a key with KGpg then edit the file /home/user_name/.gnupg/gpg.conf and uncomment the use-agent line then create a /home/user_name/.gnupg/gpg-agent.conf with the following contents:

    Code:
    pinentry-program /usr/bin/pinentry-qt
    no-grab
    default-cache-ttl 1800
    Now you edit the /etc/X11/Xsession.d/90newpg_gpg-agent and change to this line at the top of the file.

    Code:
    STARTGPG=yes
    Then you have to return to the Configure Kmail -> Manage Identities and choose the email account for the GPG key you created and select the Modify option, in the Advanced tab of the configuration dialog that pops up use the Change button in the OpenGPG key selection and in the dialog select the key to use then apply the changes. You have to log out of KDE and restart the X server then log back in and every time you send a mail with the account you should have an encryption option to choose too use.

  3. #3
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Thanks Stephen, now some more questions (you knew this was going to happen...)

    OpenPGP is for incomming email signing ?
    OpenGPG is for outgoing email signing ?

    Am I right, or do I have something mixed up?

    Also, the above is not for encryption, right? Because the email I get with these messages, can be read (but just have the message above them), so it can't be an encrypted email. So, "signing" an email just ensures who the sender is, and that "they" sent it, correct?

    Considering how much the trouble, as seen above, to get "signing" working with email, and the fact that I don't have anyone I would "need" this for, nor would they care if I did or not, and that the email I am getting that has this, is coming from ALSA email newsgroup, I think its a moot issue to get it working. I just thought, by the message that pops up in the email, it was something serious that I am missing, and by the wording, something that "should" be running, or something is seriously going to go wrong, kinda thing.

    Thanks again for the help Stephen,
    Ms. Cuddles

Similar Threads

  1. Help me set up Kmail
    By Ezor in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-22-2004, 09:29 PM
  2. kmail and hotmail configuration
    By nicorellius in forum General Support
    Replies: 3
    Last Post: 10-30-2004, 01:22 PM
  3. Hotmail support for kmail
    By hojit in forum Ideas
    Replies: 2
    Last Post: 03-15-2004, 05:07 AM
  4. Mozilla with KMail
    By Cuddles in forum General Support
    Replies: 0
    Last Post: 01-18-2004, 02:16 PM
  5. Smail in Kmail
    By willywalker in forum General Support
    Replies: 0
    Last Post: 01-04-2004, 11:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SAMSUNG 128GB (4x32GB) M393A4K40BB1-CRC4Q RAM DDR4-2400T RDIMM ECC Memory picture

SAMSUNG 128GB (4x32GB) M393A4K40BB1-CRC4Q RAM DDR4-2400T RDIMM ECC Memory

$666.00



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



Set of 2 HMAA4GR7CJR8N-XN HYNIX 32GB (1X32GB) 2Rx8 PC4-3200AA MEMORY  picture

Set of 2 HMAA4GR7CJR8N-XN HYNIX 32GB (1X32GB) 2Rx8 PC4-3200AA MEMORY

$600.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Micron MTA72ASS16G72LZ-3G2B3XI 128GB DDR4-3200 PC4-3200AA 4DRx4 LRDIMM ECC RAM picture

Micron MTA72ASS16G72LZ-3G2B3XI 128GB DDR4-3200 PC4-3200AA 4DRx4 LRDIMM ECC RAM

$800.00



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM picture

MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM

$139.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$202.50