💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-09-15.txt captured on 2023-01-29 at 03:45:38.

View Raw

More Information

-=-=-=-=-=-=-

[2022-09-15T00:11:15Z] <sad_plan> why does sometimes kiss fail to build something that I can build manually?
[2022-09-15T00:11:50Z] <sad_plan> I keep getting an error abot /lib/crt1.o has undefined reference to main in _start_c function..
[2022-09-15T00:12:36Z] <illiliti> which package?
[2022-09-15T00:12:43Z] <sad_plan> dropbear
[2022-09-15T00:12:58Z] <sad_plan> I can build it regularly, but when i try to build the multi binary, I get that error
[2022-09-15T00:14:00Z] <illiliti> post build file
[2022-09-15T00:14:25Z] <sad_plan> http://0x0.st/oOLl.sh
[2022-09-15T00:14:43Z] <sad_plan> not building wit MULTI=1 works fine, but not when its enabled
[2022-09-15T00:15:04Z] <sad_plan> ive also tried to build it shared, but iirc its the same result
[2022-09-15T00:15:47Z] <illiliti> https://git.alpinelinux.org/aports/tree/main/dropbear/APKBUILD#n49
[2022-09-15T00:16:07Z] <illiliti> people seem to build it this way
[2022-09-15T00:17:51Z] <sad_plan> yeah, dropbear lets you select which programs you wish to include. the user can specify this like this: make PROGRAMS="foo bar" 
[2022-09-15T00:18:10Z] <sad_plan> and if they want the multi binary, just include MULTI=1 at the end
[2022-09-15T00:18:24Z] <sad_plan> which will build a bin like busybox's
[2022-09-15T00:18:38Z] <sad_plan> which is what I wanted to do here :p
[2022-09-15T00:19:20Z] <illiliti> i see
[2022-09-15T00:20:50Z] <sad_plan> yeah. as I said, I can create the dropbearmulti bin by manually building it in the sourcetree, but kiss for some reason will error out on the above issue. which is strange
[2022-09-15T00:24:46Z] <illiliti> sounds like a bug
[2022-09-15T00:36:17Z] <sad_plan> somethings up for sure
[2022-09-15T00:38:09Z] <sad_plan> ive encountered the issue before, but ive never really been sure as to why its acting like that..
[2022-09-15T00:38:15Z] <sad_plan> testuser[m]1:  any input on this?
[2022-09-15T01:33:49Z] <sad_plan> hm. github requires openssh formated keys, but converting dropbear keys doesnt seem to be accepted by github-cli anyway. strange
[2022-09-15T07:32:28Z] <testuser[m]1> hi
[2022-09-15T08:13:39Z] <testuser[m]1> sad_plan kiss isnt doing anything
[2022-09-15T08:13:57Z] <testuser[m]1> just run make again and see that error
[2022-09-15T09:34:33Z] <testuser[m]1> Stop asking me for versions of OpenSSL that have security vulnerabilities in them! That would be any version of OpenSSL prior to the absolute latest build. This is a security product and yet people regularly ask me for a version with security vulnerabilities in it! Oh the irony. Please punch yourself in the face to knock some common sense into yourself. Thank you.
[2022-09-15T09:39:03Z] <testuser[m]1> let's rewrite kiss in https://github.com/dylan-lang/opendylan
[2022-09-15T09:53:49Z] <testuser[m]1> illiliti: is there a posix wg-quick ?
[2022-09-15T11:29:30Z] <testuser[m]1> [#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
[2022-09-15T11:29:30Z] <testuser[m]1> ip: invalid argument '51820' to 'table'
[2022-09-15T11:29:30Z] <testuser[m]1> wtf is thiw
[2022-09-15T11:51:49Z] <testuser[m]1> https://github.com/gentoo/gentoo/blob/master/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
[2022-09-15T12:03:27Z] <illiliti> https://www.mail-archive.com/wireguard@lists.zx2c4.com/msg06547.html
[2022-09-15T12:03:39Z] <illiliti> no idea if it still work
[2022-09-15T12:08:45Z] <testuser[m]1> works after enabling that kernel stuff 
[2022-09-15T12:08:48Z] <testuser[m]1> but it needs iproute2 stuff
[2022-09-15T12:08:51Z] <testuser[m]1> busybox doesnt work
[2022-09-15T12:37:20Z] <sad_plan> o/
[2022-09-15T12:39:00Z] <sad_plan> testuser[m]1: kiss will error out on it, I can still build it like I want manually. its just kiss that doesnt seem to wanna do it. 
[2022-09-15T12:54:30Z] <testuser[m]1> you cant build it manually
[2022-09-15T12:54:32Z] <testuser[m]1> just re run make and it'll show the error
[2022-09-15T12:56:11Z] <sad_plan> itll error out on the same
[2022-09-15T12:56:32Z] <sad_plan> http://0x0.st/oOOu.txt
[2022-09-15T13:03:33Z] <testuser[m]1> bruh i mean re run make in your non-kiss build which seems to work
[2022-09-15T13:05:37Z] <sad_plan> but it works just fine when not using kiss. rerunning make will just return make: Nothing to be done for 'all'.
[2022-09-15T13:05:46Z] <testuser[m]1> make dropbear
[2022-09-15T13:05:48Z] <testuser[m]1> look
[2022-09-15T13:06:24Z] <testuser[m]1> wait
[2022-09-15T13:07:46Z] <testuser[m]1> https://termbin.com/i8jn
[2022-09-15T13:38:38Z] <sad_plan> same error as im getting with kiss.
[2022-09-15T13:38:46Z] <sad_plan> or not fully, but partially
[2022-09-15T13:39:12Z] <sad_plan> i only get the one at the botom
[2022-09-15T13:39:51Z] <sad_plan> git would require scp to push/pull right? in that case, scp needs to be included
[2022-09-15T13:40:22Z] <sad_plan> so the correct call would then be; make PROGRAMS="dropbear dropbearkey dropbearconvert dbclient scp" MULTI=1
[2022-09-15T14:08:01Z] <testuser[m]1> wat
[2022-09-15T14:08:02Z] <testuser[m]1> why would git use scp
[2022-09-15T14:15:34Z] <sad_plan> to push/pull? but if it doesnt use it, its no matter :p
[2022-09-15T17:31:07Z] <sad_plan> I got dropbear working with github though. 
[2022-09-15T17:31:44Z] <sad_plan> signing however seems to error out on missing ssh-keygen for some reason
[2022-09-15T17:32:46Z] <testuser[m]1> sad_plan: what did u put in signingkey =
[2022-09-15T17:32:58Z] <testuser[m]1> I put the key signature instead of the file path and it kept creating junk in /tmp
[2022-09-15T17:33:16Z] <testuser[m]1> So that's probably why keygen is being called
[2022-09-15T17:33:45Z] <sad_plan> git config --global user.signingkey 'ssh-ed25519 AAAAC3(...) user@example.com
[2022-09-15T17:34:10Z] <sad_plan> so yeah, the signature I suppose
[2022-09-15T17:36:32Z] <testuser[m]1> change it to file path
[2022-09-15T17:36:45Z] <testuser[m]1> = ~/.ssh/bla.pub
[2022-09-15T17:36:53Z] <testuser[m]1> = ~/.ssh/bla
[2022-09-15T17:36:54Z] <testuser[m]1> Not pub
[2022-09-15T17:37:00Z] <sad_plan> I was just going to mentioned that I was going to try that
[2022-09-15T17:37:13Z] <sad_plan> dropbear doesnt generate anything but one key
[2022-09-15T17:37:48Z] <testuser[m]1> What
[2022-09-15T17:38:07Z] <sad_plan> dropbearkey generate just one key
[2022-09-15T17:38:21Z] <sad_plan> it doesnt generate a pair like openssh
[2022-09-15T17:39:01Z] <sad_plan> still complains about ssh-keygen
[2022-09-15T17:39:42Z] <testuser[m]1> Send gitconfig
[2022-09-15T17:40:39Z] <sad_plan> http://0x0.st/oO41.txt
[2022-09-15T17:41:06Z] <sad_plan> wait, gpg program should be ssh, whouldnt it?
[2022-09-15T17:42:28Z] <sad_plan> didnt matter
[2022-09-15T17:57:04Z] <sad_plan> any thoughts testuser[m]1 ?
[2022-09-15T18:30:28Z] <testuser[m]1> no
[2022-09-15T18:30:28Z] <testuser[m]1> what if u remove the gpg section
[2022-09-15T18:30:28Z] <testuser[m]1> Oh nvm
[2022-09-15T18:30:28Z] <testuser[m]1> U need it
[2022-09-15T18:30:28Z] <testuser[m]1> But just format = ssh
[2022-09-15T18:30:29Z] <testuser[m]1> program = gpg not required
[2022-09-15T18:32:42Z] <sad_plan> git still cals ssh-keygen though
[2022-09-15T18:33:18Z] <testuser[m]1> link ssh-keygen to true
[2022-09-15T18:33:55Z] <testuser[m]1> PATH=/tmp/junk:$PATH; echo | install -Dm 755 /dev/stdin /tmp/junk/ssh-keygen
[2022-09-15T18:34:02Z] <sad_plan> according to mcf, git call 'ssh-keygen -Y sign -m git' or something
[2022-09-15T18:34:56Z] <testuser[m]1> Then u have to install it
[2022-09-15T18:35:18Z] <sad_plan> dropbear doesnt have it though
[2022-09-15T18:36:04Z] <sad_plan> isnt openssh the only one that got ssh-keygen? or what other options do I got?
[2022-09-15T18:36:25Z] <sad_plan> I mean, I dont strictly need commit signing, but would be nice to have
[2022-09-15T18:37:51Z] <testuser[m]1> openssh isn't even that fat that u need to replace it lol
[2022-09-15T18:38:30Z] <sad_plan> well.. dropbear can be less than 1mb, and openssh is around 30. but sure, its not thaat big, but compared to dropbear, is rather big 
[2022-09-15T18:41:35Z] <sad_plan> im mostly doing it because I find it abit fun to do. I would be fine with having openssh instead, but using dropbear is more fun imo
[2022-09-15T19:05:33Z] <testuser[m]1> Bruh it's 7mb
[2022-09-15T19:05:34Z] <testuser[m]1> openssl is 30mb
[2022-09-15T19:05:44Z] <virutalmachineus> nice
[2022-09-15T19:07:43Z] <sad_plan> kiss si will return openssh is 23mb on my system, and dropbear is 1mb