Replies: 1 comment
-
Having a separate user is the most reasonable solution here. Move the password store to somewhere outside your home directory, set the mv $HOME/.password-store /my/safe/directory
echo "export PASSWORD_STORE_DIR=/my/safe/directory/.password-store" >> .bashrc
sudo groupadd password_store
sudo adduser pass --disabled-password
sudo adduser pass password_store
chown -R $(whoami):password_store $PASSWORD_STORE_DIR Then you would add the SSH key to For maximum security, we recommend that you use the app to generate the SSH key rather than import one into it, since that ensures the private key is always stored on disk in an encrypted form and even if your device is somehow compromised, the private key cannot be used to log into your server. |
Beta Was this translation helpful? Give feedback.
-
I can make Android-Password-Store generate an SSH-key, but I would like to restrict what it can do on my server with that key. Is it possible to use a forced command (and what should it be) on that SSH-key? Or am I better off creating a seperate user and give is access to the repo that contains my password store?
Beta Was this translation helpful? Give feedback.
All reactions