29 lines
342 B
Markdown
29 lines
342 B
Markdown
# How to setup Pass password utility
|
|||
|
|
|
||
|
|
Install required packages
|
||
|
|
|
||
|
|
```
|
||
|
|
sudo pacman -S gnupg pass
|
||
|
|
```
|
||
|
|
|
||
|
|
Create a config directory for GnuPG
|
||
|
|
|
||
|
|
```
|
||
|
|
mkdir ~/.config/gnupg
|
||
|
|
chmod 700 ~/.config/gnupg
|
||
|
|
```
|
||
|
|
|
||
|
|
Add the following line to `~/.bashrc` :
|
||
|
|
|
||
|
|
```
|
||
|
|
GNUPGHOME=~/.config/gnupg
|
||
|
|
```
|
||
|
|
|
||
|
|
Then source .bashrc to add the new ENV var
|
||
|
|
|
||
|
|
```
|
||
|
|
source ~/.bashrc
|
||
|
|
```
|
||
|
|
|
||
|
|
|