libera/#eudev/ Monday, 2021-09-20

Arsenah, it's git archive00:00
Arsengit archive should produce stable content too, the metadata in the tar meta blocks shouldn't be able to change00:00
Arsenif it doesn't, that should be easily fixable, and then it's just getting the compression right, which also shouldn't be a problem, compression (unlike encryption) doesn't rely on randomness00:01
Arsenso I see it as quite viable00:01
bb|hcbImagine they upgrade tar and it flips a bit in the file header; then the generated tar on the not-upgraded frontends will pass the sig, and the one from the upgraded ones will not... :(00:02
Arsenwell, there's a strictly-defined tar standard00:03
Arsen(for the archive, not the tool)00:03
bb|hcbYes, but there are ambiguities - you can encode the same thing in different ways00:03
Arsenindeed00:04
ArsenI'm sure that's possible to iron out, though00:04
bb|hcbAFAIK the effort to produce git archives does the thing in a different way - its a tar with the .git data, and since commits/tags inside are signed it can be verified, not the tar or tar.xz00:04
bb|hcbsubset of git data to be more precise00:05
Arsenhm? you mean git-archive?00:05
Arsenno, that stores a tree00:05
bb|hcbYep, all commits leading to the tagged one00:06
bb|hcbThat is the release after all00:06
Arsenfwiw git hashes are too cryptographically weak to be used for integrity of data00:06
bb|hcbBut most packaging tools verify the file checksum against a known one or verify the tar.?? and tar.??.sig against a known key00:07
Arsenso I'd only trust a git tag to sign the exact tree it points to, and even that relies at least one sha1 indirection, so not great00:07
Arsenwhen home, I can probably set up a cluster of vms to run git archive | sha256sum and compare the results00:07
Arsento see if it's reproducible00:07
Arsenbased on the output, my guess would be that it's encoded using a git-specific tar encoder00:08
bb|hcbAfter all, if all commits in the repo are signed, and there is the proper trust already setup, being weak on the tag itelf is not that big problem00:10
Arsenhttps://github.com/git/git/blob/142430338477d9d1bb25be66267225fb58498d92/archive-tar.c indeed the output of git-archive oughta be stable00:11
Arsenand if zx2c4 depends on it being stable, it's probably fair to assume it'll stay stable00:12
Arsen... but I'm not sure he does?00:13
ArsenI can't find the DL code00:13
Arsendamn - gotta run now, will look later00:14
Arseno/00:14
bb|hcbhttps://103fm.tt/wp-content/uploads/2018/12/1CEB0C2B-E8A7-43F5-9F6C-B37E72C42445.jpeg Sorry for the OT, but couldn't resist00:17
bb|hcbI have started filing PRs for the things I have seen00:34
Arsennice!00:35
Arsenthis is good progress to have befroe the long-term project I want to do comes to fruition00:35
ArsenI'll review it at the earliest opportunity00:35
bb|hcbBTW. How many OKs we need before pushing to master?00:41
Arsenwell, there's six (?) people willing to actively involve themselves in the development00:49
Arsenit's not unfeasible to require a consensus00:49
bb|hcbThat is OK, let's do case by case and see how it goes. I am also not sure, if the commit messages are good in this way00:55
lu_zeroHi09:57
Ariadneregarding review thresholds: i dislike bureaucracy10:55
ArsenAriadne: wdym by that11:36
Ariadnei think requiring six people to approve every PR is annoying11:45
gnu_srs1Ariadne: The proposal was one or two, based on the messages in the backlog?11:53
Ariadnesure, that is fine11:53
Arsenapproval isn't an issue, really13:33
Arsenrealistically, one person alone should be enough to review the quality of code13:33
Arsenor rather, implementation13:33
Arsenthe question is whether an implementation should be there13:33
rktaIs there a read-only version of this pad which does not need a password? Or is the pad classified?14:25
Arsendon't believe it's possible to do that and I also don't think it's considered classified14:27
rktaI don't understand how to run the tests. Can someone enlighten me? I did succesfully run 'make all', now what?20:45
rktaIf I run ./test/udev-test.pl from the repo root I get: no such file or directory: ./test/udev-test.pl  , if cd into ./test and run ./udev-test.pl i get: unable to create udev_dev: test/dev. Are tests borked or am I doing it wrong?20:47
rktaDisregard that...20:48
rktaRunning from repo root ./test/udev-test.pl runs, but complains: Can't exec "./test-udev": No such file or directory at ./test/udev-test.pl line 1321.20:49
rktathe error when running from inside ./test is accurate, unable to create udev_dev: test/dev20:50
bb|hcblu_zero: Hi and welcome!22:48
bb|hcbrkta: https://pad.dyne.org/pad/#/2/pad/view/pyFBQof33qdeVqt60fpKq9WX9o9F1Cyk81kpNr7k01w/p/ (read-only), in case you want to add something, shout and someone will share the password with you :)22:49
rktabb|hcb: maybe we should put this link in the topic :)23:04
lu_zeroit is not accessible23:20
golinuxSadly, I understand there was some malicious activity making open collaboration impossible but there definitely should be a read-only access available.  Don't know why it's not working . . .23:29
Arsentbh i'd just migrate this to a text document in a git repo23:33
Arsennice and public, accountable, trackable, etc23:33
golinuxNow there's an idea23:33
bb|hcbArsen: I am OK with any model that works :) Shall we create a separate repo for that?23:34
skarnetIt's 2021 and we still don't collaborative work23:34
skarnetcomputer science is awesome23:35
Arsengotta love it23:35
Arsenbb|hcb: yeah23:35
bb|hcbrepo name suggestions?23:35
Arsennow that's a problem outside my expertese ;)23:35
bb|hcbI wouldn't ask if I had an idea ;)23:35
skarnetgitpad23:36
golinuxeudev-cauldron23:36
Arsenoh, right, fair enough23:36
skarnetgolinux's suggestion is clearly better if the repo is eudev-specific23:37
* golinux loves to play with words23:37
bb|hcbskarnet: isn;t that a windows app?23:38
skarnetdo I look like I know the names of all windows apps? :P23:38
golinuxThat likely applies to most of us23:39
bb|hcbi just searched and saw it is some helper for windows git users... Maybe you mean something else? Link please :)23:40
bb|hcbhttps://github.com/eudev-project/eudev-cauldron23:44
bb|hcbI have just copied pad's text there23:47
bb|hcbDoes that look sane?23:48
skarnetlgtm23:49
golinuxgetting a 40423:54
golinuxMy nic there is nauved23:54
golinuxI can get here https://github.com/eudev-project/ but not to here https://github.com/eudev-project/eudev-cauldron23:56

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!