Play with WebAuthn: RP2040 One

Original link: https://dosk.win/2023/07/19/wan-wan-webauthn-rp2040-one/

cause

  • Originally, I thought about how to log in to the home intranet more safely. In addition to installing certificates on my own devices, is there any temporary authorization scheme for certain machines? I just thought about the things I paid attention to about WebAuthn before.
  • After some searching, I found this: Pico FIDO , I also had a Pico in my hand, so I tested it, and it feels like a good thing

my way of playing

  • A special login page for WebAuthn authentication, and then give a cookie to temporarily log in to the intranet
  • The hardware needs to be carried with me, so I bought this: RP2040 One , the feeling of Weixue’s home is very suitable for this job

picture

Just put a picture here, because the hardware is not the most important part, writing code for authentication is the troublesome thing

This article is transferred from: https://dosk.win/2023/07/19/wan-wan-webauthn-rp2040-one/
This site is only for collection, and the copyright belongs to the original author.