#
…

2021-01-05

00:13jamadazi has quit [Ping timeout: 268 seconds]
00:17mha has joined #asahi
00:49JTLWelcome
03:48comex has joined #asahi
04:18_whitelogger has joined #asahi
05:27_whitelogger has joined #asahi
06:20marcanso, apparently, what marketing called "icestorm" and "thunderstorm"
06:20marcanare actually "vortex" and "tempest"
06:20marcan#define MIDR_ARUBA_VORTEX (0x010 << MIDR_EL1_PNUM_SHIFT)
06:20marcan#define MIDR_ARUBA_TEMPEST (0x011 << MIDR_EL1_PNUM_SHIFT)
06:20marcanI think we finally have a codename for the M1: "Aruba"
06:21davidrysk[m]then what's A12? it's documented that A12 is Vortex and Tempest
06:21davidrysk[m](in LLVM sources and other places)
06:22marcan#define MIDR_CYPRUS_VORTEX (0x00B << MIDR_EL1_PNUM_SHIFT)
06:22marcan#define MIDR_CYPRUS_TEMPEST (0x00C << MIDR_EL1_PNUM_SHIFT)
06:22marcanone of those would be A12, the other M1
06:23marcanthere's this though too
06:23marcan#define CPU_PART_LIGHTNING 0x12
06:23marcan/* H12 e-Core (ARMv8 architecture) */
06:23marcan#define CPU_PART_THUNDER 0x13
06:24marcanwait no, this isn't right
06:24marcan#define CPU_PART_VORTEX 0xB
06:24marcanthere is mention of "M9" around here
06:24davidrysk[m]prior documentation states that Vortex is A12 big and Tempest is A12 little, while Lightning is A13 big and Thunder is A13 little
06:25marcanyeah this makes more sense
06:25davidrysk[m]Interestingly though, LLVM has been using the same scheduler model since Cyclone (A7)
06:26davidrysk[m]<davidrysk[m] "Interestingly though, LLVM has b"> Since I thought Apple may have been pulling closed-source-forked-LLVM shenanigans, I perused their clang/llvm binaries as well and could not find a different scheduler model for the newer cores
06:26marcanso: H11=Cyprus[Vortex/Tempest], H11G=Aruba[Vortex/Tempest], M9=unknown[Tempest], H12=[Lightning/Thunder]
06:26marcanM9 sounds like a Watch core
06:27JTL has quit [Quit: WeeChat 1.7.1]
06:27davidrysk[m]the S4 and S5 use a dual core Tempest
06:27marcanso if H12 = A13, then the M1 isn't in here
06:28davidrysk[m]does this mean we need to write a kext and read the registers? :)
06:28marcanI just wanted to know the codename tbh :p
06:29marcanbut I intend to do all such hardware probing from mini once I get that ported
06:29marcan#elif defined (BCM2837) /* Raspberry Pi 3 */
06:29marcanI like how this just casually supports the rPi
06:29davidrysk[m]xnu-6153.141.1 has more files in pexpert/pexpert/arm64
06:30davidrysk[m]but that might not be meaningful
06:31davidrysk[m]no mention of T8101 here
06:31JTL has joined #asahi
06:32marcanI like the RC_HIDE_XNU_LIGHTNING in the old one
06:32davidrysk[m]yeah, that's the "fun" part
06:33davidrysk[m]download all the different xnu source bundles and look for stuff they forgot to redact
06:33marcan#if __arm64__
06:33marcan need_wa_rdar_55577508 = cpuid_get_cpufamily() == CPUFAMILY_ARM_LIGHTNING_THUNDER;
06:34marcanah yes I love it when people put bug numbers into variable names
06:34davidrysk[m]lol at least they say what the bug is
06:35marcanyeah, thankfully
06:35marcanwe're going to need that one quite possibly
06:35davidrysk[m]if it's not fixed in A14/M1
06:35marcan // Disable clock dithering
06:35marcan // <rdar://problem/29022199> [Tunable] Skye A0: Linux: LLC PIO Errors
06:35marcanthey use Linux for hardware validation, clearly :p
06:37marcanI'm not amused as to how their source references stuff like pexpert/arm64/H12.h which does not exist
06:38marcanI guess to them these xnu source dumps are just garbage not intended to be buildable...
06:38davidrysk[m]they USED to be buildable
06:38davidrysk[m]that's the frustrating part
06:38davidrysk[m]the KDKs with debug symbols might end up being more useful
06:43davidrysk[m]I'm partly hoping that this is because there's too much broken crap in 11.0.1 that they weren't clear for release and that we'll see more in 11.1 and 11.2 releases
06:43davidrysk[m]I updated my feedback entry though
06:44marcanquite possible
06:46davidrysk[m]from the KDK we can see the build line though
06:48davidrysk[m](note, long lines)
06:50davidrysk[m]that's the t8020 one though — A12, not M1
06:50JTL has quit [Quit: WeeChat 2.9]
06:50davidrysk[m]I don't think we have an M1 KDK yet, though lemme see
06:51JTL has joined #asahi
06:51davidrysk[m]yeah not even the 11.2 KDK has the t8101 kernel
06:52tarzeau has joined #asahi
06:52JTL has quit [Client Quit]
06:53JTL has joined #asahi
06:56davidrysk[m]I filed a feedback for that
07:00JTL has quit [Quit: WeeChat 2.9]
07:01JTL has joined #asahi
07:39JTL has quit [Quit: WeeChat 2.9]
07:39JTL has joined #asahi
13:08jamadazi has joined #asahi
13:47roxfan2 has joined #asahi
13:49roxfan has quit [Ping timeout: 260 seconds]
14:07svenpeter[m]1 is now known as svenpeter[m]
18:47roxfan2 is now known as roxfan
18:48artemist has joined #asahi
18:48dyniec[m] has joined #asahi
18:49minicom has joined #asahi
18:51sferrini has joined #asahi
18:51eichin has joined #asahi
18:52_ghost_ has joined #asahi
18:54karlyeurl has joined #asahi
18:54ransom has joined #asahi
18:55sven has quit [Quit: ZNC 1.7.4 - https://znc.in]
18:57dhewg has quit [Ping timeout: 256 seconds]
18:57mha has quit [Ping timeout: 264 seconds]
18:58jcs has joined #asahi
18:58LeonardJanisRobe has joined #asahi
18:58Jasper[m] has joined #asahi
18:59eta has joined #asahi
18:59marcan has quit [Quit: Now where's my screwdriver...]
19:00maximus64 has joined #asahi
19:00leah2 has joined #asahi
19:00rjzak has joined #asahi
19:03Shiz has joined #asahi
19:03gruetzkopf has joined #asahi
19:03FFY00 has joined #asahi
19:04Raqbit has joined #asahi
19:05awesomebing1 has joined #asahi
19:05GaveUp has joined #asahi
19:08numa[m] has joined #asahi
19:08numa[m]Hi, just testing the matrix bridge
19:09josiahmendes[m] has joined #asahi
19:10rcombs has joined #asahi
19:12djb has joined #asahi
19:12jn__ has joined #asahi
19:13chuskywalker has joined #asahi
19:14Fanfwe has joined #asahi
19:14TheJollyRogerWoah, this channel's grooooownnn!
19:15FanfweHello, world!
19:15spikebike has joined #asahi
19:15jn__o hi TheJollyRoger! :)
19:15Shizlotta names here
19:15djbThis irc thing...I don't think I've done it in like 15 years now.
19:16DrWhax has joined #asahi
19:16austriancoder has joined #asahi
19:16spikebikedjb: your nick looks familiar
19:16tpw_rules has joined #asahi
19:16djbI don't recognize any of you from the old linuxnet days, but that might be because many of you weren't born yet
19:16LeonardJanisRobewe use(d) irc on irc and it simply scales so nicely
19:16djb@spikebike yours too
19:16spikebikeha, yeah, on linuxnet
19:16rcombsthat escalated quickly
19:17numa[m]<djb "This irc thing...I don't think I"> I think it's the better option, everything has a irc bridge
19:17LeonardJanisRobebut here i simply use it via element-bridge
19:17jcs has left #asahi [#asahi]
19:17djb@numa[m] I've got no complaints about it!
19:18flokk has joined #asahi
19:18neobrain has joined #asahi
19:18djbI'm no kernel hacker, but I used to enjoy hanging out with them so I figured I'd check in here.
19:18x56 has joined #asahi
19:18jonmason has joined #asahi
19:19Yuzu has joined #asahi
19:19jn__djb = Dan Bernstein?
19:19djb@jn__ OH DEAR GOD NO
19:19jn__alright, ok
19:19hspak has joined #asahi
19:19djbDonnie Barnes, formerly of Red Hat
19:19djbBernstein and I had some epic flame wars bitd
19:19Shizi had the same thought, but a quick IP check proved otherwise
19:20Shizunless bernstein suddenly moved to NJ
19:20LeonardJanisRobewell, with that nick, i also thought first of bernstein :)
19:20vlad-k has joined #asahi
19:20djbHe and I both go back a long ways
19:20djbI've used this nick since 1990, no idea about him but it was probably close
19:20djbI'm way less of a dick
19:21jld has joined #asahi
19:21spikebikeheh, mentioning bernstein was like an evoking some summoning spell and he'd appear and rant at you about the much better qmail is
19:21djbuntil he saw me, when he'd start ranting at me about why Red Hat wouldn't ship qmail
19:21LeonardJanisRobewe shouldn't press our luck, better shut up about him :D
19:21titanous has joined #asahi
19:21DarthCloud has joined #asahi
19:22jamadazi has quit [Ping timeout: 260 seconds]
19:22djbhe didn't like when I told him to make it open source and we would
19:22Shizon a more constructive note, how many people here actually own an M1 device
19:22Shiz(m1ni here)
19:22spikebikeI'm pondering a M1, but figure I'll wait till it's at least a little bit useful with Linux.
19:22jonmasonmacbook air should be delivered this week
19:22djbI do not, but I'll get one before there's anything useful to test
19:22numa[m]I feel like a 5 year old hearing titans talk
19:23spikebikegot a mbp i9 which is just terrible CPU wise
19:23* jn__doesn't own an m1, already has enough random computeroo to hack on
19:23Shizi also got the i9 mbp for $dayjob, the compilation times were rather nice ime
19:23LeonardJanisRobei hope to be able to afford one as soon as i've finished my thesis and perhaps then contribute as well
19:23Shizbut my baseline is a 2013 mbp :)
19:24numa[m]<Shiz "on a more constructive note, how"> Nope, possibly I will get one used years from now when the linux experience is stable.
19:24djbWhen it's stable? That's missing out on all the fun!
19:24spikebikeShiz: yeah compiling is fast, but a video conf often makes the fans go into turbo mode
19:24Shizmy m1ni is currently being ~~occupied~~ used by an ffmpeg developer, so all for a good cause :p
19:24djbSome of my best times at Red Hat were helping with ports to the Alpha and the SPARC
19:25Avion[m] has joined #asahi
19:25djbI contributed zero code, mind you
19:25LeonardJanisRobeprecisely, I'm just in the midst of migrating from Arch to Fedora Silverblue "Rawhide", since Arch has been just faaar to stable for being fun
19:25artemistI'm probably going to get one when there's a kernel booting / I find one on sale, I'll make a NixOS overlay for it
19:25spikebikedjb: heh, yeah, I bought a alpha PC (or whatever it was called) when they went on fire sale
19:25davidrysk[m]even with ARCH -testing?
19:26spikebikealpha udb or somesuch
19:26jn__djb: infrastructure and bug reports are just as important
19:26LeonardJanisRobeLast year I still set up some SPARC compute clusters running debian in domX with Solaris in dom0, that was fun!
19:26djb@jn__ indeed
19:26nufflee[m] has joined #asahi
19:26numa[m]<djb "When it's stable? That's missing"> The flesh is willing but the wallet is empty and third world-ly
19:26Shizif other people bugreported my software i'm sure it would be significantly more stable :p
19:26djb@numa[m] Understood, understood.
19:27Shizyay for bugreporting+community
19:27LeonardJanisRobedavid.rysk: I've been running -testing on my workstation for, well testing purposes, for some time and forgot to disable it but didn't notice for a year. so i figured i keep it.
19:27davidrysk[m]since there are more people here now: preferred matrix client that isn't element for macOS?
19:28cdesaiI just keep element.im open in a browser
19:28WhyNotHugo has joined #asahi
19:29nufflee[m]I'm using element.io for the first time but it seems nice so far
19:29x56now that parallels is available on M1, my MBA is getting more use than either of the maxed out 2018 Mini or 2020 MBP x). MBP is just on the shelf, Mini still gets a bit of use for now because it fits better on my workbench and still need Catalina for some things
19:29f4n4tix[m] has joined #asahi
19:30Foxboron has joined #asahi
19:30x56M1 MBA is just categorically better than the other machines for 95% of my use cases
19:30q3k|m(for new element users: settings -> appearance -> advanced -> Enable experimental, compact IRC style layout )
19:30davidrysk[m]Parallels is great, but the ARM64 emulation in Windows stinks
19:30davidrysk[m]Then again it's really new so
19:30q3k|m(also smol font size and fixed width font go a long way)
19:30konstanter has joined #asahi
19:31marcan has joined #asahi
19:31Avion[m]<davidrysk[m] "since there are more people here"> [Seaglass](https://github.com/neilalexander/seaglass) was really promising, but there hasn't been any development on it since 2019. Element client is the best we have for now.
19:31x56hey davidrysk[m]! I'm curious whay issues you've had with the emulation, I spent a bunch of time playing x86 steam games over the holidays in a Windows VM without issue
19:32davidrysk[m]I tried installing Autodesk Inventor and Solidworks
19:32davidrysk[m]both failed during install
19:32x56ah damn :/
19:32davidrysk[m]both require x86_64
19:33x56ah gotcha, I guess I was using 32-bit stuff primarily
19:33sven has joined #asahi
19:33dhewg has joined #asahi
19:33davidrysk[m]what fails? various MS-redistributable Windows dependencies. My guess is that there are still MS bugs in handling dependency/library installation\
19:34Shizmarcan: wb :p
19:36numa[m]<davidrysk[m] "since there are more people here"> In the same spirit, any feature complete and lightweight matrix client in Linux?
19:36numa[m]besides element ofc
19:37LeonardJanisRobe<numa[m] "In the same spirit, any feature "> the only feature complete irc client that's not irssi or one of the other classics is Konversations. lightweight, if you have a KDE desktop :-)
19:37LeonardJanisRobeMost others don't support things like custom certificates and login with cert
19:38jjanzic has joined #asahi
19:38artemistA lot of that isn't necessary but weechat works well enough
19:38akemin_dayo has joined #asahi
19:38davidrysk[m]marcan: regarding copyright policy: how is code developed for other projects that require a CLA handled?
19:38snowlake[m] has joined #asahi
19:39davidrysk[m]that require a CLA for upstream inclusion **
19:39nkaretnikov has joined #asahi
19:40nemith has joined #asahi
19:41burra has joined #asahi
19:42marcandavidrysk[m]: I'm not aware that we'll have to contribute to any such projects, if we do we'll figure it out at that point
19:43Axenntio has joined #asahi
19:43flokk has quit [Quit: Leaving]
19:44chivay has joined #asahi
19:45Axenntio has quit [Remote host closed the connection]
19:45q3k|mwhat's the plan for tracking 'things to do' as a community? i know i would like to at some point chip away at something in this project (that's not strictly in a blocking path for larger efforts), but i'm not sure how much time i would have for reliably following IRC/project updates. i'm not even sure that sort of help will ever be needed.
19:46davidrysk[m]regarding firmware blobs: I'd expect one would start by documenting them, then using an extractor (e.g. broadcom drivers), meanwhile attempting to obtain redistribution permission from Apple so that they can be included in the linux firmware distribution
19:46marcanmy understanding is that firmware is largely loaded and locked by iBoot before we are called, for security reasons
19:46siriusfox has joined #asahi
19:46Fanfweq3k|m: good point, let's setup a Jira
19:47marcanso with luck we won't have to deal with any blobs
19:47siriusfox has left #asahi ["Leaving"]
19:47Foxboronmarcan: Is packaging going to be discusse in -dev or this channel? Are you plan still to use ALARM?
19:47q3k|m:( not what i meant
19:47Fanfwethis was sarcasm, just to make things clear :P
19:47FoxboronIs your plan* :p
19:48q3k|mFanfwe: yeah but i'm sorry i only got a sarcastic response
19:48q3k|manyway, i'll just assume i'll continue checking in as much as i can
19:48blu42 has joined #asahi
19:48davidrysk[m]Yeah I think you're right about that, which imo is a nice (though not FSF-approved) way of doing firmware
19:48Shizdoon't get started on FSF-approvied firmwares
19:49pg12 has joined #asahi
19:49blu42heya. just dropping by to say asahi.org is dope
19:50ky0ko has joined #asahi
19:51jn__blu42: wrong domain :)
19:51snowlake[m] has quit [Quit: authenticating]
19:51marcan has quit [Ping timeout: 246 seconds]
19:51snowlake[m]1 has joined #asahi
19:51sven has quit [Read error: Connection reset by peer]
19:51marcan has joined #asahi
19:51marcanq3k|m: good point that we should set something up. at least a priori a wiki page would be good
19:53q3k|mi also don't want this to be, you know, unnecessary overhead for people that actually do the damn work - but if there's something that would be useful for everyone, then that would be nice to set up early
19:54m42uko has joined #asahi
19:54Crisco has joined #asahi
19:55sven has joined #asahi
19:56marcanmy IRC bouncer box is flapping and it's 5AM here, so I'm afraid I need to call it a day; I'll catch up on IRC logs (good thing we have those now :)) and reply to folks later.
19:56marcangood night all! and thanks for joining to everyone new!
19:57jn__thanks for you administrative work, etc
19:57bublik_ has joined #asahi
19:58Hexagon has joined #asahi
19:59TheJollyRogerhi jn__! Eee you're here too!
19:59TheJollyRogerholy cow! djb, are.... are... are you THE DJB?
19:59jn__yep yep :)
19:59TheJollyRogergoodnight marcan! Sleep well!
20:00TheJollyRogerI'm excited~~
20:00jn__i already asked. not THE djb of qmail etc
20:00TheJollyRogerOhhh, ahahahaha
20:00djboh ffs
20:00GaveUpa djb, not *that* djb
20:00TheJollyRogerHehe, sorry about that.
20:00djbI'm way cooler than that guy!
20:00jn__thanks for clarifying :)
20:00* djbgrumbles
20:01TheJollyRogerHehehe. And in case anyone asks, I'm not the Jolly Roger who wrote the darknet Opsec Guide either :P.
20:01davidrysk[m]heh, I lost a lot of respect for bernstein after the whole Appelbaum situation and his handling of it
20:01djbI'm the Red Hat djb
20:01* JTLthinks "the" djb is busy with academic students
20:01JTLand being a professor
20:01JTLdjb: I mean, could be still interesting :p
20:01djbI lost all respect for that djb when he started cursing me with f'bombs in a public forum because he didn't like my responses to why Red Hat wouldn't ship qmail
20:02JTLLemme guess, license concerns?
20:02djbbut hey, that was the 90's and now it's a gagillion years later
20:02Foxboron(and qmail hasn't improved)
20:02JTLFoxboron: because djb thinks it's perfect, duh
20:02djb@JTL Yes, as in his license didn't allow forks or any changes he didn't approve
20:03TheJollyRogerNow I see why.
20:03JTLfigures
20:03mogery has joined #asahi
20:03djbThe funny part was we *used* qmail at Red Hat for the support mailing lists
20:03djbit was the only thing that would actually scale to our mailing list needs
20:03davidrysk[m]oh I remember that
20:03spikebikeI was tempted by qmail, up till I took a close look at postfix.
20:03snowlake[m]1 is now known as keystone[m]
20:03davidrysk[m]the license mess
20:03djbIt was seriously the only thing that could handle our load at the time in a reasonable way
20:04JTLif I was djb and had concerns about forks "tarnishing" my image I'd try and license with a license condition that forks neeed to be named differently from the upstream project and have a disclaimer. Mozilla does similar for Firefox.
20:04djbit was good in that way, if you didn't need anything fancy and just needed raw speed
20:04djbbut it wasn't compatible with our philosophy on what we could ship since customers weren't free to fix it and neither were we, actually
20:04Brnocrist has joined #asahi
20:05mah has joined #asahi
20:05djband for pointing that out and standing my ground I was a "f'n asshole" or some such nonsense
20:05djbmany many times, too
20:05davidrysk[m]some people don't like being told that they're wrong
20:05jannau has joined #asahi
20:06JTLKind of reminds me of the attitude of the main Signal developer, oops too soon :|
20:06djbthe funny part was how he'd say he didn't care if we shipped yet, but yet got SO worked up that we wouldn't ship it
20:06djb*it, not yet
20:06JTLIt's 2020 and secure IM is still "meh" :P
20:06JTLer 2021
20:06JTLMy brain is stuck on 2020
20:06JTLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
20:06* TheJollyRogerunsticks the 2020-2021 lever.
20:07mogeryby the time i get used to the new year it's a new new year
20:07JTLHaha fair
20:07JTLI didn't have that problem with 2019->2020, but new decade and all
20:10TheJollyRoger has quit [Quit: TheJollyRoger]
20:10ky0kojust follow the lead of 16-bit-era games developers and say "it's 202X"
20:11prusnak has joined #asahi
20:12LeonardJanisRobeyeah, djb did the "I'm Knuth and you don't change TeX" move, but just with a more dick-ish license and while also not being, actually, Don Knuth
20:12jchillerup has joined #asahi
20:12blu42 has quit [Ping timeout: 245 seconds]
20:12jchillerupJust dropping in to say I'm super psyched about this :3
20:13pdrew has joined #asahi
20:16spikebikeheh, same here, M1 is an impressive CPU, seems a shame to limit it to OSX.
20:16mha has joined #asahi
20:17numa[m]<LeonardJanisRobe "yeah, djb did the "I'm Knuth and"> As far I'm aware TeX is public domain-ish, you just can't call it TeX if doesn't pass his stress test
20:19numa[m]the first line of TRIP (the test) "% This is a diabolical test file for TeX82. Watch your step."
20:19dshep has joined #asahi
20:19LeonardJanisRobethat's why i said "more dick-ish license"
20:20davidrysk[m]it makes the difference between free and nonfree, though
20:20LeonardJanisRobethe spirit is the same "don't taint the name". But while Knuth was about protecting his project with reasonable means, djb is about protecting his ego with unreasonable memes
20:21LeonardJanisRobeanyway, after djb pulled the applebaum shit off, he was more then dead
20:21LeonardJanisRobealso, actually, he became quite a joke in the security world
20:21davidrysk[m]I haven't been following the latest on the joke in the security world part, can you give me a link? :)
20:22FoxboronI don't think he is a joke? His ECC talks at CCC has been popular since then
20:22davidrysk[m]oh, software security, but how about cryptography?
20:23davidrysk[m]I thought he was still respected, in the very narrow field of cryptography
20:23LeonardJanisRobeNoooo, my code ain't broken, you should just increase ulimit for my special code! That exploit is completely the users fault >.<
20:23LeonardJanisRobeFair enough, yes, but I don't think he did do much new stuff there, so mostly respected for what he did... ages ago
20:24spikebikeAFAICT DJB finally let go of gmail, moved on to crypto, and has done quite well there.
20:24LeonardJanisRobeI mean, he covers newer developments as well, but he's far from the leading force AFAIK
20:24FoxboronI think he does novel work in the quantrum crypto field these days.
20:24LeonardJanisRobeanyway, i'm mostly in the software security bubble rn, yes
20:24spikebikeyeah, and seems like many trust his crypto curves more than NIST's
20:25LeonardJanisRobewell, that's not that surprising :)
20:25orbot has joined #asahi
20:25davidrysk[m]well, people stopped trusting the NIST curves after the whole Dual-EC mess
20:26LeonardJanisRobeI mean, even the developers of libdalek use curve 25519 which was proposed by DJB
20:26LeonardJanisRobeBut you usually still wanna kinda stay away from him :D
20:27numa[m]I love hearing drama that's older than me :D
20:27spikebikeall the unreasonableness I associate with him was in his qmail phase. Heard generally positive things since.
20:27davidrysk[m]Again, the Appelbaum situation.
20:27LeonardJanisRobethe unreasonableness is also regarding how to act around other people
20:28LeonardJanisRobehe's had a notoriously hard time with "don't be an asshole"
20:28CriscoI feel like half the Internet has that issue
20:28david1888 has joined #asahi
20:29numa[m]<Crisco "I feel like half the Internet ha"> That's being optimistic
20:29matthewrizaldi has joined #asahi
20:29LeonardJanisRobeFair, but given the time he's had exposure to people one could have thunk he'd learn
20:30Necrosporus has quit [Read error: Connection reset by peer]
20:30Necrosporus has joined #asahi
20:31matthewrizaldi has quit [Client Quit]
20:31LeonardJanisRobeHe's a great mind, sure, but great minds usually don't like to get criticized and told that they should read up on X. That was the issue with qmail, and that's still his issue. it just happens less in crypto :)
20:33q3k|mdjb's crypto is fine
20:33q3k|mbut the way it's been released as code is questionable
20:33q3k|med25519 key/message format is a mess
20:34q3k|mbecause every ed25519 implementation does this differently, and that format was mostly implementation-defined
20:34q3k|mso even as he's moved from doing questionable sweng to crypto, the questionable sweng practices still linger
20:35LeonardJanisRobeI know meany people doing questionable [design] choices, but most of them accept criticism and try to get better :)
20:37* djbis glad his initials could cause such spirited discussion
20:37dgb has joined #asahi
20:38Shizthere'def people who mark his criticism about other curves as FUD, but i dont know enough about the matter to say if there's any truth to it
20:38Ismas has joined #asahi
20:39Ismas has quit [Remote host closed the connection]
20:39Axenntio has joined #asahi
20:39CriscoCrypto is one of those things that I wish I knew more about but feel overwhelmed every time I try to dive into it.
20:39Ismas has joined #asahi
20:40Axenntio has quit [Remote host closed the connection]
20:42mah has quit [Ping timeout: 260 seconds]
20:42TheJollyRoger has joined #asahi
20:44LeonardJanisRobeI've dabbled in crypto and it's definitely fun, at least if you like maths! However, the best crypto often doesn't hold much against rather simple attacks, either against the user or the software around it, in my experience.
20:45LeonardJanisRobeMost security issues I've found related to the usage of crypto, rather than the crypto itself. E.g. different cli APIs between GPGv1 and GPGv2 which resulted in the private keys being publicly accessible
20:45LeonardJanisRobe[insert relevant xkcd here]
20:45TheJollyRogerHeh. Spafford's joke about using encryption on the internet being like arranging an armoured truck to pick up a package left on a park bench comes readily to mind.
20:46brosco has joined #asahi
20:46TheJollyRogerI have near-complete faith that modern, thoroughly-tested, academically studied ciphers are secure. But I feel a lot of the time endpoint security is in a terribly sorry state :(
20:48* TheJollyRogerstarts drowning his sorrows.
20:48CriscoI've written implementations AES, RSA, and other stuff like Diffie-Hellman implementations to learn how it works, but I wouldn't know where to start to try to design new crypto algorithms or really how to evaluate already created ones for security.
20:48LeonardJanisRobeThere's a reason why many security people kind of try to replace GPG as the swiss-army-knife. As it's more alike to a swiss-army-knife with many sharp edges s.t., you mostly cut urself
20:48FoxboronCrisco: seen cryptopals?
20:48CriscoNo, is that a movie?
20:49TheJollyRogerCrisco: well, my programming experience pretty much ends at 10 PRINT HELLO WORLD ; 20 END ; so you're way ahead of me!
20:49LeonardJanisRobeCrisco: Yeah, the implementations of these are astoundlingy easy-ish.
20:49FoxboronCrisco: It's a set of challenges that builds up the fundamentals of crypto by helping you implement the fundamentals, how to break them, and how to improve them.
20:49Criscoyeah, I was surprised at how quickly I could get RSA working
20:49alimj has joined #asahi
20:49TheJollyRogerI was working on writing a manual for GnuPG, and I got about 200 pages deep, but then I realized, I hadn't even covered the entirety of key management in that space, and who the heck is going to read a >200 page document to send an E-mail?
20:49FoxboronLike why AES has different modes :)
20:50mrasmus has joined #asahi
20:50LeonardJanisRobeAnd why are the defaults so shitty
20:50TheJollyRogerThen I just... I sort of just got overwhelmed by it all and sort of set that aside and went to go get drunk.
20:50LeonardJanisRobereasonable course of action, i guess :D
20:50TheJollyRogerI want to finish it someday, just... I feel like getting motivated to do so is really difficult.
20:51spikebikeTheJollyRoger: heh, yeah, I think of GPG as a trap for geeks.
20:51jn__TheJollyRoger: wow, that's a lot of work you did there
20:51CriscoWe're talking about block modes, right? there's not some other AES mode I don't remember is there?
20:51spikebike(even more so than crypto)
20:51TheJollyRoger*hic* It'sh shertainly been a long *hic* ri-ride...
20:51LeonardJanisRobeI think the best way to start is analysing crypto algorithms, i.e., cryptology
20:52crabbedhaloablut has joined #asahi
20:52LeonardJanisRobeHere's some material, I think most of it is bilignual, in EN and DE: https://www.staff.uni-mainz.de/pommeren/Cryptology/
20:52CriscoI've been wanting to learn German for a while anyways
20:52TheJollyRogerjn__: hehehe, yeah, I did put a lot of work into it. I wanted to cover not only the what to do, but more importantly cover the rationale of why because I realized that GnuPG makes the assumption that the user already knows why and won't try to stop them from doing anything stupid... so I had to delve into all that and that's what made things balloon so much in scale and scope.
20:53LeonardJanisRobe<Crisco "We're talking about block modes,"> yup, and basically, the default is basically encrypting each block separately, making all kinds of easy-peasy attacks possible
20:53TheJollyRogerBut the unfortunate thing was that... that's a lot of stuff to cover.
20:53mah has joined #asahi
20:53CriscoYeah, I'm familiar with all the block modes and their different features
20:54LeonardJanisRobeThe course linked is basically pure maths though, it does only barely touch on precise ciphers but mostly looks at specific concepts of cryptography
20:54TheJollyRogerThere's something that upsets me about block cipher modes and GPG, and that's sort of...
20:54LeonardJanisRobee.g., shift, stream ciphers, block ciphers, etc.
20:55LeonardJanisRobeTheJollyRoger: If you need inspiration (and can read German): https://www.hauke-laging.de/sicherheit/openpgp.html
20:56Foxboronthat's fairly old
20:57benjamindc has joined #asahi
20:57jamadazi has joined #asahi
20:57TheJollyRogerOne thing that kind of upsets me about PGP is that we threw every cipher including CAMELLIA256 and TWOFISH into the mixture, but it uses all those ciphers in CFB mode. I find that sort of upsetting because it feels like GCM would be great to have and prevent a whole bunch of ciphertext modification attacks that the MDC doesn't stop. But since it's not in the spec, we can't simply switch it.
20:57TheJollyRogerLeonardJanisRobe: oh cool! Uh... I might have to find someone who can read it to me, I don't know German, so I'd have to find some help.
20:57alimj has quit [Remote host closed the connection]
20:58david1888 has quit [Quit: Leaving]
20:58Criscobest way to learn a language is by using it :P
20:58* TheJollyRogergulps audibly.
20:58LeonardJanisRobeFoxboron it is, but so is GPG :D
20:58Criscothat's true for both programming and human languages
20:59FoxboronLeonardJanisRobe: Stuff changes over 10 years.
20:59LeonardJanisRobeoh, I've had too many of my students who rather read or watch 5h of videos before writing 1 line of code
20:59FoxboronAlso recommends 2048 bits RSA (I don't read german)
21:00LeonardJanisRobeFoxboron sure, but that's why I said he could use it as inspiration, not just translate it ^^
21:00LeonardJanisRobeyeah, 2k was the fancy shit :D
21:00FoxboronThere is probably better material these days.
21:00FoxboronIn english, even.
21:01devinvs[m] has joined #asahi
21:01TheJollyRogerOnce I used OpenSSL and pem2pgp to mint myself a 32 kilobyte RSA key.
21:01LeonardJanisRobeIt's the only I found
21:01LeonardJanisRobeor rather, I didn't really find much better
21:01TheJollyRogerBut using it was kind of difficult because the digital signature files it produced were longer than the E-mails I was sending!
21:02TheJollyRogerI also couldn't fit it onto any of my homemade smartcards (they cap out at 2048, although I've located a supplier that claims they initialize their cards with 4096 capabilities), so I just had to put it in my ~
21:02LeonardJanisRobebut I'm all open for better gpg ressources honestly, despite trying to phase it out
21:02TheJollyRogerI still have some of my work posted. I suppose I could get back to that sometime...
21:02* TheJollyRogershudders apprehensively.
21:03Foxborongnupg isn't going anywhere. Distribution and FOSS is going to use it for decades to come
21:03FoxboronDistributions*I
21:03TheJollyRogerI'm... I'm going to need it.
21:03Ismas has quit [Remote host closed the connection]
21:03MeLoveCookies has joined #asahi
21:04mogery has quit [Read error: Connection reset by peer]
21:04bent_ has joined #asahi
21:04CriscoSometimes I wonder if it isn't a good idea to just get a cabin up in the mountains and disconnect completely from the conveniences of modern technology.
21:05MeLoveCookies is now known as jamesboehmer
21:05pdrewUnabomber
21:05TheJollyRogerCrisco: I'd argue a pirate ship is better! That way you can go anywhere you like on the high seas!
21:05TheJollyRogerAnd spend all your time drinking rum and singing sea shanties~~
21:05CriscoYou can sing sea shanties on dry land
21:05bent_ is now known as RicBent
21:05Criscobut yeah, maybe I should do that
21:05RicBent is now known as RicBent_
21:06CriscoI lived in the Caribbean before. I can go back.
21:06TheJollyRoger~What shall we do with a drunken sailor; what shall we do with a drunken sailor; what shall we do with a drunken sailor, eaaarlayy in the moooorn-ning~
21:08fridtjof[m] has joined #asahi
21:10TheJollyRogerI wonder if there are any signing utilities that can utilize HSMs, smartcards, and such... that'd be ideal. I know that shifting the root of trust into a blobby, opaque little chip from the 1990's that the vendors are curiously secretive about isn't ideal, but it's a whole lot less attack surface than keeping it on a desktop with a lot of extra attack surface.
21:11artemistTheJollyRoger: I frequently just use openssl with the pkcs#11 module
21:11TheJollyRogerI heard that Trezor-Agent was hoping to add support for Signify to their Trezors, which would be fantastic?
21:11TheJollyRogerartemist: hey, maybe I should check that out.
21:11FoxboronThere are many tools that support it, yes.
21:12kido has joined #asahi
21:13TheJollyRogerI'm going to have to figure that out sometime!
21:13TheJollyRogerGonna need to stock up on JCards again, heh.
21:13ml has joined #asahi
21:15OatmealDome has joined #asahi
21:15sharpiro has joined #asahi
21:15Simonx22 has joined #asahi
21:19HeN has joined #asahi
21:21stemnic has joined #asahi
21:21sharpiro_ has joined #asahi
21:22sharpiro has quit [Ping timeout: 246 seconds]
21:23jamesboehmer has quit [Quit: Textual IRC Client: www.textualapp.com]
21:23sharpiro__ has joined #asahi
21:24mah has quit [Ping timeout: 240 seconds]
21:25sharpiro_ has quit [Ping timeout: 240 seconds]
21:26jabamin has joined #asahi
21:27linkmauve has joined #asahi
21:28LeonardJanisRobeI always say, Computers were a mistake
21:28sharpiro__ has quit [Quit: Leaving]
21:29brosco has quit [Remote host closed the connection]
21:29LeonardJanisRobeJared Diamond calls agriculture the worst mistake of humanity I'd say Computers are the second worst.
21:29LeonardJanisRobeSpeaking of, we should have probably never left the trees, or maybe eben the sea. As once the great philosopher [sic] Douglas Adams wrote.
21:31mrasmusTeaching sand to think is definitely the greatest example of humanity's hubris that *I* can think of.
21:31blazra[m] has joined #asahi
21:32jabamin has quit [Quit: Textual IRC Client: www.textualapp.com]
21:32LeonardJanisRobewell, know your enemy, they said. so i wound up studying CS
21:33CriscoArizona is the greatest example of humanity's hubris, but teaching sand to think is a close second
21:40jchillerup has quit [Ping timeout: 246 seconds]
21:40sharpiro has joined #asahi
21:41grumble has joined #asahi
21:41os[m] has joined #asahi
21:45numa[m]obligatory "In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move."
21:48dibas has joined #asahi
21:51henni has joined #asahi
21:54jannau has left #asahi [#asahi]
22:00kakobrekla has joined #asahi
22:02davidrysk[m]"Boot Camp" isn't CSM, specifically — "Boot Camp" is "entire set of tools and drivers that allows Windows to boot on an Intel Mac"
22:02davidrysk[m]it's as much bootloader as drivers
22:03mah has joined #asahi
22:06noneucat has joined #asahi
22:06dstzd has joined #asahi
22:13riker77 has joined #asahi
22:13larbob has joined #asahi
22:16JTLdavidrysk[m]: heh
22:16JTLand I think it was the 2015 that deprecated/removed CSM from the UEFI firmware
22:16JTL2015 MBP that is.
22:17davidrysk[m]do we know if the OS does the RAM training?
22:18undvasistas[m] has joined #asahi
22:18Shizi would be very surprised if it did
22:18Shizhow would it go anywhere without RAM training :p
22:19talisein has joined #asahi
22:20jn__re-training perhaps
22:20jn__to adjust for temperature variations or something
22:21davidrysk[m]I mean — as opposed to the bootloader/bootchain doing it
22:26TonyRedondo has joined #asahi
22:27tpw_rulesdoesn't that imply the bootloader couldn't use main RAM? where is it supposed to put the OS?
22:28mah has quit [Ping timeout: 260 seconds]
22:30davidrysk[m]tpw_rules: the M1 has some undetermined amount of shared cache
22:31damia has joined #asahi
22:32awordnot has joined #asahi
22:32tpw_rulesthat doesn't seem like it would necessarily be enough. and i assume the M1 still supports internet recovery and other heavyweight bootloader features
22:32davidrysk[m]that's implemented with a stripped-down macOS
22:33davidrysk[m]"the bootloader" is iBoot, which is fairly small
22:33tpw_rulesintel macs can do that without disk
22:33davidrysk[m]if you wipe that, you need to use Apple Configurator 2 and another Mac to restore it
22:33davidrysk[m]yeah, M1 Macs don't have that in ROM
22:34damiaThe project has been announced on ycombinator some discussions there https://news.ycombinator.com/item?id=25649719
22:35Shiztpw_rules: it got changed in M1
22:35Shizif you have a completely empty SSD you need to use DFU
22:35Shizno more internet recovery :(
22:35tpw_rulesi guess that's a lot less likely of a scenario
22:36CriscoI wonder why they made the downgrade...
22:36mah has joined #asahi
22:36Criscoalso hi tpw
22:39comexCrisco: because that was based on EFI and there's no more EFI
22:40CriscoAh makes sense
22:40Shizbased in EFI in the sense that it used TcpDxe etc drivers?
22:40CriscoI'm not very familiar with what Apple has changed with the M1
22:40Shiz(aside from obviously well, being a part of the EFI firmware)
22:41mah has quit [Ping timeout: 246 seconds]
22:42comexbut iBoot is very simple
22:43comexfor example, it doesn't even have USB host support
22:44scubasteve1 has joined #asahi
22:47brinly has joined #asahi
22:48max_thrun has joined #asahi
22:49max_thrun is now known as bear24rw
22:49benjamindc has quit [Remote host closed the connection]
22:50benjamindc has joined #asahi
22:50scubasteve has joined #asahi
22:50davidrysk[m]I expect Apple to implement an on-device ROM-DFU eventually, but it's gonna be a while
22:51davidrysk[m]WiFi-ROM-DFU
22:51davidrysk[m]A major thing is that it would mean extra flash, or a protected area of flash that's completely separate from the regular SSD
22:52ransom has quit [Read error: Connection reset by peer]
22:52burra has quit [Quit: WeeChat 3.0]
22:54chuskywalker has quit [Remote host closed the connection]
22:54kevincox[m] has joined #asahi
23:01Namidairo has joined #asahi
23:01jamadazi has quit [Read error: Connection reset by peer]
23:02jamadazi has joined #asahi
23:03doof has joined #asahi
23:20veyron has joined #asahi
23:22Stary has joined #asahi
23:25ransom has joined #asahi
23:26hthh_ has joined #asahi
23:27damia has quit [Quit: damia]
23:28damia has joined #asahi
23:31mofux[m] has joined #asahi
23:37milek7 has joined #asahi
23:37jamadazi has quit [Ping timeout: 264 seconds]
23:45mcnight[m] has joined #asahi
23:58saaam has joined #asahi
…