Bueno, después de algunas horas de estarle entendiendo a WebAuthn, ahora puedes ver una prueba de concepto en https://eapl.mx/twtxt/ (Todavía en Alpha, pues no soporta más de una Passkey todavía)
@~eaplmx@eapl.mx If any of you reading this wants to try a stupidly simple WebAuthn/Passkey workflow, go here:
https://eapl.mx/twtxt/signup.html
And then:
https://eapl.mx/twtxt/
If you did that correctly, you’ll reach the ‘Write your twtxt here’ part, (but you’ll have to guess the password, muahaha)
That’s my progress for today, it took longer than expected, I haven’t developed in PHP, and forgot the details on file permissions, binary data for cryptography and such. Besides that, it has been a cool exercise.
@~eaplmx@texto-plano.xyz I forgot to add, in the Sign up you don’t need a password currently, that will be used later to avoid that anyone could register their device as a valid login.
Also, this is a sandbox, don’t take this workflow as an inspiration for any production ready site.