!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
26 Apr 2025
@k900:0upti.meK900 Uhh 11:42:13
@k900:0upti.meK900Possibly?11:42:15
@k900:0upti.meK900The entire thing is extremely fucked11:42:19
@helle:tacobelllabs.nethelle (just a stray cat girl)
In reply to @k900:0upti.me
It fucks with pipes somehow
huh, I am actually surprised at that, but given how weird the openssh code base is once you get authentication, willing to believe it, guess I may have to look at the openssh code base some more
11:49:23
@k900:0upti.meK900You might want to ask horrors for details11:49:39
@helle:tacobelllabs.nethelle (just a stray cat girl)(openssh challenge, execute a command in any way other then using the user's shell even if that takes a special permission)11:53:10
@piegames:flausch.socialpiegamesIs there any chance of talking to upstream and asking for a flag that can bypass login shell?12:00:56
@k900:0upti.meK900AFAIUI the upstream stance is that the shell is part of the security posture12:02:04
@k900:0upti.meK900So arbitrary execution of non-shells is a violation12:02:11
@helle:tacobelllabs.nethelle (just a stray cat girl)Yep, git-shell and nologin is a thing for example, but the fact there is no flag even to allow bypassing is interesting, there is some magic you can do with PAM to just let it in certain circumstances give a different shell for a logging in user, but uh, we haven't quite finished experimenting with that option12:08:42
@k900:0upti.meK900The thing is 12:10:11
@k900:0upti.meK900We can't really rely on too much SSH fuckery 12:10:18
@k900:0upti.meK900Because if we do, we just lose the point in the first place 12:10:31
@k900:0upti.meK900 SSH only makes sense as a transport because it requires minimal setup 12:11:03
@helle:tacobelllabs.nethelle (just a stray cat girl)yep, it is why I ideally want to go to a situation where it is only one single command we need to be able to execute and everything else either is directly to that, or via extra unix pipes that are passed via channels through ssh12:11:56
@helle:tacobelllabs.nethelle (just a stray cat girl)having a single command accepted by "-c" is a definitial requirement of a shell you can use with ssh12:12:21
@k900:0upti.meK900That's basically what we're currently doing with bash12:12:31
@k900:0upti.meK900Ideally the next step would be to make this nix-store instead12:12:37
@k900:0upti.meK900But that requires Shenanigans12:12:43
@helle:tacobelllabs.nethelle (just a stray cat girl)the worst bit is that you probably should not even rely on passing in a parameter12:14:45
@k900:0upti.meK900Definitely not any complex one yes12:15:00
@helle:tacobelllabs.nethelle (just a stray cat girl)but all the discussion on "should we have a non-ssh based protocol" like, the reason we now have a way to do builds remotely was that the only thing a friend needed to do was give me ssh access, this is like hard to beat12:39:06
@helle:tacobelllabs.nethelle (just a stray cat girl)really need to learn how to write shorter comments on bugs, lol, sorry everyone14:48:32
@ff-vringar:mozilla.orgvringar joined the room.18:23:44
@jade_:matrix.orgjade_great, let's put it in the styleguide. I have also an abandoned wip to ruff-format all our python code, but iirc it got stalled because of me being grumpy about the handling of not combining multiple ( and { etc onto one line, but i think that is fixable. i just also have to do some python modernization first so the diff isn't ugly.20:48:17
@jade_:matrix.orgjade_also ssh completely punts the auth to someone else20:48:38
@jade_:matrix.orgjade_ i think the future better ssh based protocol is probably to try to forward a socket directly without doing the stdin/stdout crimes that seem to cause us reliability problems 20:49:06
@jade_:matrix.orgjade_* also ssh completely punts the auth to someone else. i don't want our legacy C++ exposed on the open internet.20:49:28
@jade_:matrix.orgjade_https://wiki.lix.systems/books/lix-contributors/page/code here is the styleguide page I fixed21:23:08
@kfears:matrix.orgKFears (burning out)Apparently Xonsh doesn't have any editor support in Neovim whatsoever...21:30:01

Show newer messages


Back to Room ListRoom Version: 10