!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

255 Members
age-encrypted secrets for NixOS https://github.com/ryantm/agenix/81 Servers

Load older messages


SenderMessageTime
5 Jul 2024
@djacu:matrix.org@djacu:matrix.org joined the room.15:26:28
9 Jul 2024
@raf:notashelf.dev@raf:notashelf.dev left the room.15:54:13
@JoelMcCracken:matrix.orgJoelMcCracken joined the room.16:53:09
@raijin_:matrix.orgraijin_ joined the room.18:54:48
@eliand:matrix.org@eliand:matrix.org left the room.18:56:19
@raijin_:matrix.orgraijin_ 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_:matrix.orgraijin_More specifics here: https://github.com/ryantm/agenix/issues/26718:57:05
10 Jul 2024
@reese:cyberia.club@reese:cyberia.club changed their profile picture.18:01:48
11 Jul 2024
@timlepes:humble.hostTim joined the room.21:22:56
@wiryfuture:matrix.org@wiryfuture:matrix.org left the room.22:52:24
13 Jul 2024
@conr:mozilla.orgconr left the room.19:01:19
14 Jul 2024
@tsomipa_ts:matrix.orgTsomipa_ts joined the room.18:54:39
@lantian:lantian.pubLan Tian joined the room.22:22:05
15 Jul 2024
@dminca:matrix.org@dminca:matrix.org changed their display name from dminca to nixpkgs.17:28:49
@dminca:matrix.org@dminca:matrix.org changed their display name from nixpkgs to dminca.17:42:24
@conr:mozilla.orgconr joined the room.23:03:28
16 Jul 2024
@josi:catgirl.cloudJosefine joined the room.06:31:05
@torstenbtj:matrix.orgTorsten Boettjer joined the room.07:37:15
18 Jul 2024
@tewi:queer.cattewi 🏳️‍⚧️ joined the room.00:24:53
@arbel:matrix.spacetime.technologyarbel joined the room.21:42:19
@arbel:matrix.spacetime.technologyarbel

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:queer.cattewi 🏳️‍⚧️ changed their profile picture.23:50:51
@tewi:queer.cattewi 🏳️‍⚧️ removed their profile picture.23:52:42
@tewi:queer.cattewi 🏳️‍⚧️ set a profile picture.23:53:17
21 Jul 2024
@tim92:matrix.orgtim
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:matrix.spacetime.technologyarbel 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
@tim92:matrix.orgtimAnd where do you use the keepassxc as shown in your logs?15:35:50
@arbel:matrix.spacetime.technologyarbel it was the same thing, i just tried a test file containing "abc" when the keepass file didn't work 15:38:42
@arbel:matrix.spacetime.technologyarbel i also tried it with rage instead of age, same result 15:39:37
@tim92:matrix.orgtimBut 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 it16:22:23

Show newer messages


Back to Room ListRoom Version: 6