summaryrefslogtreecommitdiffstats
path: root/content/en/hardenedpass/getting-started/connect
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-05 10:22:12 +0100
committerDanilo M. <danix@danix.xyz>2026-11-05 10:22:12 +0100
commit395eed25a9d879391558026bb90cd3acb9afdacf (patch)
tree70e33dcdcca31fc47d595cd339778ebfa09ce6df /content/en/hardenedpass/getting-started/connect
parenta5761e8d7875357d0dcc52a5cc31f06f866d791c (diff)
downloaddanixxyz-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/connect')
-rw-r--r--content/en/hardenedpass/getting-started/connect/index.md81
-rw-r--r--content/en/hardenedpass/getting-started/connect/pgp-import.pngbin0 -> 106999 bytes
-rw-r--r--content/en/hardenedpass/getting-started/connect/repository.pngbin0 -> 99383 bytes
-rw-r--r--content/en/hardenedpass/getting-started/connect/ssh-key.pngbin0 -> 56540 bytes
-rw-r--r--content/en/hardenedpass/getting-started/connect/store-list.pngbin0 -> 58810 bytes
-rw-r--r--content/en/hardenedpass/getting-started/connect/welcome.pngbin0 -> 95692 bytes
6 files changed, 77 insertions, 4 deletions
diff --git a/content/en/hardenedpass/getting-started/connect/index.md b/content/en/hardenedpass/getting-started/connect/index.md
index 067ec6a..87ca4f7 100644
--- a/content/en/hardenedpass/getting-started/connect/index.md
+++ b/content/en/hardenedpass/getting-started/connect/index.md
@@ -1,13 +1,86 @@
+++
title = "Connect the app"
date = 2026-11-05T00:00:00Z
-description = ""
+description = "How to connect HardenedPass to your store: clone the repository, set up an SSH key or password, import your OpenPGP private key."
weight = 40
draft = true
+++
-Placeholder.
+You need the address of your repository and the file with your private key. If you
+have neither, start with [Create a store]({{< relref "/hardenedpass/getting-started/create-store" >}}).
-## First heading
+## Clone the store
-Text.
+Open the app and tap **Clone Remote Repo**.
+
+{{< image src="welcome.png" alt="Welcome screen with the buttons Clone Remote Repo, Create Local Repo and Settings." class="max-w-sm mx-auto rounded-lg border border-border" />}}
+
+Type the address of your repository in **Repository URL** and choose how to log in
+under **Authentication Mode**.
+
+{{< image src="repository.png" alt="Repository information screen with the URL filled in and SSH key selected as authentication mode." class="max-w-sm mx-auto rounded-lg border border-border" />}}
+
+These address forms all work:
+
+| Form | Example |
+|---|---|
+| SSH, short | `git@git.example.org:store.git` |
+| SSH, with a port | `ssh://git@git.example.org:2222/srv/git/store.git` |
+| HTTPS | `https://git.example.org/you/store.git` |
+
+The app warns you about addresses that would not work well: a custom port without
+`ssh://`, a port on an HTTPS address, which is not supported, and `git://`, which has
+no encryption.
+
+### With an SSH key
+
+Tap **Manage** next to the SSH key line.
+
+{{< image src="ssh-key.png" alt="SSH key screen with the buttons Import SSH key and Generate SSH key pair." class="max-w-sm mx-auto rounded-lg border border-border" />}}
+
+- **Import SSH key** reads a private key you already have, from a file.
+- **Generate SSH key pair** makes a new key on the phone. Ed25519 is the best choice
+ unless your server is old. **Protect with screen lock credential** makes the app
+ ask for your screen lock each time it uses the key.
+
+After generating, the app shows the public key. Add it to your git server, in the
+same place you would add a key for a computer. Then go back and tap **Clone**.
+
+### With a password
+
+Choose **Password** and tap **Clone**. The app asks for the password when it connects,
+and **Remember password** stores it encrypted on the phone. Many hosting services want
+an access token here rather than your account password.
+
+### The server's identity
+
+On the first SSH connection the app saves the server's host key without asking, and
+checks it on every connection after that. If the key changes, syncing stops with an
+error. If you know why it changed, tap **Clear saved host key** on the repository
+screen. If you do not, stop and find out first: someone could be impersonating your
+server.
+
+## Import your private key
+
+Once the clone is done, the app shows which key the store is encrypted for, under
+**Store recipients**.
+
+{{< image src="pgp-import.png" alt="Import PGP key screen listing the store's recipient key ID, with an Import PGP key button." class="max-w-sm mx-auto rounded-lg border border-border" />}}
+
+Tap **Import PGP key** and pick your key file. The app shows the ID of the imported
+key: check that it matches. You can tap **Later** to skip this, but no entry can be
+opened until a matching key is imported.
+
+The list of entries opens, and you are done.
+
+{{< image src="store-list.png" alt="The store list, showing the folders otp and work and the entry example.org." class="max-w-sm mx-auto rounded-lg border border-border" />}}
+
+Delete the key file from the phone's storage now, as
+[Create a store]({{< relref "/hardenedpass/getting-started/create-store" >}}) explains.
+The first time you open an entry, the app asks for the key's passphrase.
+
+## A store without a server
+
+**Create Local Repo** makes a store that lives only on the phone. Import your private
+key, then tap it in the list to create the store for that key. You still need a key
+made on a computer, and without a remote nothing protects you if the phone is lost.
diff --git a/content/en/hardenedpass/getting-started/connect/pgp-import.png b/content/en/hardenedpass/getting-started/connect/pgp-import.png
new file mode 100644
index 0000000..2b01266
--- /dev/null
+++ b/content/en/hardenedpass/getting-started/connect/pgp-import.png
Binary files differ
diff --git a/content/en/hardenedpass/getting-started/connect/repository.png b/content/en/hardenedpass/getting-started/connect/repository.png
new file mode 100644
index 0000000..7c2494a
--- /dev/null
+++ b/content/en/hardenedpass/getting-started/connect/repository.png
Binary files differ
diff --git a/content/en/hardenedpass/getting-started/connect/ssh-key.png b/content/en/hardenedpass/getting-started/connect/ssh-key.png
new file mode 100644
index 0000000..d4d5887
--- /dev/null
+++ b/content/en/hardenedpass/getting-started/connect/ssh-key.png
Binary files differ
diff --git a/content/en/hardenedpass/getting-started/connect/store-list.png b/content/en/hardenedpass/getting-started/connect/store-list.png
new file mode 100644
index 0000000..dc99393
--- /dev/null
+++ b/content/en/hardenedpass/getting-started/connect/store-list.png
Binary files differ
diff --git a/content/en/hardenedpass/getting-started/connect/welcome.png b/content/en/hardenedpass/getting-started/connect/welcome.png
new file mode 100644
index 0000000..b32915a
--- /dev/null
+++ b/content/en/hardenedpass/getting-started/connect/welcome.png
Binary files differ