htpasskey: plaintext db and standalone https server with integrated passkey support

6 views
Skip to first unread message

Wang Kang

unread,
11:08 AM (2 hours ago) 11:08 AM
to FIDO Dev (fido-dev)
Hi folks,

Just vibe-coded a standalone passkey https server.

I always wanted to have an 'apache .htpasswd style' or '.ssh/authorized_keys' style register ceremony -- user click register, send the public key string to admin, and admin append it into a local text file.

like this:

# alice | cred:s239x-sbcfhsBClwuYqz… | BE=false BS=false | 2026-04-07T07:25:35Z
alice:eyJ1IjoiY2NjYyIsImlkIjoiczIzOXgtc2JjZmhzQkNsd3VZcXotdnRXT2NGRl9XcnJMUHN5MlptTS1UWSIsInB1YiI6InBRRUNBeVlnQVNGWUlHUElXS3RqZGVUZ1hFY0UyN2FTWHNQMnhDakxScXpQUU5XMnowckxVclVESWxnZ0J2MDY1Q1dFYzJOaGtaZTFXSGtCTGFlV1FGcGVwZjNscTFQQjBRdnhsNVkiLCJhYWd1aWQiOiJyYzRBQWpXOHhncGtpd3NsOGZCVkF3IiwiY250IjowLCJhdHQiOiJwYWNrZWQiLCJ0cCI6WyJpbnRlcm5hbCJdLCJ0cyI6IjIwMjYtMDQtMDdUMDc6MjU6MzVaIiwiYmUiOmZhbHNlLCJicyI6ZmFsc2V9


Please have a try and patch it.

Best regards,
Wang Kang
Reply all
Reply to author
Forward
0 new messages