#dev 2025-02-21

2025-02-21 UTC
ttybitnik and [benji] joined the channel
#
[benji]
[gRegorLove] nice! Happy it was a relatively easy fix
[tw2113], btrem, grufwub, CRISPR, geoffo, nemonical, jak2k, parnikkapore_x, GeneticJen, [qubyte], NaomiAmethyst and ttybitnik joined the channel
#
[jeremycherfas]
Huffduffer front page OK for me, but my tags too are missing.
oodani, nemonical, MyNetAz, jak2k, ttybitnik, jak2k1, doesnm, gRegor, thegreekgeek, [aciccarello] and small_cypress joined the channel
#
livebay
Hello, I have questions about d3.js... I wanted to add links to the label text, like this <a><text></a>, but it didn't work. The <a> tag did appear, but I couldn't click on it
ttybitnik joined the channel
#
[morganm]
Could you post a code snippet of the full code ? Your phone example seemed like a sample
#
[morganm]
Code example*
#
gRegor
Do you have `href` attribute on the links?
#
gRegor
what is d3.js?
#
Loqi
It looks like we don't have a page for "d3.js" yet. Would you like to create it? (Or just say "d3.js is ____", a sentence describing the term)
#
[tantek]
what is d3
#
Loqi
It looks like we don't have a page for "d3" yet. Would you like to create it? (Or just say "d3 is ____", a sentence describing the term)
jak2k and [dave] joined the channel
#
livebay
I could only click on the link when <a> is surrounding the node, not the label
#
livebay
[morganm]: I was looking at this one: https://codepen.io/Prakarsha01/pen/JjqymVR, but I want to change it a bit, adding the links and stuff
#
livebay
gRegor: yes! I have it like <a href="" target=""><text>title here</text></a>
#
livebay
```.append("a")
#
livebay
.attr("target", "_blank")```
#
livebay
.attr("xlink:href", function(d) { return (d.href); })
#
gRegor
Not familiar with d3, but my first thought would be to try `console.log` in that function to see what `d` is and if `d.href` is what you're expecting
#
[tantek]
can I get a quick review of https://tantek.com/2025/052/b1/steps-indieweb-cybersecurity for any errors, confusing bits, bad links?
#
[Joe_Crawford]
Why not just `.attr("xlink:href", d.href)` - I mean the code would be in an SVG right?
#
gRegor
[tantek], looks good! interested to hear more about the hardware key, though I can venture a guess
#
[tantek]
yeah the clue is right there with international travel
#
[tantek]
my goal is to publish every week (that I'm in town) at 13:37 (or create the post by then) and syndicate to IndieNews. Let's see if I can make that next week as well
#
[tantek]
I have LOTS of learnings turned tips to share
#
[tantek]
My plan is to share them in brief, takes only a few minutes to do, chunks so people stop and do them right away hopefully, rather than filing them away "to do later"
#
gRegor
Double checking my Gmail account right now
#
gRegor
Woo, 100% on the checklist for this post :)
#
[tantek]
gRegor++ congrats! you get a ⭐ 🙂
#
Loqi
gRegor has 31 karma in this channel over the last year (115 in all channels)
#
[tantek]
how long did it take you to check the checklist?
sebbu joined the channel
#
gRegor
Well I knew my Dreamhost and Gmail had 2FA on with the authenticator app, so just a couple extra minutes to double check I didn't have SMS as an option.
#
aaronpk
google keeps bothering me to add sms, and i'm like no
#
gRegor
And I guess a couple more minutes now to check I have my backup codes offline
#
gRegor
No hardware keys yet, though I've been curious to look into those
#
aaronpk
hmm, i have too many hardware keys, i should probably do an audit
#
aaronpk
i already had 2fa authenticator codes on my email/registrar/web host, and no SMS ✅
#
capjamesg[d]
aaronpk Is it worth having a second hardware key?
#
aaronpk
yes, in case you lose one
#
aaronpk
most places that you can enroll a hardware key will let you enroll more than one
[snarfed] joined the channel
#
[snarfed]
...or at least, some backup plan that's as secure as the hardware key
#
[snarfed]
often that's another hardware key, but it can be something else
#
capjamesg[d]
That was my impression but I didn't know for sure.
#
[tantek]
I'd flip it around, use an Authenticator app first, and then consider a hardware key you keep somewhere physically VERY "safe" as a backup plan
#
aaronpk
ultimately it depends on which types of authenticators the services support, but yes that's the more practical version
#
[snarfed]
the benefit of a hardware key that you lose from an authenticator app is phishing resistance
#
[snarfed]
you can get that from other methods too - password manager (if you only let it autofill!), phone/app prompt, passkey, etc
#
[tantek]
yeah phishing resistance is another aspect I agree. IMO browser pw manager autofill is the preferred way to do that
#
[tantek]
passkey-- for all the proprietary / centralization pressures it has placed upon the ecosystem
#
Loqi
passkey has -1 karma over the last year
bterry joined the channel
#
capjamesg[d]
It has gotten more confusing to use hardware keys.
#
capjamesg[d]
1Password intercepts the webauthn call asking if I want to use a passkey in their software.
#
capjamesg[d]
But I don't! I want to use a hardware device.
#
capjamesg[d]
I have to click on an icon in 1Password to let the browser handle it.
#
capjamesg[d]
I recall that sometimes it goes to Apple though and they ask me to use a passkey with Touch ID, then I can click 'Other options' or whatever and select hardware key.
#
[snarfed]
hmm! 1pw doesn't do that to me. wonder if I turned off a setting somewhere
#
aaronpk
yeah i don't mind that because most of the time i want to set up a passkey in 1password, not a security key
#
aaronpk
i think the passkey rollout was a bit bumpy, but it's already better now and is heading the right direction, and solves more problems than it creates
[schmarty] joined the channel
#
[tantek]
The more pieces you introduce, the more confusing you make it, and the more you increase the chances of a security failure
#
[tantek]
aaronpk, I am not convinced that passkey solves more problems than it creates
#
[tantek]
I think, on the margins, its marginal costs in complexity and long term centralization (control/leverage) risks outweigh any marginal benefits it brings
#
aaronpk
gotta stop using the centralization argument, the credential exchange protocol was published in october last year https://fidoalliance.org/specifications-credential-exchange-specifications/
#
aaronpk
phishing-resistant authenticators are good, hardware keys are phishing resistant but cumbersome to use, passkeys are easier to use phishing resistant authenticators
#
[snarfed]
or, maybe another angle on that is, the initial passkey rollout hasn't been ideal either UX or decentralization wise, but there's nothing technical blocking us (everyone) from improving on both of those
#
[snarfed]
so hopefully we don't give up on the whole idea because it wasn't perfect out of the gate
#
aaronpk
yes that
#
[tantek]
yeah I'm ok with that telling folks "wait and see" for passkey
#
[tantek]
also fine opting out of the beta-test focus group, and certainly telling everyone I know who does not work in tech for a day job to similar let others sort out a better UX and high multivendor ecosystem and passkey portability across systems, devices etc.