whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
nyanotech has quit [Remote host closed the connection]
nyanotech has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
<_whitenotifier-2> [glasgow] urjaman opened pull request #776: applet.program.ice40_flash: read done reg if it exists (not if reset exists) - https://github.com/GlasgowEmbedded/glasgow/pull/776
urja has joined #glasgow
urja[m] has joined #glasgow
<urja[m]> Apparently, when you're reading through the codebase to understand how to write applets, eventually you will find something lol (as in, i wasnt intending to touch ice40_flash, i was just reading it...)
redstarcomrade has joined #glasgow
<_whitenotifier-2> [glasgow] whitequark commented on pull request #776: applet.program.ice40_flash: read done reg if it exists (not if reset exists) - https://github.com/GlasgowEmbedded/glasgow/pull/776#issuecomment-2817066888
<_whitenotifier-2> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-776-2b33a4ce78e2d7999e7de90ab705ff981c5d1fce - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/2b33a4ce78e2...692536a02b1b
<_whitenotifier-2> [GlasgowEmbedded/glasgow] urjaman 692536a - applet.program.ice40_flash: read done reg if it exists (not if reset exists..)
<_whitenotifier-2> [glasgow] whitequark closed pull request #776: applet.program.ice40_flash: read done reg if it exists (not if reset exists) - https://github.com/GlasgowEmbedded/glasgow/pull/776
<_whitenotifier-2> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-776-2b33a4ce78e2d7999e7de90ab705ff981c5d1fce - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [glasgow] AaronJackson opened pull request #777: applet.interface.analyzer: allow optional vcd signal names - https://github.com/GlasgowEmbedded/glasgow/pull/777
<asjackson> ^ i saw a while back that there may have been plans to remove the analyzer applet, but i still use it a lot, and do find it quite handy for getting a quick trace of things.
<whitequark[cis]> we had a bunch of bulk editing done recently to port stuff to amaranth 0.5
<whitequark[cis]> typos were inevitable
<asjackson> are these changes welcome to fix the tests? bumps to ubuntu 24.04 and removes python 3.9 https://github.com/GlasgowEmbedded/glasgow/compare/main...AaronJackson:glasgow:bump-workflow-2404?expand=1
<whitequark[cis]> yes
<asjackson> awesome
<_whitenotifier-2> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-777-692536a02b1b1952564465b0ea7317d233eac4d1 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [glasgow] AaronJackson opened pull request #778: Update GitHub Action to Ubuntu 24.04 - https://github.com/GlasgowEmbedded/glasgow/pull/778
<_whitenotifier-2> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/692536a02b1b...466db639c4d5
<_whitenotifier-2> [GlasgowEmbedded/glasgow] AaronJackson 466db63 - applet.interface.analyzer: allow optional vcd signal names
<_whitenotifier-2> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-777-692536a02b1b1952564465b0ea7317d233eac4d1 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [glasgow] whitequark closed pull request #777: applet.interface.analyzer: allow optional vcd signal names - https://github.com/GlasgowEmbedded/glasgow/pull/777
<_whitenotifier-2> [glasgow] whitequark commented on pull request #778: Update GitHub Action to Ubuntu 24.04 - https://github.com/GlasgowEmbedded/glasgow/pull/778#issuecomment-2817127030
<_whitenotifier-2> [glasgow] AaronJackson synchronize pull request #778: Update GitHub Action to Ubuntu 24.04 - https://github.com/GlasgowEmbedded/glasgow/pull/778
_hrld[m] has quit [Quit: Idle timeout reached: 172800s]
<_whitenotifier-2> [glasgow] AaronJackson commented on pull request #778: Update GitHub Action to Ubuntu 24.04 - https://github.com/GlasgowEmbedded/glasgow/pull/778#issuecomment-2817135752
<_whitenotifier-2> [glasgow] whitequark commented on pull request #778: Update GitHub Action to Ubuntu 24.04 - https://github.com/GlasgowEmbedded/glasgow/pull/778#issuecomment-2817136078
<_whitenotifier-2> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-778-466db639c4d552f4bf499c46e362d56f3e1106ad - https://github.com/GlasgowEmbedded/glasgow
getorix[m] has quit [Quit: Idle timeout reached: 172800s]
<_whitenotifier-2> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/466db639c4d5...d32e89038c9a
<_whitenotifier-2> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-778-466db639c4d552f4bf499c46e362d56f3e1106ad - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [glasgow] whitequark closed pull request #778: Update GitHub Action to Ubuntu 24.04 - https://github.com/GlasgowEmbedded/glasgow/pull/778
<_whitenotifier-2> [glasgow] dependabot[bot] created branch dependabot/github_actions/dot-github/workflows/tj-actions/changed-files-46 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [glasgow] dependabot[bot] opened pull request #779: build(deps): bump tj-actions/changed-files from 44 to 46 in /.github/workflows - https://github.com/GlasgowEmbedded/glasgow/pull/779
<whitequark[cis]> here's something really ironic
<whitequark[cis]> i built a system that reproducibly builds Glasgow firmware and ensures nobody can check in a blob that doesn't exactly match the soruce in the repository
<whitequark[cis]> but! the github action that i've used to detect whether the code matches had been maliciously modified with a credential stealer that prints the token (in base64) in the logs https://github.com/advisories/GHSA-mrrh-fwg8-r2c3
<whitequark[cis]> i manually checked it and the token for GlasgowEmbedded org was in fact exposed in the logs in two builds triggered during March 15
<whitequark[cis]> they have a SW1kcGRHaDFZbDkwYjJ0bGJpSTZleUoyWVd4MVpTSTZJbWRvYzE5U1NVaDRlVUoyVGxKMVpuTnJXSFpWUjFaRFNsZzJWR04yYWs1UU0xTXpPVnBaTkVVaUxDSnBjMU5sWTNKbGRDSTZkSEoxWlgwS0luTjVjM1JsYlM1bmFYUm9kV0l1ZEc5clpXNGlPbnNpZG1Gc2RXVWlPaUpuYUhOZlVrbEllSGxDZGs1U2RXWnphMWgyVlVkV1EwcFlObFJqZG1wT1VETlRNemxhV1RSRklpd2lhWE5UWldOeVpYUWlPblJ5ZFdWOUNnPT0= blob in them
<_whitenotifier-2> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-779-d32e89038c9a1c770a51ff83079b1c865144c93e - https://github.com/GlasgowEmbedded/glasgow
galibert[m] has joined #glasgow
<galibert[m]> Ouch
<whitequark[cis]> i did a little incident response just now and the conclusion is that it's fine; the token didn't have enough privileges to do anything but push to the repository, and pushes to even the main branch are gated on pull requests (and are logged in this IRC channel), so it's not like anybody could have done anything with it
<galibert[m]> Principal
<_whitenotifier-2> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/d32e89038c9a...c70f85c78008
<_whitenotifier-2> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-779-d32e89038c9a1c770a51ff83079b1c865144c93e - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [glasgow] whitequark deleted branch dependabot/github_actions/dot-github/workflows/tj-actions/changed-files-46 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [glasgow] whitequark closed pull request #779: build(deps): bump tj-actions/changed-files from 44 to 46 in /.github/workflows - https://github.com/GlasgowEmbedded/glasgow/pull/779
<galibert[m]> * Principle of least privilege ftw
redstarcomrade has quit [Read error: Connection reset by peer]
Foxyloxy has joined #glasgow
Foxyloxy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
Foxyloxy has joined #glasgow
Foxyloxy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Foxyloxy has joined #glasgow
Foxyloxy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Foxyloxy has joined #glasgow
Foxyloxy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
threeflour[m] has joined #glasgow
<threeflour[m]> Oh wow that's wild ~23000 repositories affected
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #glasgow
<asjackson> please excuse my noobiness... i wanted to see if i could add triggering to the analyzer applet, is what im doing possible in the way i am trying to do it?
<whitequark[cis]> oh, so, this is subtle
<whitequark[cis]> you should do print(trigger) after the loop and see if you can notice the error
<asjackson> ooh s-expressions
<whitequark[cis]> yeah, they're actually documented
<whitequark[cis]> well... they're a part of our documentation, since that's how you debug things. they're not intended for machine consumption
<asjackson> very cool - thank you! i managed to get it working, but not in a that i like haha
* asjackson reads amaranth docs...
<whitequark[cis]> I'd suggest initializing your trigger variable to C(1)
<asjackson> ahh... what i did was much more disgusting. used a bool to track whether id set trigger yet :D
<asjackson> ok yeah that's way nicer <3