2040yyds on Nostr: nostr ...
nostr 应该做个登录工具之类的app或者命令行工具,扫码或签名直接登陆。这样比直接输入私钥安全性要高,实现起来也很简单:
每次随机文本➕时间戳,生成二维码。你扫描后传pub和私钥签名结果到服务器验证就好了
Published at
2023-02-18 09:27:05Event JSON
{
"id": "968507131c4b3644ff7d83ba44d9a8dbb7294b92075e9b3706ca963c0cc1d313",
"pubkey": "a6b2b487d1fa70ae99f9b4a94f4322e750f8484d05ff2dd5855edbdd2a796546",
"created_at": 1676712425,
"kind": 1,
"tags": [],
"content": "nostr 应该做个登录工具之类的app或者命令行工具,扫码或签名直接登陆。这样比直接输入私钥安全性要高,实现起来也很简单:\n\n每次随机文本➕时间戳,生成二维码。你扫描后传pub和私钥签名结果到服务器验证就好了",
"sig": "4cf3279ff2e7f9223fe26d8cfdbf93f27df8403e5c4516284993ddcedbc645d7928b2ff1458d18bacd48a1a739eef304507f0be5c93ceebf1087314bef20ce76"
}