!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

423 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.143 Servers

Load older messages


SenderMessageTime
11 Jun 2024
@irenes:matrix.org@irenes:matrix.orgI had more leads on how to maybe do that, but I can't find my notes07:13:24
@irenes:matrix.org@irenes:matrix.orgother unusual corner cases heh07:13:30
@irenes:matrix.org@irenes:matrix.orglike notionally I could use a bespoke pinning solution instead of flakes, and then the problem wouldn't come up - it's only the extremely restricted evaluation mode introduced by flakes that makes this an issue07:14:16
@irenes:matrix.org@irenes:matrix.orgbut that would only solve it for me07:14:37
@irenes:matrix.org@irenes:matrix.orgI want to figure out how to make flakes not be a feature regression compared to non-flakes, so other people can benefit heh07:15:11
@jade_:matrix.orgjade_
In reply to @irenes:matrix.org
hmm, well, impure derivations and similar concepts don't do what I want for secrets management
i really don't know what you're trying to do
07:21:54
@jade_:matrix.orgjade_
In reply to @irenes:matrix.org
like notionally I could use a bespoke pinning solution instead of flakes, and then the problem wouldn't come up - it's only the extremely restricted evaluation mode introduced by flakes that makes this an issue
i am pretty sure you can just override it with --impure?
07:22:17
@jade_:matrix.orgjade_but anyhow, is agenix busted for your needs?07:22:40
@jade_:matrix.orgjade_i guess i am somewhat confused what the model is that means that you can't use agenix, other than wanting to have the encrypted secrets outside the flake repo07:23:19
@irenes:matrix.org@irenes:matrix.orgno yeah I mean I haven't explained it but07:29:21
@irenes:matrix.org@irenes:matrix.orgsigh it's07:29:25
@irenes:matrix.org@irenes:matrix.orgI haven't yet decided just how much I want to share about the security model I'm trying to implement, but I can't use agenix07:29:42
@jade_:matrix.orgjade_you could do it entirely out of band, and then have a reference to which version of the secrets you need, or something like that07:30:08
@irenes:matrix.org@irenes:matrix.orgbefore flakes, this was easy because secrets just lived outside the repo07:30:08
@k900:0upti.meK900I wish we had real eval time secrets tbh07:30:27
@irenes:matrix.org@irenes:matrix.orgyes - if I were to use a network-based key server, I could use __impure and put it out of band07:30:35
@irenes:matrix.org@irenes:matrix.orgbut I can't have a hash of the secrets in the pinning information (whether flake.lock or otherwise)07:30:49
@jade_:matrix.orgjade_i guess the thing is, like, regardless of if they are in the repo or out of it, if they're going in the store, that's not a good secret management strategy07:30:54
@irenes:matrix.org@irenes:matrix.orgthey need to be actually dynamic07:30:55
@jade_:matrix.orgjade_ i don't think the secrets should be interacting with nix at all ideally 07:31:11
@irenes:matrix.org@irenes:matrix.orgkeeping things out of the store is a separate problem really07:31:17
@irenes:matrix.org@irenes:matrix.orgI mean I take that point and all but07:31:27
@irenes:matrix.org@irenes:matrix.orglike there are cases where things can't be kept out of the store, that's how it is heh07:31:56
@irenes:matrix.org@irenes:matrix.org"secrets" is really a bit of a misnomer because, for example, I want my tool to handle both public and private keys, but only private keys are secret per se07:32:21
@jade_:matrix.orgjade_
In reply to @irenes:matrix.org
keeping things out of the store is a separate problem really
i do not agree
07:32:24
@jade_:matrix.orgjade_these problems are one and the same07:32:28
@irenes:matrix.org@irenes:matrix.orgI mean07:32:30
@irenes:matrix.org@irenes:matrix.orgit's a per-package problem07:32:35
@irenes:matrix.org@irenes:matrix.orgit's not a problem with a general solution as far as I can see07:32:42
@jade_:matrix.orgjade_you could even write a deploy script that shoves them on the other box out of band07:32:44

There are no newer messages yet.


Back to Room ListRoom Version: 10