Documentation
On this page
Create a store
If you already have a store in a git repository, skip to Connect the app.
HardenedPass cannot generate OpenPGP keys, so the key has to be made elsewhere. The most comfortable way is a computer with GnuPG, pass and git installed. Most Linux distributions package all three.
No computer? Termux gives you the same tools on the phone, and the commands below work there too. The phone only route explains what changes. Your key then lives only on the phone, so make sure you copy it somewhere safe.
Make a key pair
|
|
Accept the default key type, enter your name and an address, and choose a strong passphrase. You will type it often, so pick one you can remember.
Create the store
Use the address you gave the key:
|
|
The first command creates the store in ~/.password-store and writes .gpg-id. The
second turns it into a git repository.
Add a first entry so that you have something to test with. -m lets you type several
lines; finish with Ctrl+D:
|
|
|
|
Add a remote
Create an empty, private repository on a git server you can reach over SSH or HTTPS. A hosting service works, and so does a server of your own: this article compares the options. Then connect the store to it and send it there:
|
|
Export the private key
The phone needs a copy of the private key:
|
|
private-key.asc to the phone over USB, not through email or a cloud drive.
Delete every copy from the phone’s storage and from the computer once the app has
imported it. The app keeps its own.Also keep a backup of the key offline, for example on an encrypted USB stick. See Concepts for why.