Commit Graph

22 Commits

Author SHA1 Message Date
Brian McGee
651b277bb9 feat: configure age plugins for SOPS in buildClan 2025-04-29 16:02:32 +10:00
Brian McGee
1bfe318865 feat: support age plugins
Extends how we parse the contents of `SOPS_AGE_KEY` / `SOPS_AGE_KEY_FILE` / `keys.txt`, allowing a user to prepend a comment before any `AGE-PLUGIN-` secret key entry to indicate its corresponding public key.

For example:

```
AGE-PLUGIN-FIDO2-HMAC-xxxxxxxxxxxxx
```

The comment can use any prefix (e.g. `# public key: age1xxxx`, `# recipient: age1xxx`) as we are looking directly for `age1xxxx` within the line.

This change is necessary to support `age` plugins as there is no unified mechanism to recover the public key from a plugin's secret key.

If a plugin secret key does not have a preceding public key comment, an error will be thrown when attempting to set a secret.
2025-04-29 15:47:54 +10:00
Brian McGee
aa4fe27e51 feat(clan-cli): support multiple keys for a user 2025-04-09 09:58:58 +00:00
a-kenji
ea5f2ecce9 docs/guide: Mention alternative secret store backends 2025-02-27 09:58:00 +00:00
Qubasa
125c2df666 docs: Fix multiple issues with the clan installation guide 2025-02-18 17:40:27 +07:00
Qubasa
030b046552 Reapply "docs: Document imports dir. Remove What's next sections everywhere. Merge guide overview and hompage view."
This reverts commit ba517f56b3.
2025-01-18 10:00:56 +07:00
Jörg Thalheim
ba517f56b3 Revert "docs: Document imports dir. Remove What's next sections everywhere. Merge guide overview and hompage view."
This reverts commit 257e1893ee.
2025-01-17 15:44:44 +01:00
Qubasa
257e1893ee docs: Document imports dir. Remove What's next sections everywhere. Merge guide overview and hompage view. 2025-01-17 21:03:25 +07:00
Michael Hoang
eb13e7a40c docs: fix typos 2024-12-11 10:18:24 +11:00
Qubasa
4e6051acdc docs: Fix nix flake check problem with diskId 2024-11-25 18:39:16 +01:00
Johannes Kirschbauer
60ddd3369e Docs: restructure apply diataxis 2024-09-25 13:37:35 +02:00
Qubasa
036cd710e1 docs: Rename guides to manual, Rename reference to options, add secure boot chapter to manual. Add secrets chapter to manual. 2024-09-20 16:52:52 +02:00
DavHau
4e3870365a docs/secrets: improve chapter assigning access
Since we already walk the user through creating a secret in an earlier step, it makes more sense explain first how to add machines/users to an existing secret instead of creating  a new one
2024-05-28 13:08:19 +02:00
DavHau
63ee7d8ab1 docs: secrets: list the main steps of the guide
... so the user has a routh idea about the mein steps
2024-05-27 12:02:29 +02:00
Qubasa
d717646d93 Add clan flash documentation. 2024-05-14 16:13:50 +02:00
Qubasa
d2a248ed2d Renamed machines.md to deploy.md 2024-05-14 15:41:15 +02:00
Qubasa
37c72b8848 Reorder getting started documentation 2024-05-10 22:59:45 +02:00
Johannes Kirschbauer
05f3da28f8 docs: improve secrets documentation 2024-04-26 10:44:14 +02:00
a-kenji
48f3611478 documentation: improve presentation 2024-04-15 11:57:23 +02:00
a-kenji
0e70a43cb2 documentation: improve secrets page 2024-04-14 13:15:26 +02:00
Johannes Kirschbauer
c77c1b05d2 docs: decompose configuration guide 2024-04-13 15:46:38 +00:00
Johannes Kirschbauer
77921f9c79 docs: clean up directory structure 2024-04-13 14:48:26 +02:00