As we all know, account compromises are super common, and there are plenty of ways to prevent them. Among those, using a hardware key is a solid way to keep your accounts from getting stolen. But hardware keys are usually expensive: in the YubiKey 5 lineup, the cheapest one is €69.60 (about CNY 506.64). Even the cheaper CanoKey costs over CNY 100. The hardware key setup in this post, however, only costs CNY 30 and can do most of what a YubiKey does.
Let's cut the fluff and get to it.
LibreKeys is a fork of PicoKeys, which has gone commercial. We need to use the PicoForge tool provided by this project to configure our hardware key.
RS-Key is a tool that turns your RP2350 dev board into a hardware key.
By now you've probably guessed it: the star of this post is the RP2350 dev board mentioned above.
I'd recommend the Waveshare RP2350 One. It's small, works well as a hardware key, and only costs CNY 30.
The board looks roughly like this:
Then open a Chromium-based browser and go to this site.
Next, hold the BOOT button on the board and plug it into your computer's USB port.
The page should now look like this:
Click "Connect and flash".
The browser will pop up a window like this:
Click the paired device, then click Connect, and after a bit it'll be flashed.
Then open the PicoForge Releases page, download the latest version of PicoForge, and install it.
Once installed, open the main screen and click "Configurations".
Find the "Identity" section and fill it in as shown below.
Now you can use Yubico Authenticator to manage Passkeys.
This hardware key can also store OpenPGP private keys; I'll write a tutorial for that later.
That's it for this post. Thanks for reading!
众所周知,账户被盗现象非常普遍,同时,也有许多预防的方法
而在这些方法中,使用硬件密钥可以说是防止账户被盗的一个好方法
但是硬件密钥们普遍昂贵,YubiKey 5 系列中,最便宜的也要 €69.60(约合 人民币 506.64)
即使是便宜点的 CanoKey,也需要 100 多人民币
而本文章所介绍的硬件密钥方案,则只需要 30 人民币,就可以实现和 YubiKey 差不多的功能
废话少说,进入正题。
LibreKeys 项目,是一个从已经转向商业化的 PicoKeys 项目的分叉,我们需要使用这个项目所提供的 PicoForge 工具来配置我们的硬件密钥
RS-Key 项目,是一个将你的 RP2350 开发板变成一个硬件密钥的工具
既然都说到这里了,那么大家应该也猜到了,本文的主角就是上文所提到的 RP2350 开发板
这里我比较推荐购买微雪的 RP2350 One,这款开发板体积小巧,比较适合做硬件密钥,并且只需要 30 人民币就可以拿下
这款开发板大概长这样:
然后,打开一个使用 Chromium 内核的浏览器并打开这个网站
接下来,按住开发板上的 BOOT 按钮,插入电脑的 USB 接口
现在,网页应该是这样的:
点击 "Connect and flash"
此时,浏览器会弹出这么一个窗口:
点击已配对的设备,再点击连接,过一会就刷好了
然后,打开 PicoForge 的 Releases 界面,下载最新版的 PicoForge 并安装
安装好后,进入主界面,点击 "Configurations"
找到 "Identity" 部分,按照下面图片填写
这样,就可以使用 Yubico Authenticator 来管理 Passkey 了
同时,这个硬件密钥也可以用来保存 OpenPGP 私钥,这个的教程就晚点写了
至此,本篇文章就结束了,谢谢大家的观看
Translated by AI from 简体中文Original (简体中文)
22 replies
Sort order