Importing Public Keys Via Copy-And-Paste

tcb's Avatar

tcb

23 Nov, 2011 02:14 AM

Hey Guys,

Great work on bringing together the GPG Tools and Support Forum!

I'm running latest GPG Tools Installation on latest version of OSX Lion.

Would like to be able to use Command-C to copy a public key from a webpage and then Command-V to paste it into GPG KeyChain Access. I could swear I did this recently one or two versions back, but now with the latest version, can no longer do so or have forgotten how.

Any suggestions on how to accomplish this? Downloading, Saving and Importing keys as files is certainly doable but often a great waste of time - if copy/paste an alternative.

Lastly, is there any documentation to help me understand what GPG Services offer and how/where I might want to use them?

  1. 1 Posted by Alex on 23 Nov, 2011 08:35 AM

    Alex's Avatar

    Thank you for your feedback. I created a ticket for that. You could import a public key from a web page by using GPGServices.

  2. 2 Posted by Mento on 24 Nov, 2011 10:41 AM

    Mento's Avatar

    Copy and paste still works.

  3. 3 Posted by Alex on 24 Nov, 2011 06:00 PM

    Alex's Avatar

    Also on this machine. Can you somehow show us how to reproduce this issue?

  4. 4 Posted by tcb on 25 Nov, 2011 02:24 AM

    tcb's Avatar

    I'm assuming there are TWO ways to copy and paste a public key into my existing keychain using GPG Tools, yes?

    Method 1: - Using an open/activated version of GPG Keychain Access ...and

    Method 2: - Somehow using GPG Services which I've not used before.

    Assuming Post 3 above meant copy-and-paste works with Method 1, could someone provide me the explicit steps needed AFTER one has selected and copied a public key from a website using COMMAND-C?

    As for Method 2, I'm not familiar at all with how to use GPG Services and my first attempt to assign a key sequence to importing a key caused my keychain to temporarily disappear and for GPG to give me error messages until I did a complete reinstall of GPG Tools from scratch.

  5. 5 Posted by Alex on 25 Nov, 2011 06:22 AM

    Alex's Avatar

    could you tell us which key you're trying to import?

    --
    sent from my mobile phone,
    please excuse my brevity

  6. 6 Posted by tcb on 25 Nov, 2011 04:32 PM

    tcb's Avatar

    I'm trying to import via cut-and-paste the keys from the PUTTY site here:
    http://www.chiark.greenend.org.uk/~sgtatham/putty/keys.html

    The early GPG key below (RSA Release Key) below is problematic.

    -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.4 (GNU/Linux)
    Comment: For info see http://www.gnupg.org

    mQCNAzpA2ZYAAAEEAKxRyqIqZxKktdbrPo/OUj/4ij+yNIC8oBTVNgt3+NcAgFKI
    lPxjRKkrNFMrmXPaKRLp8/TS5Z46nSgG44d58G/5clu7IVge2YlCpvoIfo3ute2U
    UbBvXCJFVK5ePhNzQX8nGibmejxo8wF5CShyifhmoyfd96cf9u85zMC0HK4pAAUR
    tDRQdVRUWSBSZWxlYXNlcyAoUlNBKSA8cHV0dHktYnVnc0BsaXN0cy50YXJ0YXJ1
    cy5vcmc+iQCVAwUQOkDZlu85zMC0HK4pAQG7XQP6AlJiPCmN7PMz92LhqNbK4B1Y
    WtNCcDKz1wZZow2OrQW79SZ+I6RqWC/z/1YKIgYY30aE2UtY9OMUYlQ+I08rsYC4
    hNxNY4JvyyP9AT7wiJlpvdWtD590Z5DYwdSTeZg8w0N3NvCJ6m3ivFHiEZuJcZjd
    cfPQziUxGjQi6HzG+seJAJUDBRA6QNrinVh3vx40rEEBAfM0A/9vCcf0Kj5ebQ6d
    1oJmvOvp85jCy0Kwq4laatx8u9EhuKr0cSIFYLs64u3nwvTH2kRrlKRTqbdglA/D
    yYBSdHwSzJ1LoQFARMVD7rxc8VIwNhZSwze3Tafp3iToiG/wTb6GE8rnPS+ExAja
    LcrXlt1MbO1jFunrxKc3bwqez6ahvw==
    =t5QN -----END PGP PUBLIC KEY BLOCK-----

  7. 7 Posted by tcb on 02 Dec, 2011 07:06 AM

    tcb's Avatar

    I could have sworn I posted the link to the problematic key I could not copy-and-paste using GPG KeyChain Access last week, and recall seeing a reply following my post that the problem had in fact been confirmed.

    Since then, the issue seems to have been closed and I can find no trace of the reply confirming that the following key cannot be cannot be copy-and-pasted into GPG KeyChain access:

    http://www.chiark.greenend.org.uk/~sgtatham/putty/keys/release-rsa.asc

    Any suggestions on how to copy and paste this key from latest Firefox browser into GPG Keychain access would be most welcome.

    Thanks again in advance

  8. 8 Posted by Alex on 03 Dec, 2011 08:48 PM

    Alex's Avatar
  9. 9 Posted by Mento on 13 Dec, 2011 10:56 AM

    Mento's Avatar

    I have fixed the problem. Please wait for the next release.

  10. Mento closed this discussion on 13 Dec, 2011 10:56 AM.

  11. tcb re-opened this discussion on 18 Dec, 2011 04:59 PM

  12. 10 Posted by tcb on 18 Dec, 2011 04:59 PM

    tcb's Avatar

    Hey Mento,

    Have installed latest release 1.0b5 from most recent 12-14-2011
    installer, but am still unable to copy/paste a key from a website into
    my keyring via GPG Keychain Access.

    Can you provide me the detailed instructions to follow to successfully
    import the following key via cut and paste?

    http://www.snort.org/pub-keys/public_key_290

    I'm using FireFox 8.0.1 and OSX Lion 10.7.2

    If the latest release you referred to below is still forthcoming, please
    ignore

    Best regards,

    TCB

  13. 11 Posted by Alex on 18 Dec, 2011 09:42 PM

    Alex's Avatar

    Hi, it's fixed after 1.0b5. We'll release it soon. Thanks.

  14. Alex closed this discussion on 18 Dec, 2011 09:42 PM.

  15. Alex re-opened this discussion on 19 Dec, 2011 06:53 PM

  16. 12 Posted by Alex on 19 Dec, 2011 06:53 PM

    Alex's Avatar

    Oh, btw: the key at http://www.snort.org/pub-keys/public_key_290 is not valid - it needs line breaks.

  17. Alex closed this discussion on 19 Dec, 2011 06:54 PM.

  18. Alex re-opened this discussion on 19 Dec, 2011 07:01 PM

  19. Alex closed this discussion on 19 Dec, 2011 07:02 PM.

  20. Steve closed this discussion on 05 Jul, 2015 12:02 PM.

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