You are not logged in.

#1 2018-07-19 16:25:37

jumper149
Member
Registered: 2018-02-07
Posts: 6

How to properly use gnupg on multiple systems

Im currently migrating from my old laptop and now i wanna set up gnupg. I have all of my passwords stored with pass which encrypts them in '~/.password-store' with gnupg. I have already just shortly tested out simply copying my old '~/.gnupg' onto the new system, which works but gives me the message

gpg: WARNING: unsafe permissions on homedir '/home/$USER/.gnupg'

I would like to know how other people deal with the given problem. I like to keep it simple and dont want to use gnome keyrings or whatever else is "just working".
Also which files are absolutely necessary if i just copy the '~/.gnupg/'.

ty for answers smile

Offline

#2 2018-07-19 16:40:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,863
Website

Re: How to properly use gnupg on multiple systems

Fix the permissions? I'm not sure what other answer you're fishing for here.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-07-19 22:50:59

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: How to properly use gnupg on multiple systems

~/.gnupg/ should have permissions 700. I'm guessing yours has 755.

This probably means you copied the data from your old system without keeping the original permissions and ownership. That may be fine, but keep it in mind.

Last edited by twelveeighty (2018-07-19 22:52:29)

Offline

Board footer

Powered by FluxBB