5 Jul 2024 |
| @djacu:matrix.org joined the room. | 15:26:28 |
9 Jul 2024 |
| @raf:notashelf.dev left the room. | 15:54:13 |
| JoelMcCracken joined the room. | 16:53:09 |
| raijin_ joined the room. | 18:54:48 |
| @eliand:matrix.org left the room. | 18:56:19 |
raijin_ | Hi all, I'm having some difficulty configuring agenix via home-manager. I have a .nix file that contains the agenix settings, such as age.identityPaths . This file is being imported by HM, but seems to be completely ignored by agenix . It doesn't search through any of the given identityPaths , nor does it respect the file and path options given to my test secret | 18:56:37 |
raijin_ | More specifics here: https://github.com/ryantm/agenix/issues/267 | 18:57:05 |
10 Jul 2024 |
| @reese:cyberia.club changed their profile picture. | 18:01:48 |
11 Jul 2024 |
| Tim joined the room. | 21:22:56 |
| @wiryfuture:matrix.org left the room. | 22:52:24 |
13 Jul 2024 |
| conr left the room. | 19:01:19 |
14 Jul 2024 |
| Tsomipa_ts joined the room. | 18:54:39 |
| Lan Tian joined the room. | 22:22:05 |
15 Jul 2024 |
| @dminca:matrix.org changed their display name from dminca to nixpkgs. | 17:28:49 |
| @dminca:matrix.org changed their display name from nixpkgs to dminca. | 17:42:24 |
| conr joined the room. | 23:03:28 |
16 Jul 2024 |
| Josefine joined the room. | 06:31:05 |
| Torsten Boettjer joined the room. | 07:37:15 |
18 Jul 2024 |
| tewi 🏳️⚧️ joined the room. | 00:24:53 |
| arbel joined the room. | 21:42:19 |
arbel | Hi, i'm having an issue with agenix and home-manager. i can encrypt and decrypt from the terminal without any problems but when running with HM i get this error:
error: syntax error, unexpected invalid token, expecting end of file
at /nix/store/78g4klwjkvyadsr88hlgxk70bxg875wf-source/secrets/keepassxc.ini.age:5:1:
4| --- AROUO9xdkwD/2H6/tA4PUFipjqPcOikfvOUMG6rXHaQ
5| ��\L�▒�E/�H|J�zZ0��
Ol��3r���PS����64��]^��;p~���
| ^
the original file is just for testing, it has a few letters and numbers.
| 22:11:49 |
| tewi 🏳️⚧️ changed their profile picture. | 23:50:51 |
| tewi 🏳️⚧️ removed their profile picture. | 23:52:42 |
| tewi 🏳️⚧️ set a profile picture. | 23:53:17 |
21 Jul 2024 |
tim | In reply to @arbel:matrix.spacetime.technology
Hi, i'm having an issue with agenix and home-manager. i can encrypt and decrypt from the terminal without any problems but when running with HM i get this error:
error: syntax error, unexpected invalid token, expecting end of file
at /nix/store/78g4klwjkvyadsr88hlgxk70bxg875wf-source/secrets/keepassxc.ini.age:5:1:
4| --- AROUO9xdkwD/2H6/tA4PUFipjqPcOikfvOUMG6rXHaQ
5| ��\L�▒�E/�H|J�zZ0��
Ol��3r���PS����64��]^��;p~���
| ^
the original file is just for testing, it has a few letters and numbers.
How do you reference the encrypted file in your home manager config? | 15:28:35 |
arbel | this is what i was testing with
age = {
secrets = {
"test.age" = secrets/test.age;
};
identityPaths = [
"/root/.ssh/id_ed25519"
#secrets/atkey.pro-a1.hmac
];
}; | 15:33:17 |
tim | And where do you use the keepassxc as shown in your logs? | 15:35:50 |
arbel | it was the same thing, i just tried a test file containing "abc" when the keepass file didn't work | 15:38:42 |
arbel | i also tried it with rage instead of age, same result | 15:39:37 |
tim | But how do you reference the file in your nix config? You only show the agenix configuration and secret file setup and not how you use it | 16:22:23 |