-
Multiple shared password stores with Git and pass - zwyx.dev
-
Adding a key
-
Using this repository as a shared password-store
-
Is it posible to create a gpg key without password
Put my own public key
Useful variables
GNUPG_HOME -> Location of gpg key. (default ~/.gpg
)
PASSWORD_STORE_DIR -> Location of password store. (default ~/.pass
)
You will have to import the public-keys which will be inside .public-keys
.
$ gpg --import plug-pass/.public-keys/*.asc
How to re-encrpt .password-store using new gpg key - StackExchange
password-store default location: ~/.pass
, edit with $ export PASSWORD_STORE_DIR=<path>
Then use $ pass init <gpg-id>
Public Key
$ gpg --output public.pgp --armor --export <name/email>
Private Key
$ gpg --output public.pgp --armor --export-secret-key <name/email>
note: If you import a private key, the public key will be imported too.
$ gpg --import public.asc
$ gpg --import private.asc
For each individual folders, add a .gpg-id
Add the user key to the .public-keys
directory.
$ gpg --import .public-keys/*.asc
Now that it's imported, get the UID with
$ gpg --list-keys
Edit the key, add trust
gpg --edit-key "Nick <nick@plug.org>"
gpg> trust
Your decision? 5
gpg> quit