!NBBFPbiuttRgTqbrcY:nixos.org

NixOS Security Discussions

365 Members
Discussions around Security | Triaging happens in #security:nixos.org123 Servers

Load older messages


SenderMessageTime
9 Dec 2024
@hexa:lossy.networkhexayeah, it is a hardening effort that should be opt-in01:35:15
@hexa:lossy.networkhexait would be unexpected to deviate from that default01:35:30
@uep:matrix.orguepand the original issue seems to be something about sudo not ssh; i'm sure there's some long argument in the middle that's been collapsed/hidden as to how breaking ssh helps that01:35:39
@elvishjerricco:matrix.orgElvishJerricco the problem wasn't even sudo; it was a PAM module that you have to opt-into. The PAM module basically says that wheel users can sudo without password as long as their ssh-agent says they've unlocked their SSH key. If you can just add keys in your home-dir, then that's effectively no auth 01:41:12
@elvishjerricco:matrix.orgElvishJerriccobut that's just a badly designed PAM module IMO01:41:29
@elvishjerricco:matrix.orgElvishJerriccoand it has been fixed01:41:31
@uep:matrix.orguepyeah, thanks; that's a nice concise description of what i had roughly surmised01:43:24
@uep:matrix.orguepi wonder what the fix is, since I can still run my own ssh agent that says whatever I want, even without writing keys in my homedir. For one, i could just forward an agent from elsehwe4re01:45:27
@uep:matrix.orguep * i wonder what the fix is, since I can still run my own ssh agent that says whatever I want, even without writing keys in my homedir. For one, i could just forward an agent from elsewhere01:45:35
@uep:matrix.orguepand regardless of that i don't see why breaking ssh is helpful01:46:47
@uep:matrix.orguepwhat i will guess, since the author has apparently been waiting on feedback for a long while, is that everyone has just glazed over and not given definitive feedback that it's a bad idea01:47:59
@uep:matrix.orguepunexpected and unusual, but i guess it could happen01:48:46
@hexa:lossy.networkhexanobody bothered to the first time either01:50:52
@hexa:lossy.networkhexait was only reverted because it broke eval01:51:12
@elvishjerricco:matrix.orgElvishJerriccoit only reached my radar because I'm not a codeowner of the installer files01:51:57
@elvishjerricco:matrix.orgElvishJerriccobut I would have objected the last time too01:52:04
@elvishjerricco:matrix.orgElvishJerricco I think they did something so that the PAM module only accepts keys as listed in the system config, but I didn't look to closely 01:52:49
@elvishjerricco:matrix.orgElvishJerricco * I think they did something so that the PAM module only accepts keys as listed in the system config, but I didn't look too closely 01:53:04
@elvishjerricco:matrix.orgElvishJerricco * it only reached my radar because I'm now a codeowner of the installer files01:53:11
@hexa:lossy.networkhexaso apparently we now have a github team that is authoritative for meta.categories changes01:53:23
@hexa:lossy.networkhexabut none that is authoritative for nixos design decisions01:53:46
@uep:matrix.orguepyeah, it seems to have a list of directories, so the keys must be there as well as accepted by the agent01:53:50
@hexa:lossy.networkhexa * but none that is authoritative for nixos "the distro" design decisions01:54:56
@hexa:lossy.networkhexait is hard to imagine how such a change can fall through the cracks and land in a release, because nobody with an opinion was requested for review01:55:36
@hexa:lossy.networkhexa * it is not hard to imagine how such a change can fall through the cracks and land in a release, because nobody with an opinion was requested for review01:55:40
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@hexa:lossy.network
so apparently we now have a github team that is authoritative for meta.categories changes
(I'm not even sure if there's some process we should have followed when making that team? But that's probably a discussion for another channel)
02:09:49
@tomodachi94:matrix.orgTomodachi94 (they/them)* (I'm not even sure if there's some process we should have followed when making that team? The RFC only mentioned that one should exist, not how it should be created. But that's probably a discussion for another channel)02:10:46
@tomodachi94:matrix.orgTomodachi94 (they/them)* (I'm not even sure if there's some process we should have followed when making that team? The RFC only mentioned that one should exist, not how it should be created, so we just added everyone who expressed interest. But that's probably a discussion for another channel)02:11:12
@hexa:lossy.networkhexait is no specifically about that team02:11:40
@tomodachi94:matrix.orgTomodachi94 (they/them)Yep, that's why I put it in parentheses and added "But that's probably a discussion for another channel" at the end02:12:14

Show newer messages


Back to Room ListRoom Version: 9