!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

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

Load older messages


SenderMessageTime
7 Sep 2024
@madonius:entropia.de/madonius[er|he]no... I found it... there was a typo and somehow the missing age blew up first13:44:39
@madonius:entropia.de/madonius[er|he]🤷13:44:42
@madonius:entropia.de/madonius[er|he]Now for some reason it claims that it can't find the file in the store(?)13:58:50
@k900:0upti.meK900 You probably didn't git add the file 13:59:35
@madonius:entropia.de/madonius[er|he]oh13:59:42
@madonius:entropia.de/madonius[er|he]yeah I did not13:59:50
@madonius:entropia.de/madonius[er|he]tbf in the Documentation (repo) there's nothing hinting at it ^^'14:00:14
@k900:0upti.meK900That's not really an agenix thing14:00:31
@k900:0upti.meK900It's a flakes thing14:00:37
@madonius:entropia.de/madonius[er|he]understood, first time I stumble over it14:00:50
9 Sep 2024
@beat_link:matrix.org@beat_link:matrix.org left the room.18:44:02
11 Sep 2024
@pascal.dietrich:mintux.de@pascal.dietrich:mintux.de left the room.20:21:00
12 Sep 2024
@goodlander:matrix.orggoodlander joined the room.02:40:18
@goodlander:matrix.orggoodlanderHi all! Question: can I use agenix to encrypt arbitrary data? Say I want to encrypt a wallpaper of a family photo that I want to include with my flake bu would rather not upload to Github in the clear.04:02:10
@k900:0upti.meK900Yes04:05:44
@goodlander:matrix.orggoodlanderHow is this done?04:15:28
@k900:0upti.meK900Oh yeah I guess it's kinda tricky with the CLI04:16:03
@k900:0upti.meK900You can encrypt it yourself with raw age04:16:09
@goodlander:matrix.orggoodlanderok let me see if I can figure that out04:20:08
@eyjhb:eyjhb.dkeyJhbagenix -e somefile.age <<< mywallpaper.jpg07:01:42
@eyjhb:eyjhb.dkeyJhb?07:01:43
@eyjhb:eyjhb.dkeyJhb goodlander: tagging you in case you don't get notifications. Might work. :) 07:21:39
@goodlander:matrix.orggoodlander
In reply to @eyjhb:eyjhb.dk
goodlander: tagging you in case you don't get notifications. Might work. :)
This just encrypted the string "mywallpaper.jpg" however this did appear to work:
cat mywallpaper.jpg | agenix -e somefile.age
15:26:59
@eyjhb:eyjhb.dkeyJhb Eh, I guess I fucked my brackets up. Thought I would be cool with my <<< :D Glad it worked out however. 15:40:59
@goodlander:matrix.orggoodlanderNow that I'm trying to do a rebuild I get this: error: access to absolute path '/run/agenix/mywallpaper' is forbidden in pure eval mode (use '--impure' to override)18:56:59
@thedragon44:matrix.orgTheDragon joined the room.23:14:56
13 Sep 2024
@ryantm:matrix.orgryantmSounds like you're using the path as a file as the input to some builder. You should only use it as a string.00:57:24
@42398234iuodfhjkdsfjdsfsdffgs:matrix.org42398234iuodfhjkdsfjdsfsdffgs joined the room.09:28:37
@alper-celik:matrix.orgAlper Çelik joined the room.14:20:58
@alper-celik:matrix.orgAlper Çelikhello is it fine to store encrypted secrets on a public github repo ?14:22:51

Show newer messages


Back to Room ListRoom Version: 6