ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.bvnf.space | post logs or else | song of the day https://vid.puffyan.us/H7PvgY65OxA
rohan has joined #kisslinux
GalaxyNova has quit [Remote host closed the connection]
GalaxyNova has joined #kisslinux
GalaxyNova has quit [Changing host]
GalaxyNova has joined #kisslinux
rohan has quit [Read error: Connection reset by peer]
GalaxyNova has quit [Remote host closed the connection]
GalaxyNova has joined #kisslinux
GalaxyNova has joined #kisslinux
GalaxyNova has quit [Changing host]
GalaxyNova has quit [Remote host closed the connection]
GalaxyNova has joined #kisslinux
GalaxyNova has joined #kisslinux
GalaxyNova has quit [Changing host]
GalaxyNova has quit [Remote host closed the connection]
GalaxyNova has joined #kisslinux
rohan has joined #kisslinux
ella-0_ has joined #kisslinux
ella-0 has quit [Read error: Connection reset by peer]
rohan has quit [Ping timeout: 272 seconds]
<wael_> Hi
GalaxyNova has quit [Remote host closed the connection]
GalaxyNova has joined #kisslinux
GalaxyNova has quit [Changing host]
GalaxyNova has joined #kisslinux
sad_plan has joined #kisslinux
<sad_plan> o/
<testuser[m]> Hi
<sad_plan> why does iproute2 list libcap and iptables as deps? i doesnt need any of them to build
<sad_plan> only needs linux-headers. libelf needs a tiny fix to bypass it
<sad_plan> testuser[m]: http://0x0.st/oxWz.patch only thing needed to bypass using libelf.
<sad_plan> wait, does codeberg not accept ssh keys as signingkeys?
<testuser[m]> It does
<sad_plan> hm. I just got an error when trying to add mine
<testuser[m]> send
<sad_plan> although I cant even get git to recognize them either tbh
<testuser[m]> are u uploading private key to codeberg
<sad_plan> no, public
<sad_plan> error: No private key found for "/tmp/.git_signing_key_tmpbg4JMA"?
<sad_plan> I have added my key to gitconfig though
<testuser[m]> send
<testuser[m]> I had the same but made wrong gitconfig
<testuser[m]> Didn't u ask this like 2 weeks back
<sad_plan> not directly. I tried to use dropbear with github, which works, but it cant sign commits. doesnt have that feature. mcf created a patch for signing, but not verifying.
<testuser[m]> Why do u have the same key 3 times
<sad_plan> mustve been messed up when trying to add the key
<sad_plan> which of them is initially essential? only the global one?
<sad_plan> I fixed it
<sad_plan> now just try again to add the key to codeberg
fitrh has joined #kisslinux
<wael_> codeberg more like
<wael_> cantsearchbecausegitea
<sad_plan> lol
<testuser[m]> sad_plan: ill fix iproute2
<testuser[m]> wireguard seems to work fine without iptables in iproute
<sad_plan> nice
<sad_plan> ffs, is the option to use ssh key as signing key some place else than in the ssh/gpg keys section? adding the ssh key to gpg section obviously dont work I mean
<sad_plan> on codeberg
<sad_plan> 'Can not verify your GPG key: failed to parse gpg key openpgp: invalid argument: no armored data found' do I have to verify the ssh key?
GalaxyNova has quit [Remote host closed the connection]
<testuser[m]> what
<sad_plan> thats the error I get when trying to add the ssh keys to the gpg section
<sad_plan> for signing
<testuser[m]> bruh theres 2 sections manage ssh key and manage gpg key
<testuser[m]> why would u add ssh key to gpg...
<sad_plan> signing. theres no indication wether I can use ssh keys to sign. I now have it enabled in git, but codeberg wont recognize it, because its not added to codeberg
<testuser[m]> then add it
<sad_plan> I have added the ssh key there
<sad_plan> but codeberg wont recognize it as a signing key. so itll just say unverified or w/e it says on codeberg when a commit is unsigned
<testuser[m]> u probably didnt verify it
<testuser[m]> it gives u a blob to sign
<sad_plan> no I tried that, but it errors out on ssh-askpass not existing. then incorrect pasphrase supplied, but it never prompts, because ssh_askpass isnt found
<phoebos> sad_plan: you might find it helps to ssh-add your key
<sad_plan> thought I did that already
<sad_plan> oh, so noooow it worked
<sad_plan> ok, so the ssh key is verified now, but this doesnt really solve the ssh key for signing
* sad_plan sighs
<testuser[m]> hmm b3 change broke a lot of stuff in etcsums
<testuser[m]> it doesnt save file as *.new if it already exists if pkg was never installed, and saves files as *.new if they never existed before
<testuser[m]> but it didnt change any of that code
<sad_plan> I was wondering when that patch was going into a new release, but I suppose I got my answer :p not yet
<sad_plan> hm. I dont belive I had that issue. lemme check
<sad_plan> hm I dont get any of that by install the regular baselayout
<sad_plan> nor baseinit
<testuser[m]> it only happens if pkg wasnt installed bfore
<sad_plan> ah, ok lemme check
<sad_plan> nop, still nothing
<testuser[m]> got it
<testuser[m]> its cuz length check doesn't handle the case where its empty
<testuser[m]> sum_old
<testuser[m]> so hash is never unset
<testuser[m]> in that caes
<testuser[m]> fixed
<sad_plan> nice
<testuser[m]> badly need a test suite
<testuser[m]> https://github.com/TAAPArthur/pkgmanager/tree/master/Tests can start by shamelessly stealing this
<sad_plan> just run the scripts from top to bottom you mean?
<testuser[m]> wat
<sad_plan> isnt that what you ment? *testing*
<testuser[m]> automated tests
<testuser[m]> yeah
<phoebos> testuser[m]: nice find. i noticed that when we were testing tar perms
rohan has joined #kisslinux
<testuser[m]> phoebos for fixing etcsums do I remove the reversal from tar generation itself so that broken sums never make their way into system or re-reverse / unreverse them as needed in other places?
<testuser[m]> i think first is OK cuz u can't break what's already broken
<testuser[m]> it also needs to handle files being skipped from checksum generation eg /etc/sv/*/supervise files
<testuser[m]> otherwise it compares more entries than exist in etcsums which again breaks everything
<illiliti> first is better
<phoebos> yes first sounds better
<phoebos> how do you identify broken sums?
<testuser[m]> wc -l etcsums > 1
<phoebos> ah
<testuser[m]> phoebos: test -h vs test -L
<testuser[m]> their descriptions are character for character same
<testuser[m]> sus
<illiliti> -h is preferred
<testuser[m]> any reason
<illiliti> openbsd man page says so
<illiliti> freebsd says otherwise
<illiliti> bruh
<testuser[m]> lol
sad_plan has quit [Quit: nyaa~]
<testuser[m]> illiliti: phoebos any idea about solving issue of symlinks in /etc
<testuser[m]> i thought of just checking -h but that doesn't work for removal if user modifies that file to not be a symlink
<testuser[m]> other way is just to echo dummy value for that file in checksums
<testuser[m]> like SYMLINK
<illiliti> no need to be too smart
<illiliti> if user modifies something, that's their problem
<illiliti> handle basic case
<testuser[m]> so just -h check
<phoebos> we target posix, -h and -L are equivalent
<testuser[m]> also this seems like a valid bug to me since it has a cascading effect on all other entries, maybe we could just add something like hash of /dev/null in place of all symlink files? That way there's no chance for mismatch of no. of entries and no.of files checked so at most only symlinks will be broken. Also easier than adding -h checks to 3-4 places
<testuser[m]> adding special value like "SYMLINK" would need adhoc logic in b3() itself which is bad
<testuser[m]> eg
<illiliti> just ignore symlinks
<testuser[m]> illiliti but the point is we cant do that without filling in missing lines in etcsums file
<testuser[m]> https://termbin.com/4h6p 1 line fix
<testuser[m]> i feel its an ok compromise
<testuser[m]> removed directory check, will ignore symlinks altogether otherwise have to special case directory, non existent path, ... etc
<testuser[m]> illiliti: wdym
<testuser[m]> btw what damage do charset.alias and .la files cause that they're hardcoded to be removed in KISS?
<testuser[m]> oh > Remove this unneeded file from all packages as it is an endless source of conflicts. This is used with info pages we we do not support.
<illiliti> dylan said that fix requires refactoring of pkg_remove_files
<illiliti> which i think the proper option
<testuser[m]> we can do that later ig, i'd be wary of modifying anything greater than 2 lines without adding some tests
<testuser[m]> lot of stuff needs to be refactored like even removal of existing files in etcsums (removing f2 from f1 f2 f3 in /etc)
<macslash1[m]> qwhta
<testuser[m]> why is there no tar library for C other than libarchive :bruh:
chomwitt has joined #kisslinux
<illiliti> full rewrite in c would be better
<illiliti> ... something something i have in TODO ...
<testuser[m]> C rewrite will already be there when the issue gets closed
<testuser[m]> and u get free libkiss
<testuser[m]> hmm maybe C stuff should be in it's own repo
<illiliti> yes
ukemi has joined #kisslinux
<midfavila> C stuff should totally be in its own repo
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
fitrh has quit [Ping timeout: 276 seconds]
<wael_> was Dylan ever eventually was going to make a C rewrite
<wael_> or is he POSIX advocatr
<midfavila> dylan is the one who started a kiss rewrite iirc
<midfavila> "k"
midfavila has quit [Remote host closed the connection]
<wael_> in c orrrrrrrrrr
midfavila has joined #kisslinux
GalaxyNova has joined #kisslinux
GalaxyNova has quit [Changing host]
GalaxyNova has joined #kisslinux
rohan has quit [Read error: Connection reset by peer]
Torr has joined #kisslinux
Torr has quit [Client Quit]
<testuser[m]> Rust
<testuser[m]> So good
rohan has joined #kisslinux
rohan has quit [Ping timeout: 250 seconds]
zou41 has joined #kisslinux
<zou41> does anyone know if ehawkvu firefox has webrtc active? I couldn't use some sites the last time because of that
<testuser[m]> zou41: should be enabled
<testuser[m]> What issue did u encounter
<zou41> I'm not running kiss anymore (I want to use it again) but last time sites like discord/slack don't work for calls
<zou41> and in console warns about webrtc failing
rohan has joined #kisslinux
<zou41> I don't know if it's active or if some package was missing in the my installation
<testuser[m]> for xorg u shouldn't need anything extra beyond webrtc enabled in ff, which it is
<testuser[m]> wael: can u check x11 firefox screen sharing
chomwitt has quit [Ping timeout: 276 seconds]
zou41 has quit [Quit: Ping timeout (120 seconds)]
<phoebos> re: libkiss, i'm concerned about what functionality should be put into a library
<phoebos> consider kiss-size
<phoebos> the bit which could be in a library is reading the manifest file
<phoebos> but the file format is so simple that all we need to do is open $KISS_ROOT/var/db/kiss/installed/pkg/manifest and getline it
<phoebos> and anything else (eg a function `char **kiss-manifest(char *pkg)` that returns an array of filenames) is more complex
<phoebos> it's easy and tempting to start writing library functions like that but i think the design of the C rewrite needs careful thought
rohan has quit [Ping timeout: 276 seconds]
rohan has joined #kisslinux
<noocsharp> illiliti: can you see if wayclip master's Makefile is sufficient for your needs?
<noocsharp> i made it compatible with bmake at least