Multiple devices, one set of keys.

simon.morice's Avatar

simon.morice

06 Apr, 2012 12:53 PM

I have two Macs, an iPhone and an iPad. How do I go about replicating the keys across multiple devices and apps?

  1. Support Staff 1 Posted by Luke Le on 06 Apr, 2012 01:39 PM

    Luke Le's Avatar

    Hi Simon,

    since every device containing your secret keys
    poses a security thread, there's no out-of-the-box
    way to so this.
    However in order to install the keys on your second mac
    you can copy the .gnupg folder in your home folder to your second mac.
    As for iPad and iPhone you will have to check the user guides of the
    apps your using to find out what methods they provide

    Hope that helps.

  2. 2 Posted by simon.morice on 06 Apr, 2012 02:29 PM

    simon.morice's Avatar

    Brilliant, and speedy too. Thanks Luke.

    I am sure that this will become an issue given the trend towards pervasive computing environments and tools. How would you suggest I approach security, my work mandates that I must use the various tools? Does this mean there is no solution for using machines at Internet Cafes and the like?

    S

  3. Support Staff 3 Posted by Luke Le on 06 Apr, 2012 02:47 PM

    Luke Le's Avatar

    One solution for the two different macs would be, to keep the private keys or the entire .gnupg folder on a USB-Drive and link the folder on your drive into the home folders of your mac.
    That solves the syncing problem and is more secure if your machines should be compromised.
    Unfortunately there's no good solution for Internet Cafés yet. Considering that the GPG software needs to be installed on the computer you want to use it from, I don't think many internet Cafés will let you do that.
    Some people have started to develop JavaScript support for GPG (OpenPGP)
    but it'll still take time till such solutions are feasible

  4. 4 Posted by Davduf on 03 Jun, 2012 02:26 AM

    Davduf's Avatar

    I'm sorry but where can i find my .gnupg folder ? I don't see any.

    My best

  5. Support Staff 5 Posted by Luke Le on 03 Jun, 2012 02:29 AM

    Luke Le's Avatar

    Hi Davduf,

    the .gnupg folder is in your home directory.
    It's a hidden folder so you can't see it in Finder.

  6. 6 Posted by Davduf on 03 Jun, 2012 02:34 AM

    Davduf's Avatar

    Thank You Luke.
    So, how can i get this .gnupg folder (to copy it into my second Mac) ?

  7. Support Staff 7 Posted by Luke Le on 03 Jun, 2012 02:56 AM

    Luke Le's Avatar

    Are you familiar with the Terminal?

  8. 8 Posted by Davduf on 03 Jun, 2012 03:10 AM

    Davduf's Avatar

    I could be ,-)

    Could you tell me what to do?
    All my best

  9. Support Staff 9 Posted by Luke Le on 03 Jun, 2012 03:24 AM

    Luke Le's Avatar

    So basically you open Terminal.app.
    And enter the following commands:

    $> cd ~/ $> cp -R .gnupg /Volumes/MyExternalHarddrive/some/path

    Unless you have the hard disk of your second mac mounted you will probably want to have the folder on an external harddrive.

    Hope that helps.

  10. 10 Posted by Davduf on 03 Jun, 2012 03:29 PM

    Davduf's Avatar

    Thanx !

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

    Steve's Avatar

    Hey Davduf and Simon,

    were all your questions answered? Can I close this or is there anything open currently?

    All the best, steve

  12. 12 Posted by Davduf on 04 Jun, 2012 01:12 PM

    Davduf's Avatar

    No problem. Thank you for your help !

  13. Support Staff 13 Posted by Steve on 04 Jun, 2012 01:21 PM

    Steve's Avatar

    Great stuff. Closing :)

    All the best,
    steve


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

  14. Steve closed this discussion on 04 Jun, 2012 01:21 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