Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
get gpg keys on other machines
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 436
Location: Ljubljana, Slovenia

PostPosted: Mon Jun 04, 2018 2:43 pm    Post subject: get gpg keys on other machines Reply with quote

In short i have gpg on my machine and i can en/decript & stuff.
But only on that machine. How can I use same keys on other machines?
Is it simply as copying .gnupg folder, with keys and stuff over to another machine?

and on android?
and on windows?

it might be my english, none of the tutorials i found (not even gnupg.org) does not cover it, or i can not find it.

thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5169

PostPosted: Mon Jun 04, 2018 2:48 pm    Post subject: Reply with quote

You might want to see here: https://wiki.gnupg.org/AgentForwarding

It's safer to leave your private key in a single place. Public keys can be copied around using the gpg export/import commands, but don't copy files by hand.
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 436
Location: Ljubljana, Slovenia

PostPosted: Mon Jun 04, 2018 3:18 pm    Post subject: Reply with quote

Hello Ant.P

So,... no, please no, please...
I read the link (what are Pinentry messages, please?) but that can not be it.
I see the point, my private key is only on one machine, so much safer (is that the point?)

Let's say I have hard drive failure, well, hell no, there is going to be a hard drive failure,
is my gpg gone? And on that subject, how do I keep a copy of my gpg?
I have password written on paper, but how can I keep other stuff, like my public and private key?

I might forgot to mention one thing, i am noob

thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1605
Location: U.S.A.

PostPosted: Sun Jun 17, 2018 5:24 pm    Post subject: Reply with quote

just copy these files to a secure location
~/.gnupg/secring.gpg
~/.gnupg/pubring.gpg

Then, read the man page for gpg and learn how to use your software.
_________________
patrix_neo wrote:
The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum