5 comments

  • BoppreH 22 minutes ago

    Love these "lessons learned" posts, keep the coming!

    My only feedback is about the Quickstart of passkeybot, "feed this example into a good LLM with these instructions". I undeerstand the idea, but I was a bit shocked that the first time I see these sort of instructions is for an auth framework.

  • ChrisMarshallNY 19 minutes ago

    Thanks for that!

    I am in the middle of writing a passkey-driven server dashboard app (native SwiftUI app, with a small server component).

    In the future, I would like to use passkeys as much as possible, but they do present a bit more friction to users than Sign in with Apple. When I was initially learning them I wrote this up: https://littlegreenviper.com/series/passkeys/

  • tptacek 4 minutes ago

    Regarding PKCE, the way I remember it is that OAuth2 was deliberately designed to eliminate as much actual cryptography as possible, relying instead on same-origin and TLS security; PKCE is one of the few things that introduces an actual cryptography primitive.

  • loloquwowndueo 20 minutes ago

    How to add passkeybot support to your site, according to their official guide:

    start

    (1) Copy / paste example_http_server into your LLM of choice (use a paid/good model). (2) Prompt: Implement the HTTP handlers here for my project,..

    Um, no? How about you give me real instructions on how to do it? I’m not going to delegate a security-critical task to an LLM. And since I need to review it carefully myself anyway, I might as well write it all by hand, right? Like, the whole premise is I just need to implement a couple of webhooks.

      gear54rus 17 minutes ago

      It's absolutely hilarious that someone would think that this passes for API docs nowdays. Still it's good to know what to avoid on the very first glance.