!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

914 Members
Declaratively manage your switching, routing, wireless, tunneling and more.274 Servers

Load older messages


SenderMessageTime
21 Aug 2021
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThere is no situation in which unix permissions are going to help any of this.03:14:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneYou're going to store it unencrypted in git, and then rely on the nix store perms?03:14:21
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneMy secrets need to be in git. Nix store permissions won't help me keep that safe.03:14:30
@washort:greyface.orgdash matthewcroughan - nix.zone: how did you think agenix worked? 03:14:37
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
In reply to @washort:greyface.org
matthewcroughan - nix.zone: how did you think agenix worked?
That's when decrypted.
03:14:47
@6aa4fd:tchncs.de6aa4fd
In reply to @matthewcroughan:defenestrate.it
Because they need to be encrypted at rest anyway!
encryption is a type of granular permission, and by the way you need granular r/w permissions to handle the keys that the permitted users decrypt their files with
03:14:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneEncrypting things at rest is the answer. Permissions for files inside the store, to me, doesn't make sense.03:15:09
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneBecause the files you're managing these perms for, need to be stored outside of Nix.03:15:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * Because the files you're managing these perms for, need to be stored outside of Nix in a proper way03:15:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneso the whole thing is external to nix, in nature.03:15:35
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * so the whole problem is external to nix, in nature.03:15:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * Because the files you're managing these perms for, need to be stored outside of Nix in a proper way too03:15:58
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIf these files need to be encrypted outside of Nix, in a git repository for example (which they absolutely do), then you may as well handle it outside of Nix in the first place. Nix providing functionality for you to manage the perms for these files is a little bit silly IMO. 03:16:57
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIf secrets were 100% generated and kept within a running NixOS system, sure, but they're not.03:17:17
@6aa4fd:tchncs.de6aa4fdmaybe in a limited way, but in reality until there is in-tree support for read-sensitive information in your derivation, you cannot put it in front of end users and expect to keep your job03:17:34
@6aa4fd:tchncs.de6aa4fdit is just a nice experiment or hobby project until then. which is what nix was in the first place, so not really a knock03:18:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneOh, well sure, inside of a derivation that makes some sense.03:18:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThere needs to be a way to do private/public stuff inside of Nix code anyway.. this might be the way.03:18:28
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneBut for the use case agenix solves, unix permissions don't have much to do with that (imo).03:18:49
@washort:greyface.orgdashsecrets management is a job for experts anyway, end users cannot be expected to do it03:19:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneMeh, I hate it when conversations get like this :P03:19:23
@washort:greyface.orgdash matthewcroughan - nix.zone: sure 03:19:39
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneWhen conversations devolve into "UX" or "End Users", etc. I just feel dejected.03:19:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIt's like, yeah. But I hate viewing the world through that lens.03:19:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThe lens of "Users are dumb and shouldn't be managing their own privacy"03:20:16
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneJust makes you recall that the whole architecture is incorrect.03:20:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * Just makes you recall that the whole architecture is incorrect if that is the case.03:20:36
@washort:greyface.orgdash matthewcroughan - nix.zone: more like "users rationally don't care about computer minutiae that isn't their job" 03:20:40
@6aa4fd:tchncs.de6aa4fd
In reply to @washort:greyface.org
secrets management is a job for experts anyway, end users cannot be expected to do it
that is basically superfluous, all you are saying is that it isn't our place to worry about. even philosophically free software is built on eroding the user-developer distinction
03:20:45
@washort:greyface.orgdash 6aa4fd: I don't care 03:21:00

Show newer messages


Back to Room ListRoom Version: 6