What is Nostr?
ejlindgren / Eric Lindgren
npub1xjc…sr8a
2025-01-28 14:39:49
in reply to nevent1q…lz4a

ejlindgren on Nostr: right, I think relying on signatures could eliminate the need to store *anything* ...

right, I think relying on signatures could eliminate the need to store *anything* client-side. the server can store all the stuff usually contained in cookies along with signatures from the nsec. then when the user visits the site again the server that info can be authenticated with the signatures before they are used - no need to store anything on the client and no risk that one user's cookies are applied to another

I dunno honestly I'm spitballing and haven't thought it through but I really think cryptography can replace a lot of the hacky stuff like cookies that have developed over the years.
Author Public Key
npub1xjcs28jk5fgrcvqn8wwz2d4wnl3t2cjfy3j4ctg9z3g88dfavwmsrfsr8a