#dev 2021-12-06
2021-12-06 UTC
Seirdy, KartikPrabhu, Prash, [schmarty], oodani, justSleigh, [fluffy]1, sayanarijit[d], tetov-irc, willnorris, [jeremycherfas], naaekluue`_numbe, P1000[d], [snarfed], [benji], grantcodes[d], [manton], [tantek], [jacky], [jeremyfelt], jjuran, balupton[d], doosboox, [KevinMarks], chenghiz_, IWSlackGateway, jeremycherfas, joshproehl, srushe, edburns[d], lahacker[d], kloenk, gerben, lanodan, benji, wrmilling, klez, BinarySavior, rattroupe[d], edgeduchess[d], daiyi[d], petermolnar, mikeputnam, feoh, sknebel, bneil, Ruxton, moose333, unrelentingtech, MarkJR84[d], eco, push-f, nolith2, Abhas[m], samwilson, LaBcasse[m], rrix, Allie, stevestreza and kogepan joined the channel
# jamietanna[m] Has anyone thought about setting up their IndieAuth server to be an OIDC provider so you can use it in GitHub Actions for something?
# capjamesg[d] What does that entail?
# jamietanna[m] https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect has some info, but still looking at it
# jamietanna[m] It's primarily for cloud providers, where you want to deploy via GitHub actions but don't want to store long-lived credentials in the CI platform
# capjamesg[d] That is an excellent idea jamietanna[m].
# @dletorey The awesome @iamchrisburnell has written a node package to cache #webmentions in @11ty so only the new webmentions are fetched each time and not all of them. #indieWeb
https://chrisburnell.com/eleventy-cache-webmentions/ (twitter.com/_/status/1467793483083747328)
jamietanna joined the channel
# jamietanna[m] Hmm possibly, but https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers doesn't mention any requirements?
# jamietanna[m] Ah sorry yeah that's a good distinction
# jamietanna[m] + correction :)
Seirdy joined the channel
# jamietanna[m] So it looks like this'll be fairly straightforward - it's up to us, on our sites, how to exchange the ID token for the access token, and gives control over what can be done with the token. Not sure if I can think of something right now that'd be useful to do this with 🤔
# jamietanna[m] :D
MrShaheer[d] joined the channel
# jamietanna As an aside aaronpk, looking forward to your talk at APIDays Paris :)
# sknebel aaronpk: as I understand it, a Actions run gets a token with claims about the run (e.g. which repo, who triggered it, ...), which can be given to other parties (like your site in this scenario), who then can validate it and can use the claims to decide which access to give to the build run
jamesg_oca and tetov-irc joined the channel
# jamietanna[m] All good ☺ I prefer prerecorded talks generally, and either way I know it'll be a good one!
# jamietanna[m] But maybe they're using it over just "a JWT" to make it easier for libraries to say they support it?
# vikanezrimaya since when indieauth has PKCE? >.< I'm currently implementing client sign-in for private feeds
# vikanezrimaya that definitely wasn't in the spec last time I implemented it
# aaronpk vikanezrimaya: this might be a useful post to review! https://aaronparecki.com/2020/12/03/1/indieauth-2020
# vikanezrimaya aaronpk: thank you
# @katebevan Dear God. If you needed another reason to stop using SMS for two-factor authentication, this is surely it. https://twitter.com/jamesrbuk/status/1467782665206214657 (twitter.com/_/status/1467790845260750854)
# vikanezrimaya <aaronpk> "i don't really see what that has..." <- then you're probably using 2FA properly, without SMS 🤣
# vikanezrimaya eh, PKCE was just two imports and 7 lines of code to generate
Ramon[d] joined the channel
# vikanezrimaya now I have to debug endpoint discovery because it doesn't work :c
# vikanezrimaya I even for a moment thought it's my implementation at fault and tried to run the discovery algorithm on aaronpk's website
# vikanezrimaya nah, didn't work
# vikanezrimaya does anyone publish their IndieAuth authorization_endpoint in a Link: header? I need to test it out with a wild implementation
# vikanezrimaya oh, nevermind, aaronpk does
# vikanezrimaya and it didn't work still
# vikanezrimaya I wonder if I should make PKCE mandatory in my implementation when I start making it
# vikanezrimaya (it'll happen somewhere at the start of 2022 or slightly earlier)
# vikanezrimaya Good point, I should probably do that
# Loqi capjamesg: [chrisaldrich] left you a message on 2021-08-25 at 3:05pm UTC: I notice in your line width post you've got some CSS that targets the `e-content` microformat. Experience (especially in WordPress and other large, shared code bases) has shown me that it's better practice to add another class at the same level to target for CSS and display and let the microformats only serve a semantic function. There's nothing functionally wrong with it, but it's a small thing that's worth
# Loqi capjamesg: [chrisaldrich] left you a message on 2021-09-07 at 11:10pm UTC: you're looking for a fun micropub related server project outside of just for your own site, I've always thought it would be fun to build a brid.gy like micropub service (perhaps using Granary as a translation layer) that would take a feed input (RSS, Atom, h-feed, JSON feed, etc..) from silos and create a micropub post to anyone's site as a means of universal PESOS to a variety of indieweb sites.
akevinhuang joined the channel
# vikanezrimaya why the heck is `Set-Cookie` not working
# vikanezrimaya I do `Set-Cookie` on a 302 redirect and it is not working
# vikanezrimaya is it too long?...
# vikanezrimaya ...634 characters
# vikanezrimaya AHA
# vikanezrimaya SameSite=Strict hides cookies on redirects!
# vikanezrimaya Clever!
# vikanezrimaya turns out DevTools has a cookie explorer that can show cookies that are hidden due to security requiremenets
# vikanezrimaya s/requiremenets/requirements/
# Loqi ok, I added "https://www.sqlite.org/mostdeployed.html" to the "See Also" section of /SQLite https://indieweb.org/wiki/index.php?diff=78174&oldid=77819
[jgmac1106] joined the channel
# Loqi It looks like we don't have a page for "security codes" yet. Would you like to create it? (Or just say "security codes is ____", a sentence describing the term)
# [tantek] aaronpk ^ that's what it has to do. "security codes" are a more user friendly term for 2FA. See also screenshots in the article: https://www.thebureauinvestigates.com/stories/2021-12-06/swiss-tech-company-boss-accused-of-selling-mobile-network-access-for-spying
# [tantek] also, read the article: "In at least one instance, a phone number associated with a senior US State Department official was targeted in 2019 for surveillance through third party use of Mitto’s systems, according to documents reviewed by the Bureau and a cybersecurity analyst familiar with the incident"
[Joe_Crawford] and [jacky] joined the channel
# Loqi It looks like we don't have a page for "microsub extensions" yet. Would you like to create it? (Or just say "microsub extensions is ____", a sentence describing the term)
[chrisaldrich] joined the channel
# capjamesg [tantek] Does this qualify for the calendar? https://github.com/capjamesg/python-indieauth-helpers#usage
# [tantek] capjamesg very close! per https://indieweb.org/2021-12-indieweb-gift-calendar#Considerations (which I'm now realizing could be more readable themselves) ...
# capjamesg[d] The usage section is a bit better at describing what the module contains.
# capjamesg[d] It’s two functions. One function returns any endpoints you need from a URL. The other does some callback work.
# capjamesg[d] Problem? It takes away a lot of the repetitive code you might write when implementing a sign in flow.
# capjamesg[d] Yeah, the docs need work.
# capjamesg[d] I’ll be implementing it across all of my modules for endpoint discovery and callback management.
# capjamesg[d] A why statement would be a great idea.
# capjamesg[d] I’ll add one tomorrow!
# capjamesg[d] [tantek]++
# capjamesg[d] Yep. I’ll add some docs to make that clearer.
# capjamesg[d] Indeed. This is my second Python package so forgive the docs.
# capjamesg[d] I would recommend the library for anyone who doesn’t want to write the code to get a HTTP / link header or who wants to validate a /callback response from a server.
# capjamesg[d] I’ll also add a “why not” section.
# capjamesg[d] There is already a library for protecting resources with IndieAuth verification and this is not it.
# @TheGreenGreek ↩️ Also everything else was about performance and this was my "fun" talk about eleventy and webmentions :) (twitter.com/_/status/1467934649120866308)
jjuran joined the channel
# capjamesg[d] Good call. I hadn’t thought about breaking that out as I use similar logic for Micropub and Microsub endpoint discovery in other places.
# capjamesg[d] I need to change a message too.
# capjamesg[d] (This is very preliminary. I don’t consider it released quite yet.£
jjuran joined the channel
# capjamesg[d] Thank you for the feedback [tantek]++
# capjamesg[d] I really appreciate it!
# capjamesg[d] I could break out my webmention validation logic too. Oh, exciting!
# capjamesg[d] This has the potential to remove a lot of code from my services.
# capjamesg[d] While I’m at it, I wonder if I should turn my PTD code into a library.
PeterMolnar[m] joined the channel
# [schmarty] buildingblocks++
# [snarfed] capjamesg re feed-to-Micropub, check out https://snarfed.org/2015-01-22_pesos-for-bridgy-publish, feedback is welcome!
# capjamesg[d] I also have an authorship discovery implementation… but for now I’ll just work on getting the endpoint discovery function, which I’ll probably make it’s own package, working.
# capjamesg[d] [snarfed] good idea! I spoke about this briefly earlier in the year. It will be quite a bit of work and doesn’t suit my web use now. But I see the value.
# capjamesg[d] Indeed.
KartikPrabhu and balupton[d] joined the channel
# [KevinMarks] Authorship inference?
# capjamesg[d] What is authorship discovery?
# Loqi It looks like we don't have a page for "authorship discovery" yet. Would you like to create it? (Or just say "authorship discovery is ____", a sentence describing the term)
# capjamesg[d] Ah, it’s called the Authorship Specification. I couldn’t remember the name.
# capjamesg[d] I like that phraseology [KevinMarks].
# Loqi authorship is how to indicate who the author is for a post, and an algorithm that determines the author of a post https://indieweb.org/authorship
# [tantek] authorship discovery is /authorship
gRegor joined the channel
# [tantek] for the next time anyone suggests using XML to build something instead of HTML: https://www.adamhyde.net/one-enormous-step-at-a-time-now-jats/
KartikPrabhu1 joined the channel
# capjamesg[d] +1 re: phrases.
KartikPrabhu and kimberlyhirsh[d] joined the channel
# vikanezrimaya > Why is this a better solution than an XML editor? Well, the approaches I have seen where folks use an XML editor is that you must already have XML to load into it.
# vikanezrimaya this is why I was afraid of android-studio
# vikanezrimaya because it required XML for views (I didn't know back then that I could just create views completely programmatically, and Jetpack Compose didn't exist as Kotlin wasn't even developed yet)
tetov-irc, lanodan, kloenk and Seirdy joined the channel