Egregoros

Signal feed

Timeline

Post

Remote status

Context

2
yay just did my first update with my sysupdate tool !!
its like systemd-sysupdate but is portable and doesn't rely on the systemdevil and also has a proper manifest format
doesn't have a release yet because i still need to add a user interface, but soon!!
git.pinkro.se/Rose/sysupdate.git

@rose nice!

note that in bash, the results of parameter expansion are always subject to word splitting (unlike zsh). a specially crafted manifest may easily lead to RCE here:
git.pinkro.se/Rose/sysupdate.git/tree/usr/bin/sysupdate#n53

i know you’re basically just doing a PoC at this stage but i thought i should mention it anyway. there’s so much string munging going on in lieu of safe parsing that i want to suggest not doing it with shell scripts
oh yeah navi already told me that i was missing a bunch of quotes, ill definetly have to go over it again to try and catch any cases of missing quotes

i was thinking of making it in a compiled language, something like C, but since I want this to be as portable as possible and run on any posix (which im sure i still have some bashism to iron out) system, right now the only non posix dependency would be curl and that runs practically anywhere either way

Replies

4