diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-05 10:22:12 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-05 10:22:12 +0100 |
| commit | 395eed25a9d879391558026bb90cd3acb9afdacf (patch) | |
| tree | 70e33dcdcca31fc47d595cd339778ebfa09ce6df /content/en/hardenedpass/getting-started/concepts | |
| parent | a5761e8d7875357d0dcc52a5cc31f06f866d791c (diff) | |
| download | danixxyz-395eed25a9d879391558026bb90cd3acb9afdacf.tar.gz danixxyz-395eed25a9d879391558026bb90cd3acb9afdacf.zip | |
content: write HardenedPass getting-started pages
Concepts, install, creating a store from zero and connecting the app, in
both languages, with screenshots from the test store. Still drafts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'content/en/hardenedpass/getting-started/concepts')
| -rw-r--r-- | content/en/hardenedpass/getting-started/concepts/index.md | 68 |
1 files changed, 64 insertions, 4 deletions
diff --git a/content/en/hardenedpass/getting-started/concepts/index.md b/content/en/hardenedpass/getting-started/concepts/index.md index 063dde1..0e4f6c9 100644 --- a/content/en/hardenedpass/getting-started/concepts/index.md +++ b/content/en/hardenedpass/getting-started/concepts/index.md @@ -1,13 +1,73 @@ +++ title = "Concepts" date = 2026-11-05T00:00:00Z -description = "" +description = "The three things HardenedPass is built on, in plain words: pass stores passwords as files, OpenPGP encrypts them, git syncs them." weight = 10 draft = true +++ -Placeholder. +HardenedPass is built on three tools. You do not need to master any of them, but +knowing what each one does makes the rest of these pages easy to follow. -## First heading +## pass: one file per password -Text. +[pass](https://www.passwordstore.org/) is a password manager for Unix systems. It has +no database. Each password is a small encrypted file, and folders group them. That +folder tree is called the **store**. + +``` +store/ +├── .gpg-id +├── example.org.gpg +├── otp/ +│ └── example.com.gpg +└── work/ + └── mail.example.org.gpg +``` + +Once decrypted, an entry is plain text. The first line is the password, and anything +below it is extra information: + +``` +hunter2 +username: alice +url: https://example.org +``` + +HardenedPass reads those lines and shows them as separate fields. Any program that +understands `pass` can open the same store, so your passwords are never locked into +this app. + +## OpenPGP: the lock on each file + +Every entry is encrypted with [OpenPGP](https://www.gnupg.org/), using a **key pair**: + +- The **public key** locks files. It is not secret. +- The **private key** unlocks them. It never leaves your devices. +- The **passphrase** protects the private key, so a copy of the key file alone is + useless to whoever finds it. + +The `.gpg-id` file at the top of the store says which keys entries are encrypted for. + +{{< callout type="danger" title="Back up your private key" >}} +If you lose the private key or forget its passphrase, nobody can decrypt your store. +There is no reset. Keep a copy somewhere safe and offline. +{{< /callout >}} + +## git: sync and history + +[Git](https://git-scm.com/) tracks every change to the store and copies it between +devices through a **remote**, a repository on a server. You change an entry on the +phone, the app records the change and sends it to the remote, and your other devices +fetch it from there. Old versions stay in the history, so a mistake can be undone. + +The server only holds encrypted files, but it can read their **names**. Whoever runs +it can see that you have an entry called `example.org`. Use a private repository, on a +server you trust. + +## How it fits together + +1. On a computer you make a key pair, a store and a remote. +2. On the phone, HardenedPass clones the store from the remote. +3. You import the private key into the app. +4. The app decrypts entries when you open them, and syncs changes through git. |
