Commit graph

358 commits

Author SHA1 Message Date
Nathan Henrie
fcdea22339
Merge pull request #356 from ryantm/revert-343-rtm0804decryptparallel
Some checks failed
CI / tests-linux (push) Has been cancelled
CI / tests-darwin (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
Revert "decrypt-parallel"
2025-11-08 09:12:14 -07:00
Nathan Henrie
65418fc443
Revert "decrypt-parallel" 2025-10-31 08:39:48 -06:00
Ryan Mulligan
9ba0d85de3
Merge pull request #343 from ryantm/rtm0804decryptparallel
Some checks failed
CI / tests-linux (push) Has been cancelled
CI / tests-darwin (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
decrypt-parallel
2025-10-28 05:54:37 -07:00
Nathan Henrie
2f0f812f69
Merge pull request #350 from vidhanio/pkgs-getconf
Some checks failed
CI / tests-linux (push) Has been cancelled
CI / tests-darwin (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
use `pkgs.getconf` rather than relying on it being in the $PATH
2025-10-18 19:19:09 -06:00
Vidhan Bhatt
d796cc5de4
use pkgs 2025-10-14 18:55:30 -04:00
Ryan Mulligan
540a4f1b0c decrypt-parallel 2025-08-06 05:38:42 -07:00
Ryan Mulligan
9edb178786
Merge pull request #342 from ryantm/rtm0804rfcformat
Some checks failed
CI / tests-linux (push) Has been cancelled
CI / tests-darwin (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
format nix with rfc style
2025-08-05 15:37:08 -07:00
Ryan Mulligan
bc3b131642 hashed password file 2025-08-05 15:20:17 -07:00
Ryan Mulligan
0814fdc0de format nix with rfc style 2025-08-05 05:46:34 -07:00
Nathan Henrie
856df6f692
Merge pull request #341 from ryantm/rtm0804bumpnixpkgs
bump nixpkgs
2025-08-04 14:03:59 -06:00
Ryan Mulligan
b30acb3d3e bump nixpkgs
Why
===
* I'd like to use the latest nix formatting

What changed
===
* `nix flake lock --update-input nixpkgs`

Test plan
===
* CI
2025-08-04 09:30:53 -07:00
Ryan Mulligan
6d194f7522
Merge pull request #276 from dlubawy/feat_add_armor_support
feature: add an option to output secrets in armor
2025-08-04 08:58:09 -07:00
Andrew Lubawy
da00e1cb89 Add more description on why armor may be useful 2025-08-04 08:53:33 -07:00
Andrew Lubawy
d1eefa4de1 Add wait for file write before assertion 2025-08-04 08:53:33 -07:00
Andrew Lubawy
783bf0daf6 Remove path config to use default secret path in test 2025-08-04 08:53:33 -07:00
Andrew Lubawy
d48f920cde Run nix fmt on secrets.nix 2025-08-04 08:53:33 -07:00
Andrew Lubawy
01217f8b39 Update docs to include example of armored output 2025-08-04 08:53:33 -07:00
Andrew Lubawy
92af581e8b Add integration test for armored secret 2025-08-04 08:53:33 -07:00
Andrew Lubawy
8f6065756a Add armored example 2025-08-04 08:53:33 -07:00
Andrew Lubawy
e945c673b8 Try adding an option to output with armor 2025-08-04 08:53:33 -07:00
Ryan Mulligan
890be82dac
Merge pull request #338 from Lillecarl/escape
Escape literalExpression at all/properly
2025-08-04 08:46:02 -07:00
Ryan Mulligan
7cbb4773bc
Merge pull request #255 from oluceps/with-sysuser
feat: works with sysuser
2025-08-04 08:44:42 -07:00
Ryan Mulligan
1266723d74
Merge pull request #336 from ryantm/doc-alternate-impls
doc: clarify lack of support when using nondefault implementations
2025-08-04 08:36:55 -07:00
oluceps
d80d1febd3 fix: take userborn into consideration 2025-08-04 08:35:55 -07:00
oluceps
caab0435e1 feat: works with sysuser
fix: darwin compatible

chore: reformat

fix: infrec

chore: clean logic

Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2025-08-04 08:35:55 -07:00
Carl Andersson
25b74cafe8 Escape literalExpression at all/properly 2025-07-03 09:30:55 +02:00
Nathan Henrie
11b35f0a10 doc: clarify lack of support when using nondefault implementations
Also format codeblock RFC style, use `lib.getExe`
2025-06-23 09:16:03 -06:00
Arnout Engelen
531beac616
Improve age.identityPaths must be set error (#335)
This error can be puzzling if you're not already aware of how this
works, pointing users in the direction of openssh (which I suspect is
the most common way to populate `identityPaths`) while also keeping the
original message seems instructive.
2025-06-17 08:14:20 -07:00
Nathan Henrie
4835b1dc89
Merge pull request #278 from llakala/update-wiki-link
Update link from unofficial nixos wiki to official one
2025-05-18 07:33:26 -06:00
quatquatt
34246aece3 doc: update link from unofficial nixos wiki to official one 2025-05-17 17:26:26 -04:00
Nathan Henrie
6697e8babb
Merge pull request #328 from ryantm/doc-strip-whitespace
doc: strip trailing whitespace
2025-05-17 14:39:13 -06:00
Nathan Henrie
bd33a9b9a5 doc: strip trailing whitespace
People's editors keep automatically doing this and adding a bunch of
unrelated lines to their diff. Trying to stop that.
2025-05-17 13:21:39 -06:00
Nathan Henrie
8a4516aed6
Merge pull request #318 from bcl1713/main
docs: add home-manager module documentation
2025-05-17 13:04:35 -06:00
Nathan Henrie
72f7f68aa8
Merge pull request #327 from n8henrie/leading-hyphen-filename
Separate flags from positional args with `--`
2025-05-17 13:00:30 -06:00
Nathan Henrie
af991e8dc3 Separate flags from positional args with --
This prevents interpreting filenames with leading `-` as flags.

Add a regression test for this behavior.

Fixes https://github.com/ryantm/agenix/issues/325
2025-05-04 13:06:24 -06:00
Nathan Henrie
96e078c646
Merge pull request #324 from K900/replace-vars
fix: use replaceVars instead of substituteAll
2025-04-25 19:21:46 -06:00
K900
58c554469c fix: use replaceVars instead of substituteAll
The latter is deprecated in latest nixpkgs.

Also, update inputs to non-ancient versions.
2025-04-24 15:18:29 +03:00
Brian Lucas
cccd5afb1c docs: add home-manager module documentation 2025-04-02 09:12:55 -05:00
Nathan Henrie
e600439ec4
Merge pull request #307 from codgician/fix-darwin-module
fix: bad age.identityPaths default value on darwin, bump to macOS-latest in CI
2025-01-15 08:33:50 -07:00
codgician
4d0d81e606
fix: bad indentation in ci 2025-01-13 12:02:14 +08:00
codgician
96b7e4f9eb
contrib: improve readability of age.identityPaths default value 2025-01-13 11:59:48 +08:00
codgician
989ade2850
feat: dynamically determine architecture in ci 2025-01-13 11:58:57 +08:00
codgician
302ab0c172
fix: bump to macOS-15 in CI 2025-01-12 22:25:25 +08:00
codgician
cce0ff472c
fix: bad age.identityPaths default value on darwin 2025-01-12 22:19:38 +08:00
Ryan Mulligan
f6291c5935
Merge pull request #280 from Kreyren/patch-3
age-home: Use curly-brackets for XDG_RUNTIME_DIR
2024-08-10 05:45:04 -07:00
Jacob Hrbek
e3413992fb age-home: Use curly-brackets for XDG_RUNTIME_DIR
To avoid having to do 4fd99eae63/nixos/secrets.nix (L25C9-L29C116) while using agenix in user services.
2024-08-10 05:05:53 +02:00
Ryan Mulligan
3f1dae074a
Merge pull request #277 from fzakaria/import-module-remove
Remove import for NixOS/HM modules
2024-07-30 04:30:03 -07:00
Farid Zakaria
40012e5ed4 Remove import for NixOS/HM modules
When using `files` on a NixOS option in the `nix repl` it fails to
follow the attribute of agenix module.

Discussing with @roberth has explained that this is a "common bug" on
account of mis-using the `import` for modules.

From what I understand, the `import` statement brings it into the
current context so you lose the attribute of where it's defined.

Here is what I currently see:
```
nix-repl> options.age.ageBin.files
[
  "/nix/store/8kpmdb63f5i9mwdyirqki7hvvglgy1va-source/machines/nyx/configuration.nix"
]

```

After this change, the value in agenix is reported instead.
```
❯ nix repl --extra-experimental-features 'flakes repl-flake' \
           --override-input agenix /home/fmzakari/code/github.com/ryantm/agenix .

nix-repl> options.age.ageBin.files
[
  "/nix/store/99gc8rhgw43k201k34pshcsygdvbhmpy-source/modules/age.nix"
]
```
2024-07-29 08:15:01 -07:00
Ryan Mulligan
de96bd907d
Merge pull request #265 from Kreyren/patch-1
README: Add warning about HNDL and PQS in threat model
2024-07-09 10:30:05 -07:00
KREYREN
760751b6d1
README: Add warning about HNDL and PQS in theat model 2024-06-19 15:37:53 +00:00