00:56
brassado has joined #kisslinux
00:57
brassado is now known as sam_sepi0l
02:24
<
ioraff >
yeah, both look like good ideas
02:58
ella-0_ has joined #kisslinux
03:01
ella-0 has quit [Ping timeout: 265 seconds]
04:05
fitrh has joined #kisslinux
04:53
<
virutalmachineus >
hi
05:22
<
testuser[m]1 >
illiliti: is there an alternative to bind mounting thousands of paths for sandbox
05:27
<
virutalmachineus >
yes static link
05:27
<
virutalmachineus >
do you bubblewrap all your programs?
06:02
jslick5 has joined #kisslinux
06:04
jslick has quit [Ping timeout: 255 seconds]
06:04
jslick5 is now known as jslick
06:33
<
wael[m] >
bubblewrap the kernel
06:38
ioraff has quit [Quit: ioraff]
06:43
<
virutalmachineus >
kiss should package each program in bubblewrap
06:44
<
wael[m] >
open a PR and try to implement that
06:44
<
wael[m] >
fun fact: a proposal has been opened to sandbox builds
06:44
<
wael[m] >
but not programs themselves
06:48
<
virutalmachineus >
i bubblewrap most of my packages, I don't how long will it take to bubblewrap the whole repository
06:48
<
testuser[m]1 >
u dont need to bubblewrap anything that doesnt deal with stuff from the internet
06:49
<
virutalmachineus >
yeah you're right but, but some are easy to bubblewrap so i do it
06:49
<
virutalmachineus >
s/but//
07:00
ejjdhfjsu has joined #kisslinux
07:31
ejjdhfjsu has quit [Remote host closed the connection]
07:31
ejjdhfjsu has joined #kisslinux
07:46
fitrh has quit [Quit: fitrh]
08:15
Beni has joined #kisslinux
09:41
testuser[m]1 has quit [Quit: Reconnecting]
09:41
testuser[m]1 has joined #kisslinux
09:42
testuser[m]1 has quit [Client Quit]
09:42
testuser[m]1 has joined #kisslinux
10:56
Beni has quit [Quit: Client closed]
11:34
phinxy has quit [Quit: WeeChat 3.5-dev]
11:35
phinxy has joined #kisslinux
11:38
Beni has joined #kisslinux
12:01
ejjdhfjsu has quit [Remote host closed the connection]
12:02
ejjdhfjsu has joined #kisslinux
12:07
ejjdhfjsu has quit [Ping timeout: 268 seconds]
12:17
midfavila has quit [Remote host closed the connection]
12:36
phinxy has quit [Quit: WeeChat 3.5-dev]
12:37
phinxy has joined #kisslinux
12:37
phinxy has quit [Client Quit]
12:38
phinxy has joined #kisslinux
13:16
phinxy has quit [Quit: WeeChat 3.5-dev]
13:16
phinxy has joined #kisslinux
13:51
<
Ogromny >
What's the best bin provider thing ? Snap ? Flatpak ? Appimage ?
13:53
<
Ogromny >
is there any up to date repo with flatpak and his depedencies ?
13:54
<
Ogromny >
dylan's repo is lile 2 years old
13:55
<
wael[m] >
community
13:57
<
Ogromny >
Oh yeah you're right I had forgotten to git pull it lol
14:02
phinxy has quit [Quit: WeeChat 3.5-dev]
14:03
phinxy has joined #kisslinux
14:04
<
wael[m] >
did you not git pull for 2 years
14:10
phinxy has quit [Quit: WeeChat 3.5-dev]
14:10
phinxy has joined #kisslinux
14:19
<
Ogromny >
wael[m]: nah but for like 2 weeks
14:22
<
Beni >
is there any repo with pulseaudio in it or do I install it myself
14:23
<
wael[m] >
you only need libsndfile and pulseaudio for pulseaudio
14:23
<
wael[m] >
i suggest you go with pipewire if you want audio
14:23
phinxy has quit [Quit: WeeChat 3.5-dev]
14:24
<
wael[m] >
pipewire is in community
14:24
phinxy has joined #kisslinux
14:24
<
Beni >
never used pipewire, is there any special setup to do or does it just work?
14:24
<
wael[m] >
but if you want apps to have pulseaudio support you need the libraries
14:24
<
wael[m] >
tl;dr pipewire & pipewire-pulse &
14:25
<
wael[m] >
thats what i use and it works fine, you just need XDG_RUNTIME_DIR
14:38
<
Beni >
i'll keep that in mind
14:38
<
rohan >
someone have a asound.conf that works with HDMI???
14:39
<
wael[m] >
~~alsa try to not make anything except set default devices challenge a headache~~
15:02
<
testuser[m]1 >
I tried landlock with 70k files it seems to work fine
15:03
<
testuser[m]1 >
in .1 second
15:25
<
illiliti >
testuser[m]1: landlock
15:25
<
testuser[m]1 >
What
15:30
phinxy has quit [Quit: WeeChat 3.5-dev]
15:30
phinxy has joined #kisslinux
15:32
rohan has quit [Ping timeout: 252 seconds]
15:33
rohan has joined #kisslinux
16:03
phinxy has quit [Quit: WeeChat 3.5-dev]
16:07
<
illiliti >
it's insane that zip/unzip needs such amount of patches
16:11
phinxy has joined #kisslinux
16:15
phinxy has quit [Client Quit]
16:31
<
testuser[m]1 >
illiliti: p7zip implements both zip and unzip and doesn't need any patches
16:31
<
testuser[m]1 >
But i don't think it has any common feature/flags other than zipping and unzipping
16:34
<
illiliti >
does it work with firefox?
16:35
<
illiliti >
tbh i still doubt that firefox needs zip/unzip
16:35
<
testuser[m]1 >
I'm sure it needs zip
16:35
<
testuser[m]1 >
for creating xpo
16:35
<
testuser[m]1 >
I think unzip is useless
16:35
<
testuser[m]1 >
illiliti: it'll work with anything if u just modify the flags and command
16:37
<
illiliti >
does it embed entire zip/unzip into itself at build time?
16:37
<
testuser[m]1 >
Firefox?
16:38
<
illiliti >
then i don't understand why it is "make" dependency
16:38
<
testuser[m]1 >
For creating xpi
16:38
<
testuser[m]1 >
Let me grep
16:40
<
illiliti >
can you run kiss-manifest firefox for me?
16:40
<
illiliti >
and post output
16:40
<
testuser[m]1 >
im not at pc
16:44
<
illiliti >
ok, i checked
16:44
<
illiliti >
some xpis are still present
16:45
<
illiliti >
pictureinpicture@mozilla.org.xpi
16:45
<
illiliti >
formautofill@mozilla.org.xpi
16:45
<
testuser[m]1 >
They're required
16:45
<
testuser[m]1 >
not basic but
16:45
<
testuser[m]1 >
for basic functionality
16:45
<
testuser[m]1 >
I use pip
16:45
<
testuser[m]1 >
someone probably uses autofill
16:46
<
testuser[m]1 >
That screenshots one should probably be added back aswell
16:46
<
testuser[m]1 >
The rest is junk i think
16:46
<
illiliti >
wait what firefox uses to unpack them at runtime?
16:46
<
illiliti >
if unzip is "make" dep
16:52
<
testuser[m]1 >
Some bundled library ig, but then they could make a binary of that at compile time for packing
17:06
midfavila has joined #kisslinux
17:15
<
illiliti >
i think yes
17:23
phinxy has joined #kisslinux
17:30
phinxy has quit [Quit: WeeChat 3.5-dev]
17:33
<
illiliti >
btw should we switch to zlib-ng?
17:33
<
illiliti >
or sortix libz
17:34
<
illiliti >
i'll create a proposal
17:36
<
testuser[m]1 >
Sortix is dead
17:37
<
testuser[m]1 >
ng is abi compatible?
17:41
<
illiliti >
no, sortix is alive
17:41
<
illiliti >
ng has compat mode
17:41
phinxy has joined #kisslinux
17:42
<
testuser[m]1 >
illiliti: it's shitlab is inactive
17:42
<
testuser[m]1 >
Is there a fork of it
17:44
<
illiliti >
or you mean libz?
17:45
<
testuser[m]1 >
I mean sortix libz
17:47
<
illiliti >
ah i see. i suspect it's stable and done, so no further development is needed
17:48
<
testuser[m]1 >
but sekurity
17:48
<
testuser[m]1 >
5 years
17:48
phinxy has quit [Quit: WeeChat 3.5-dev]
17:50
<
virutalmachineus >
is sortix the future of kiss linux?
17:51
<
testuser[m]1 >
sorkixx
17:59
phinxy has joined #kisslinux
18:01
ioraff has joined #kisslinux
18:03
<
ioraff >
testuser[m]1: care to share that landlock code?
18:10
<
illiliti >
forget about zlib-ng
18:10
<
testuser[m]1 >
ioraff: It's on pc
18:10
<
testuser[m]1 >
I just adapted the kernel example
18:10
<
illiliti >
they use bashisms and gnuisms in configure script
18:11
<
testuser[m]1 >
we can patch that but does it even have any measurable difference than zlib
18:12
<
testuser[m]1 >
Like its of no use if the performance tweaks are just in the new APIs or whatever
18:12
<
illiliti >
it supposed to have
18:12
<
illiliti >
SSSE, AVX stuff
18:12
<
illiliti >
should be faster at least
18:13
<
testuser[m]1 >
Landlock can't restrict access() calls yet so I can see some issues cropping up with that
18:13
<
illiliti >
i can't even build it with tcc
18:13
<
testuser[m]1 >
eg build system detects /usr/lib/libshit.so but later on it cant link cuz libshit.so can't even be opened
18:13
<
illiliti >
which is not a good sign
18:14
<
illiliti >
you must not use access() calls in the first place
18:15
<
illiliti >
because TOCTOU
18:15
<
testuser[m]1 >
I'm talking about the build systems
18:16
<
testuser[m]1 >
Isn't every build system broken then
18:17
<
illiliti >
if they use open() and then fstat(), then nothing shall break
18:20
<
testuser[m]1 >
What about plain stat without open() and fstat
18:20
<
testuser[m]1 >
chdir(2), truncate(2), stat(2), flock(2), chmod(2), chown(2), setxattr(2), utime(2), ioctl(2), fcntl(2), access(2)
18:23
<
illiliti >
it's a problem yeah
18:24
phinxy has quit [Quit: WeeChat 3.5-dev]
18:27
<
testuser[m]1 >
Ill check user namespaces approach too
18:27
<
illiliti >
these syscalls are too dangerous
18:28
<
illiliti >
truncate, chmod, chown
18:28
<
illiliti >
what the hell landlock
18:29
<
testuser[m]1 >
Yeag
18:29
<
testuser[m]1 >
Ig adding filtering for those would've taken another 2 years for patch review lol
18:31
<
illiliti >
usual thing
18:44
<
testuser[m]1 >
What about seccomp
18:45
<
virutalmachineus >
seccomp is good
18:45
<
illiliti >
it sucks
18:45
<
virutalmachineus >
bubblewrap with seccomp is best
18:46
<
illiliti >
seccomp is the reason why we have landlock now
18:47
<
illiliti >
because it is overly-complicated and easy to misuse
18:47
<
illiliti >
i'd avoid it and anything BPF-based at all cost
18:48
<
virutalmachineus >
yeah bpf is not good for security
18:52
<
illiliti >
yep, if we're going to make secure sandbox, seccomp is not an option
18:52
<
illiliti >
how about we just restrict internet access for now
18:53
<
illiliti >
when landlock will be ready, we will use it to restrict paths
18:56
<
illiliti >
iirc soon landlock should be able to restrict network natively
18:56
<
illiliti >
without namespaces
18:57
<
virutalmachineus >
that's so awesome
19:00
<
ioraff >
i'm not seeing the problem in at least starting to use landlock to restrict reads and executes to dependencies
19:01
<
ioraff >
unless we just want to go straight to a full sandbox
19:09
<
testuser[m]1 >
ioraff: I don't care much about the security point but the issue is that if gcc can stat() a library and believe that it can link to it, the final link will fail
19:10
<
testuser[m]1 >
So the issue with automatic dependency detection is there
19:10
<
testuser[m]1 >
i haven't tried this yet tho so not sure if it's even going to be an issie
19:38
phinxy has joined #kisslinux
19:39
phinxy has quit [Client Quit]
19:44
ioraff has quit [Remote host closed the connection]
19:45
ioraff has joined #kisslinux
19:49
Beni has quit [Quit: Client closed]
20:01
phinxy has joined #kisslinux
21:26
phinxy has quit [Quit: WeeChat 3.5-dev]
21:50
soliwilos has quit [Remote host closed the connection]
21:50
soliwilos has joined #kisslinux
21:56
Torr has joined #kisslinux
23:17
ioraff has quit [Quit: ioraff]