2026 10 16 audio: Hello, my front-end friends, and welcome to General Musings. My name is Kevin, and here at this podcast, I talk about whatever is front of mind for me in any given week, usually in some way that's related to front-end development, and usually some way it's related to CSS, but we're diverging from that a little bit today, though it's definitely related to development, in that we're going to talking a little bit about security in this episode. A little bit of housekeeping before we get to that, though. A few things that I I want to mention. First of all, if you like what I talk about here and you're not already on my newsletter, though I suspect you might be. The type of thing I talk about here, the introduction to my newsletters are often of a similar vibe. So it might be something that you are into, then you can definitely check out the newsletter. The link for that is down below. And the other thing I want to mention is that I will be speaking at Beyond Tellerand in April. So I'll put a link to that as well. The speaker lists is slowly growing right now. It looks like it's gonna be a really fun event that I'm really looking forward to so if you're interested in either one of those the links for everything is down in the description slash show notes, however We want to do it in podcast form. And with that out of the way, though, we're gonna jump into today's topic where I'm asking the question are PASKES a security win for users or a way to gradually lock people into software ecosystems? And I guess the in in one way the answer of this could be yes to both of those. you know, it's not one or the other, it could be just yes, it is potentially going to do both. And the reason I'm bringing this up at all, and this is definitely a little bit different from the type of thing I normally talk about here, but I'm Talking about it because there was an article that hit the front page of Hacker News over the last weekend. And the title of that article was Passkeys Are a Trap. Do not use them. And the premise of the article is that while passkeys are a better feature than passwords, because I think everything that comes to security is probably a better solution than passwords, right? But one of the features of pass keys, a specific feature that the author is talking about, they say that it Could let sites restrict logins to approved software. And that means potentially locking people into approved platforms like operating systems and PASCE managers, and even potential browsers, and I guess with that, maybe even other software as well. And I've been using PASKIs for a while now on a number of sites that allow them. And I've sort of liked it. And was kind of surprised at the premise of the article. but all of it, as I said, is mostly built around looking at one feature of pass keys, which is attestations. And that, of course, then begs the question of what even is an attestation. Right. And I'll before I get into any of the technical parts here, I just want to say that if you are interested in actually knowing this at a deeper level, go and check out the article. It will be linked in the description. just because They really go in depth on a lot of the things I'm going to be doing a very surface level breakdown of in this video, just to keep things nice and simple. And just to make sure we're all on the same page before we get into attestations, is I think it's important to understand how pass keys work in general, at least again at a surface level. where whenever we make a pass key, when you go to a site and it's like you go to create it and it through the step, what it's doing is it's creating like a matched pair. And this isn't the best analogy in the world, but it's the best one I could come up with. Where it's sort of like you're creating the website has like a lock and you have the key, and your device is the key itself. So it's essentially like the two halves that have to match up to actually get into wherever we're trying to access. And the important thing here is unlike a password, which is a different type of key, I guess, but when we use passwords, we have to type in the password, hit submit, and it sends the password over to the server, and then we go through everything. security is complicated. Again, I'm not going too deep on this. But when we're using pass keys, the key itself never leaves our device, right? So there's nothing to fish here. There's no ways that we could leak a site. You know, there's the passwords leaking from a database because the database isn't hashed or whatever it is. We have one thing here, one thing here, and then they see if they match up. And even if we make a fake version of the website, the lock that we're trying to unlock isn't going to be an exact perfect lock version. The second half isn't the exact version. So the key that we have can't actually unlock that. So there's never if there's any mismatch whatsoever, it's not going to work. And so again, much safer than passwords. And it's something where phishing just can't happen. the you have to go into like really advanced techniques. And we're going to talk a little bit about that of ways that you could potentially sort of circumvent some of the security around it. But it's much more involved and much more sophisticated. And for most things, is something you'll never actually have to worry about. But going to that idea of like the key that's being created on our computer, when our device makes that key, the site can know who made that key and even like what kind of key it is, the operating system, if all this like metadata can be embedded in the key. And that's what attestation is, is when we're adding all of that extra data into the key itself. But the thing is, most keys don't use attestation. Most keys are non-attested and it's sort of like an honor system. Where your passkey software tells the site things about itself. It says, you know, this is who I am and this is where this was created. And no, this can't be copied. This is a unique key. But all of that information is just an honor system. The the the site that is getting that information just takes the word for it. It's like, okay, cool, thanks for letting me know. And as the author of the article we're talking about here, they even say that they mention that you could, you know, go and vibe code your own. passkey software if you wanted to, and that your passkey software can lie about whatever passkey features you'd like. And this could be used for maybe you want to share passkeys with people, but you could tell it that, no, this is a non-sharable passkey that actually is shareable, because then you could, you know, pass it off to your friends and everybody's logging into Netflix type of thing, using a pass key that is non-sharable. And that's obviously where a test station comes in. As I said, we're embedding a bunch of metadata into the key itself. It's like a if we're talking about the key analogy again, it's like it's coming with a stamp of approval directly into the key that has a bunch of information in there. In this case though, instead of from like a key maker, whatever we're talking about there, it's actually going to come from the device's tamper proof chip on your computer. And the site, when you're logging in, can then check to see if the stamp is real. And that type of thing cannot be fake. And the type of things that this can check for are things like are you using an approved pass key manager and not some custom one that you vibe coded, like I mentioned before? But it can go beyond just checking what pass key manager you're using. It can also look at the operating system you're using, firmware versions, and a whole bunch of other things as well. Any one of those fail, then it will refuse the login. And so you might be wondering, are do we just use a testation for everything? But Actually, no, for most things you're doing do not have attestation involved. We're using non-attested keys. And the first thing that you might be thinking is that sounds kind of insecure, right? The more I learned about this, I'm like, we have a very secure version and a less secure version. Shouldn't we just be always using the secure version? At least in terms of you know, it we're talking about passkeys that are better than passwords, so why not do that? But the thing is, most of the time we really don't need attestation in our keys. The idea of the site verifying where the key was made and what operating your system on and things like that, that's not really what's protecting your account. The place we're logging into has like the public half of our key or the lock, like I was saying before, and your device has the private half. And those always have to match up. No matter how it was created, we need those to match up. And that's what keeps things secure because It's completely unique key every single time, despite however it might have been created. And for most of the things that we're using this for, that is perfectly secure and will never run into any issues. And pass keys are tied to the website's domain. And is this directly from the author of that article where they say they're in most use cases domain bound, meaning they are resistant to what are called man-in-the-middle attacks. And when it comes to the key itself, not being able to be leaked and other things like that, the part we have. That's because they're safe on your device and they come from hardware backing, not from attestation. Attestation doesn't keep the key itself safe, it's just providing extra information. So, like again, here the author says, even if your device were hacked, the hardware backing features described above make it impossible for the pass key to be exfiltrated from your device. So this idea of attestation, it's not about extra safety for you and the key or anything like that. The extra safety is for the site itself and who's actually able to log into the site. And it does this because, as I said, it can be sure exactly what created the key, who created the key, where it was created, and all of these other types of things. And this matters not for logging into GitHub or your social media accounts. This matters more for when we have systems that need to be a little bit more, maybe not systems, but setups. And situations where things need to be a little bit more locked down, not just ordinary logins to be a bit more secure. So think about like say you have a bank or something like that where people might be trying to get in and steal some data. In situations like that, the author says: by using a website that requires attested pass keys, you can be sure you stay safe from accidentally installing a scammer's fake passkey application that steals your data. That's where things start becoming a little bit more interesting on that. And I think most people aren't going to be installing. A fa fake PASCE creator to log in again to their GitHub. They're gonna just you, you know, you open your browser, you're going there, it goes, do you want to create a PASCE? And you click yes. Where this actually might come in use is let's say a bank, as I said before, or a law firm, or in any other situation where you might have managed devices. And this ensures that staff can only get into client files from firm-issued on-tampered laptops. So if a comp you have a compromised laptop or a personal machine that's running. modified software, then the site C the PASCI isn't from an approved setup and it refuses the login. And in cases like this, the firm or the organization, the corporation, whatever it is, they set the rule for its own staff and its own client data to make sure everything is really locked down. And I think in cases like that actually makes a lot of sense. But as I said, the author's worry has nothing to do with these types of cases. So what is the author actually worried about? Well, it's the thing that a regular site or app you use on your own device can all of a sudden decide what software you're allowed to run. Right. Because that same thing that I just mentioned about the bank or the law firm requiring certain requirements to be able to log in. Right now that's not a thing, because most things you're logging into don't actually require a testation. But what if they all of a sudden flip a switch and The author gives the example of what happens if they don't approve of Linux. Or maybe you've decided to load a different operating system onto your phone, like Graphene OS or something, because your phone is old and you don't want a new one and you're not getting security updates anymore. So you decide to load in a different operating system. And then all of a sudden, all those sites you were logging into before with pass keys stop working. And it wouldn't be all of your sites. It would be maybe the ones you had a Pixel phone before, a Google phone, some something running Android, and They want you to keep using Android if you're logging into Google services and all of a sudden you can't get into those Google services that you were using before. And taking that a step further even, which is I think the the most interesting part of his argument, when he says that he gives the example of uBlock origin getting removed from Google clone. And they say with remote attestation, they can prevent me from using any other browser that doesn't follow suit. And yeah, that's That is a little bit worrisome, right? That that's not something that we would want to be happening. The thing though is right now this isn't a problem. And they don't even say this is a problem. They say this might be the problem that could happen. They can flip the switch, perhaps not all at once, perhaps just for 10,000 users at a time, so as not to cause a fuss and start rejecting non-attested passkeys. And yeah, I guess that technically could happen, right? The problem as I went through this article that I was having is it did. Come across a little bit of like a conspiracy theory type of thing. But and they even said, like at one point, like get your tinfoil hats on. So they obviously realize that. But the main worry seemed to not be about the fact that attestation is there, but that the so for the people who create or who are in charge of the standards for this type of thing, it's called the FIDO Alliance. And it's the this is the standards group that's behind passwordless logins. And it's made up Mostly of very large companies that most people don't trust, banks, which I think people know are in it for themselves, and government offices, which again, maybe don't always have our best interests at heart, or at least people have a tendency to distrust large companies, banks, and government offices. And on top of that, he actually compares it to the W3C in saying that. it's notable that no consumer advocacy groups are members of the FIDO Alliance, because the W3C does have consumer advocacy groups that are part of it. He says that because of that, nobody is there to make a strong case for the user's own interests, and they can use pass keys to prevent you from running on approved software. And yeah, I I get the idea that like big companies might be in it for themselves. That totally sounds possible. But their argument isn't that like this is something that could happen because it's the big companies there. They actually say that they think this was the Thought process from the very beginning. At least that's what I read into it. And I think that's where it's going a little bit too far. I think it could be something that in the long term becomes an unintended consequence, but this really feels like a feature that was built into this with a pretty specific purpose of dealing with areas that need that heightened security versus the regular day-to-day thing. And it I I guess. At least in my own opinion, creating one system that can handle both is probably a lot simpler than creating two completely separate systems. And so, like to me, a little bit of this comes down to like an Occam's razor, because the other thing they did mention in the article is that we already have solutions that solve the security problems, with two factor codes being one of them. They say the SMS one, but I I think we all know that's not a I you know, there's a lot of issues with that. But of course, then they mentioned T O T P, which is the time based one time passwords. Which the ones you have your authenticator apps for, right? Where you get your six-digit number that's every 30 or 60 seconds gets reset. and that is super secure. I think it's one of those things that definitely is secure. But the problem is getting buy-in on that is really hard. I use it for a ton of stuff. And every time I open something where I need it, I'm like, no, no. You have to get your phone out, get to the right one. It's like it's a pain in the butt. And I'm doing it because I know security is important. I have a lot of things I don't want. To make I want to make sure they're secure. So I'm very happy using it, even though I'm annoyed every time I have to. But if I look at someone like a regular user, my wife, for what she does, like she has to use it at work because they enforce it, but for so many things, they don't. And even like bank, I find the crazy thing to me is like banking apps, how I might I don't need it for my banks. And I'm like, I don't even have SMS. Like there is no 2 FA. Anyway, maybe they've added it. I don't think there is. I actually my I've moved to another bank and they do, but the two older ones we were using didn't. And it seems in general banks are like the least secure, which to me is kind of wild. But yeah, to me, the idea with pass keys when I was talking about Occam's razor is what's a way that we could create a very simple way that all users could get on board with without really having to think about that is extremely secure. And I think pass keys sort of get there. there seems to be some flaws in it because people get confused over them a lot from what I've seen. And I know from a technical perspective, they're kind of weird. And there there's some issues there as well that I've seen lots of people getting questions from. but yeah, I just I think t the TOTP is a good solution, but it's an annoying one. And I think to get large-scale buy-in, we need something a little bit better than that. And I think from all these big companies' perspectives, fraud is a big issue. Well, big companies. banks and government agencies and all of that, like fraud is a huge problem and leaking passwords is a huge problem. And even if you're not leaking, you know, you have a secure database, someone's reusing their password that they used everywhere else, and those things are going to leak, and then you run into problems. And so coming up with a way to make sure that these things don't keep happening is let's get off of passwords and find something that most people will actually get on board with. Cause I have a feeling they already know that the Unless you say people have to use the TOTP, they're not going to do it, at least at a large scale. And I think that's where things are most important. And also looking at the big companies, like I look at Apple, who is probably one of the biggest ones who tries to enforce vendor lock in. And currently you can't they they don't let you require Attestation for unless it's a managed device. Like they they have a setup. So if you're setting things up with managed devices, companies can set it up to require a testation to have the pass keys required to log in and those types of things. But if you're just doing a third-party website for you know, someone wants to go and log into that, they don't actually allow you to use a testation from everything I've seen going through the docs. It's not super clear if I'm wrong. Please leave a comment to let me know below. And I guess the big point of all of this is could Apple change their mind, or could these other companies that currently aren't requiring it change their mind? And of course, they probably could. But I still think that they're solving a very big problem for these companies, and maybe it just ends up becoming an unintended consequence. And I really hope that doesn't happen. but yeah, I don't know if it will, but it's not something I'm really going to start worrying about right now personally. But I would love your thoughts on this. Do you even use pass keys? Do you like PASKES? Do you prefer other methods? Are you n did you ever think of this before? Because I know this isn't the first time this has come up. so if you ever thought about this before, if you haven't thought about this before, are you worried about it now? And also just do you like me talking about things like this on this channel? Because this is something that not really in the realm of what I normally talk about, but it was an article that piqued my interest and I wanted to talk about it some more. And and finally, if you did like all of this, also the first link just below this is to my newsletter. So if you like this type of thing, you probably like my newsletter, so you can go and check that out. And with that, I'm gonna say thank you very much for listening. And of course, until next time, don't forget to make your corner of the internet just a little bit more awesome.