Egge on Nostr: Thanks to Rusty Russell calling me out on the ease of use of npub.cash, I am working ...
Thanks to
Rusty Russell (npub179e…lz4s) calling me out on the ease of use of npub.cash, I am working on a OTP type login.
The user will enter their pubkey to login. The server generates an one-time-password and send it to this pubkey in an encrypted DM. The user can then enter the OTP in the browser window and obtain a session token.
This will dramatically increase the UX on mobile devices and offer a more sure way to login vs. raw nsec.
Published at
2024-06-10 08:37:57Event JSON
{
"id": "73b4a53a1ef624aca1c3fbb3362ecf9bed78d728a095e69e5d2be6d33ef7465b",
"pubkey": "ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe",
"created_at": 1718008677,
"kind": 1,
"tags": [
[
"p",
"f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43",
"",
"mention"
]
],
"content": "Thanks to nostr:npub179e9tp4yqtqx4myp35283fz64gxuzmr6n3yxnktux5pnd5t03eps0elz4s calling me out on the ease of use of npub.cash, I am working on a OTP type login. \n\nThe user will enter their pubkey to login. The server generates an one-time-password and send it to this pubkey in an encrypted DM. The user can then enter the OTP in the browser window and obtain a session token.\n\nThis will dramatically increase the UX on mobile devices and offer a more sure way to login vs. raw nsec.\n\nhttps://m.primal.net/IfRb.png ",
"sig": "732e26057955cf6902482cc372a37069951b4f05c2197f1c2705f0d7dd661efa3631f17b04cfedfca9885cc524682a3be9a817b99993a0b65ecedd6013d45834"
}