Skip to main content
  1. Posts/

How to install pass on android

·236 words·2 mins·
Android Technology
Joshua Blais
Author
Joshua Blais

Using the standard Unix password manager is helpful to creating a git version controlled password database. The issue with mobile is that I have had not great success in porting my database over to any phone. Frontends seem to just hate me for some reason, so therefore, we can (as pass is just a command line tool) run it in termux and get all the benefits of pass from anywhere.

Easiest to do via sshing into the phone: ssh phone

If you dont have ssh setup to your phone, in termux run: sshd to setup the daemon, find the phone's IP address on your network, and ssh into it as you would any other server.

clone your password repo to the phone:

git clone passwordstore/location .password-store

move over your gpg keys to the phone in order to read the password database:

gpg --import keys

You can set vim as your editor so that you can open pass files easily. I have had issues with nvim not working properly when trying to use it, but vim works just fine:

export VISUAL=vim

then just edit, generate, etc and use termux as your password store from anywhere.

GPG encrypted passwords, easily portable, no vendor lock-in (who is ACTUALLY PAYING for a password manager???), and FOSS.

Endgame.

As always, God bless, and until next time.

If you enjoyed this post, consider Buying me a Coffee or sending me an email.