05:25:41 I wish more open source projects would use reproducible builds. No one can build everything they use, so we should be able to use binaries directly without having to trust a single person/entity 05:32:21 Do you know if there are any automated ways to check that at least some amount of people that you trust have verified a build before installing it ? It would be nice but I don't think it's widespread enough 05:33:13 I belive this verification is done manually for monero right ? 05:50:11 "Excuse me friend, can you please run sha512sum on your monero build" 06:41:01 lmao 08:10:08 hi 12:10:03 Seth For Privacy till when does this need to be done? I want to try contributing 12:20:51 "Seth For Privacy till when..." <- Ideally before release, but its never too late really! 12:22:00 "Do you know if there are any..." <- What do you mean "automated"? 12:22:00 Some way to simply compare all of the signed hashes people produce? 12:23:09 sethsimmons: Is 6 hours from now enough 😅? 12:30:12 Its always helpful, even after release, so a great chance to become familiar with the process either way 🙂 12:30:12 Would recommend the Docker approach: 12:30:13 https://github.com/monero-project/monero/blob/aeae337c0be565ae2bde4f00ba7d732f6eab7bfc/contrib/gitian/DOCKRUN.md 12:31:42 monero-update checks for >= 2 agreeing hashes from a set of trusted people IIRC. 12:31:59 Trusted in this context being... hyc iDunk and a couple others. 12:41:28 I'm currently doing the gitian builds following https://github.com/monero-project/monero/tree/master/contrib/gitian 12:41:28 It's 1st time and it seems to work (not finished). 12:41:28 The scripts are doing quite all the job, so, not so complicated. 12:41:30 Thanks to the people who write the scripts. 12:41:53 * gitian builds,, * with docker, following https://github.com/monero-project/monero/tree/master/contrib/gitian 12:44:07 that's the idea. i wanted a simple automation that anyone can do... 12:44:33 and the scripts themselves are also simple, anyone can read them to verify what they do 13:09:23 Thankful for the Dockerized approach, much more easy to cleanup after and a bit simpler to follow 🙂 13:10:40 I got sick of polluting my main dev machine 13:11:02 and having my dev environment break after every OS upgrade 14:00:22 In trying to figure out PGP right now with the gpg frontend, why does it say my signed messages are "NOT fully valid"? 14:04:41 Did you have the private key imported/created before running it? Did you accept to sign at the prompt? What exact output did it give? 14:06:16 I generated a private/pub key, put "test message 3" into the editor field, clicked sign, clicked verify 14:07:33 Verify report says success 14:07:33 > It contains: 14:07:33 A signature NOT fully valid. 14:07:33 Signed by: testsignature 14:09:17 I think you have to tell gpg that keys come from a trusted source to avoid that warning.... although it should prolly be automatically marked trusted if you generated it yourself heh 14:11:33 Alright so it only says that because it isn't a "trusted key" 14:12:57 Yes, just run `gpg --edit-key [key-id]` and then `trust` and set to ultimate trust (5). 14:19:12 Worked 14:19:21 Good signature fully valid 14:20:37 Awesome 😎 14:20:45 How do I now check something you guys signed is valid? 14:21:16 Like your PR Seth For Privacy 14:21:48 Did you answer yes to signing when running the dockrun.sh script? 14:22:08 If so the directory will be in `sigs` there. 14:22:33 I only have gpg installed, didnt do any of the monero gitian stuff yet 14:22:43 Ah 14:23:18 Then once you run through the gitian build you'll be able to sign and push sigs: https://github.com/monero-project/monero/blob/master/contrib/gitian/README.md or https://github.com/monero-project/monero/blob/master/contrib/gitian/DOCKRUN.md (I recommend the latter) 14:24:02 You'll also need to fork https://github.com/monero-project/gitian.sigs 14:25:49 monero-guides: I sense a Monero Guide in the making ^ 15:04:52 Holy moly I've been struggling the whole day to get my mint vm updated. I wasn't logged into the firewall... 15:07:20 So can I sign with my monero secret key or will i need a seperate PGP key? 15:08:08 You sign with a PGP key, up to you which one but you'll have to publish the public key as part of the gitian.sigs repo. 15:34:05 sethsimmons: did you by any chance run the dockrun script once before downloading the Mac SDK? 15:34:29 Yes 15:34:39 then that's why you didn't get it. 15:34:43 Well, I downloaded the SDK in the root monero dir, so it was in the wrong place. 15:34:52 Docs didn't say where to download it, but I can add that as well 15:35:01 dockrun only builds the gitrun container once, and the SDK has to be there at that time. 15:35:10 after that it just uses the container as-is. 15:35:28 Ah makes sense 15:35:32 I'll add dirs to docs 15:35:44 sure. dockrun assumes everything is in the current working directory - contrib/gitian 15:36:28 If DOCKRUN.md will be referred to directly, it needs to include the git clone and cd commands, so I'll add those 15:36:46 which git clone? 15:37:01 I would assume you've already cloned the repo if you're reading the document 15:37:06 of monero source 15:37:17 It's not even mentioned at present in the DOCKRUN.md doc 15:37:31 right, because you already have the repo if you have the file to read. 15:38:11 But that won't be the case necessarily for people sent straight there via URL 15:38:25 Most people won't be vim'ing the md file, they'll be reading it on Github itself. 15:39:03 meh. 15:39:25 we have to draw the line somewhere. you have to know how to use git 15:39:26 Just adding this:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/a221f0236fccc37514700e901a7c316eff4ec63e) 15:39:36 * Just adding this:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/a309b73cec1c422f49696ce295284f203a3c55c8) 15:40:24 Yes, but I don't think the line should include you knowing what source to clone and what directory to be in 🙂 15:40:43 those steps won't make sense / would be redundant once you're actually reading the file from your own soure tree 15:41:32 Like I said, I don't think that's the majority of people, and the Docker setup is a good "beginner" approach. 15:41:47 the docker setup requires you to know how to use docker 15:41:55 so we're already excluding total beginners 15:42:00 and that's ok. 15:42:47 it requires you to know how to install docker on your machine 15:43:19 it thus requires you to be able to responsibly use sysadmin privs without blowing things up 15:44:00 It's just a minor change that adds much-needed context/initial steps. 15:44:11 ok fine. yeah it's a small change. 15:45:22 hyc: It doesn't, though, it includes the basic steps to install and prep Docker, and rightly so. 15:45:34 And includes all Docker commands necessary to complete and verify the builds. 15:46:14 This is just a small piece of missing context, I certainly don't want to add a beginner guide to git or Docker, but to run the process start to finish the clone/cd are required steps that shouldn't be assumed, IMO. 15:46:35 I pushed the commit with the changes to https://github.com/monero-project/monero/pull/8101 15:48:03 ok 15:48:18 now just need to add a note about the out/ directory 15:48:41 Starting a clean build including mac builds now 15:48:56 hyc: Ah, yes 15:49:09 oh also you could just docker cp the SDK file into the gitrun container 15:49:23 no need to tear it all down and start over 15:49:57 Meh good way to test and already done 😛 15:50:06 But that would have been much faster for sure lol 15:50:07 heh ok 15:52:19 Will add the out notes once the first build is done and I can validate the dir 15:52:28 ok 16:38:07 Results from my gitian builds : 16:38:07 http://dropbox24l7p7sfy4fbgli7swdssvdsifkwzatsppbibqba3tnqszeqd.onion/u/u483/monero-v0.17.3.0-sha256sum.txt 16:38:07 seems inline with others. 16:38:12 apple build and sig is missing because I missed it. Sorry. 16:38:31 I'll now try to do the GPG things. 16:40:10 Nice! 16:57:52 i dont think being verbose in instructions is bad. im not a docker or git wizard, with only cursory knowledge, it can help dummies like me. 16:58:51 I do not like docker. systemd makes more sense to me. this stuff is still new to me 16:59:14 copy and paste, it's what I do. hahaha 17:00:03 "monero-update checks for >= 2..." <- thanks that's exactly what I was asking 👌 17:01:19 is this done by the devs before publishing the binaries or localy before updating ? 17:23:57 I have forked monero/gitian.sigs on my own github (https://github.com/HoverHalver/gitian.sigs) 17:23:57 I have also my gpg public key which I try to add to https://github.com/HoverHalver/gitian.sigs/tree/master/gitian-pubkeys 17:24:23 I'm doing this using Tor, but the file refuses to upload. 17:24:53 I wonder that it's probably github which dislikes me using Tor ? 17:25:13 Just cat the file and copy+paste, and name the same as your Github username (i.e. HoverHalver.asc) 17:25:30 Add file>Create new file 17:28:47 Thanks Seth, this way works. 17:30:40 Nice 18:23:13 Still using Tor, I encounter (of course) the same issue when I try eg to upload my sig folder 18:23:13 into https://github.com/HoverHalver/gitian.sigs/tree/master/v0.17.3.0-android 18:23:41 I guess I will either have to use vanilla Firefox or use git command lines. 18:24:43 in which case I guess such uploading probably leaks my IP to github.com 18:24:59 s/./,/ 18:28:15 Halver: torsocks (more preferred I think) or torify (less preferred I think) plus git commands should work on Linux. 19:15:16 in order to do `git commit ...` 19:15:16 git asks for an email an a name. 19:15:20 Not sure if giving a fake email will work (?) 19:16:18 afk 19:19:41 It won't, since it'll double check with the password number it asks you afterwards. 19:19:50 passport* 19:20:42 (though anything with a @ works IIRC, it's just being a pain about asking) 21:41:29 spirobel you can call `MoneroUtils.getIntegratedAddress(networkType, address, paymentId)` with the monero-javascript-v0.5.9 release