Associate private key to email address (web)

dario.puliero's Avatar

dario.puliero

15 May, 2012 11:18 AM

Hello,
I have created the private key with false email address and I have associate it with my real email address with Enigmail when I have used Thunderbird.
Now I'm using Mail app of Apple but I don't understand how to associate my private key to my real email address.
I'm using gpgmail on OS X 10.7.4

Help me, please.

Best regards

Dario Puliero

  1. Support Staff 1 Posted by Steve on 17 May, 2012 03:45 PM

    Steve's Avatar

    Hey Dario,

    I think what you want to do is:

    • Close Mail.app
    • Open GPG Keychain Access
    • Double Click your sec key -> Key Inspector shows up
    • add User ID to your existing key (second tab and hit "+" on the top field)
    • add the mail address you are using in apple's Mail.app
    • open Mail.app

    See if that works.

    All the best,
    steve


    Please consider a donation. We do all this in our spare time.

  2. Support Staff 2 Posted by Steve on 22 May, 2012 11:20 AM

    Steve's Avatar

    Dario, was your problem solved or do you still need assistance?

  3. 3 Posted by Dario Puliero on 22 May, 2012 03:02 PM

    Dario Puliero's Avatar

    Hi,
    I still need assistance for my problem

    Thanks

    ---
    Dario Puliero

  4. Support Staff 4 Posted by Steve on 22 May, 2012 04:14 PM

    Steve's Avatar

    Hey Dario :)

    well, did you try my suggestion? How did it go? At which point did you have problems?

  5. 5 Posted by dario.puliero on 24 May, 2012 01:00 PM

    dario.puliero's Avatar

    Hi,
    I've done what you said but the only thing is changed it's the possibility to digitally sign the mail but not still crypt ...

  6. 6 Posted by Dario Puliero on 24 May, 2012 01:30 PM

    Dario Puliero's Avatar

    Hi,
    this is the error message:

    This message cannot be encrypted because you do not have the public key for [email blocked].

    thanks

  7. Support Staff 7 Posted by Steve on 24 May, 2012 05:20 PM

    Steve's Avatar

    Hey Dario,

    well the followup question of course is, do you actually have the pub key for ***@xyz.com?

    Could you send a test msg to the GPGTools Team key? It's in GPG Keychain Access, if not re-install the installer and make sure to include the Team key.

    All the best,
    steve

  8. Support Staff 8 Posted by Steve on 04 Jun, 2012 05:58 PM

    Steve's Avatar

    Dario, how is life? Where you able to solve this or do you still need help? Did you try sending a testmail?

    Cheerios,
    steve

  9. 9 Posted by Dario Puliero on 05 Jun, 2012 04:54 AM

    Dario Puliero's Avatar

    hi steve,

    sorry for my delay but I'm not in office (with my mac) during this days.
    So, when I will be in Italy (2-3 days), in front of my mac, I will
    send you test email.

    Sorry and thanks for your help.

    ---
    Dario Puliero

    Il giorno 04/giu/2012, alle ore 19:59, Steve
    <[email blocked]> ha
    scritto:

  10. Support Staff 10 Posted by Steve on 05 Jun, 2012 07:50 AM

    Steve's Avatar

    Sure, no problem. Drop us a line when you find some time.

  11. 11 Posted by Dario Puliero on 11 Jun, 2012 12:41 PM

    Dario Puliero's Avatar

    Hi Steve,
    I am finally in my office.

    How can I send test message? By email? And if i must send test message by email, at what email address?

    thanks

    ---
    Dario Puliero

  12. Support Staff 12 Posted by Steve on 11 Jun, 2012 12:57 PM

    Steve's Avatar

    Hey Dario,

    use this mail address: gpgtools-org AT lists.gpgtools DOT org

    replate at with @ and dot with .

    Search for the according key on the public key servers by using this mail address.

    Hope this helps :)
    steve

  13. 13 Posted by Dario Puliero on 11 Jun, 2012 01:06 PM

    Dario Puliero's Avatar

    Hi Steve,

    I can't send test message because Mail.app returns this error: "This message cannot be encrypted because you do not have the public key for [email blocked]."

    I have installed gnupg and I should have the public key as you can see bye keychain screenshot that it is attached into this email.

    ---
    Dario Puliero

  14. Support Staff 14 Posted by Steve on 11 Jun, 2012 02:02 PM

    Steve's Avatar

    which version of GPGMail are you using? Which version of GPG Keychain Access?

    I can't see the screenshot. It seems Tender (this support-platform) is having some issues processing the attachment. Most likely a problem with their servers and they are usually rather fast solving those little problems.

    Have you installed the latest nightly of the GPGTools Installer from here: http://nightly.gpgtools.org/?

  15. 15 Posted by Dario Puliero on 11 Jun, 2012 02:10 PM

    Dario Puliero's Avatar

    GPGMail: Version 2.0a31 Build: 107103
    Keychain: Version 1.0b7 (1.0b7)

    To view screen:
    https://dl.dropbox.com/u/2604595/GPG%20Keychain%20Access-1.jpg

    Yes, I have installed the latest nightly.

    ---
    Dario Puliero

  16. Support Staff 16 Posted by Steve on 11 Jun, 2012 07:05 PM

    Steve's Avatar

    As I thought: you simply have the wrong key. The mail address I named does not exist in GPG Keychain Access thus you cannot encrypt mails to that address.

    See what it should look like in my screenshot...

    So:

    • open up GPG Keychain Access
    • cmd + F
    • do a search for the mail address from my previous reply
    • see that key in GPG Keychain Access
    • send us a test mail

    :)

    steve

  17. 17 Posted by Dario Puliero on 12 Jun, 2012 08:44 AM

    Dario Puliero's Avatar

    Hello Steve,

    I have sent a test message>

    ---
    Dario Puliero
    [email blocked]
    Skype: d_dax_80

  18. Support Staff 18 Posted by Steve on 12 Jun, 2012 11:59 AM

    Steve's Avatar

    Yes, we've received and replied. Looks to be working perfectly fine.

    Steve

  19. 19 Posted by Dario Puliero on 12 Jun, 2012 01:11 PM

    Dario Puliero's Avatar

    Ok, I have received your reply but my issue is another.

    I have a public key of my friend and this key is associated to a no real email.
    My problem is to add a user id at this public key so as to send encypted email to my friend.

    How can I do?

    I think I understand that I have not a chance to manually select a key when sending mail, isn't true?

    Thanks for everything

    ---
    Dario Puliero
    [email blocked]
    Skype: d_dax_80

  20. Support Staff 20 Posted by Steve on 12 Jun, 2012 06:27 PM

    Steve's Avatar

    Dario, I don't understand what you are trying to do.

    You have a public key of your friend and try to add a user ID to that key? That is not possible. You can only add user IDs to keys of which you also have the sec key part.

    If you want to write encrypted mails with your friend, he'd have to connect the key to an actual mail address.

    Or create a new key and upload that to the key servers.

    About key selection: well, that's what GPGMail is good for: it connects the mail address you are writing to to GPG Keychain Access and automatically sees if you have a key that matches that address.

    Hope this helps,
    steve

  21. Support Staff 21 Posted by Luke Le on 12 Jun, 2012 07:28 PM

    Luke Le's Avatar

    Hi Dario,

    in order to do that, you have to run the following command in Terminal:

    defaults write org.gpgtools.common PublicKeyUserMap -dict-add email fingerprint

    Replace email with the real email address of your friend and the fingerprint you can retrieve from his public key in GPG Keychain Access. Remove all spaces.

    After that you might have to restart GPGMail.

    Let us know if that worked.

  22. Support Staff 22 Posted by Luke Le on 12 Jun, 2012 07:28 PM

    Luke Le's Avatar

    Best is though, to ask your friend to update his key with his real email address.

  23. 23 Posted by Dario Puliero on 13 Jun, 2012 03:49 PM

    Dario Puliero's Avatar

    Hi Luke and Steve,

    I have run the command in Terminal and it is ok now!

    Thank you both.

    Bye bye,
    Dario Puliero

  24. Support Staff 24 Posted by Steve on 14 Jun, 2012 11:09 AM

    Steve's Avatar

    Hey Dario,

    glad this could be solved. If you have further questions feel free to open a new discussion.

    All the best,
    steve

  25. Steve closed this discussion on 14 Jun, 2012 11:09 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac