pull down to refresh

Could you please explain to me in lamens terms what is happening when I create an account with my lightning wallet? My mind was blow. It seems feasible that one day we will be able to cross login to different platforms this exact way. I have little understanding though of what's going on under the hood and i'm so curious!
Basically
  1. Your wallet takes your node keypair + the domain name (stacker.news) = keypair unique to stacker news
  2. When you scan the QR code, it sends your wallet a “secret” which is just a big random number
  3. Your wallet takes the secret and cryptographically signs it with the key from (1)
  4. Your wallet sends the signature to SN
These steps happen every time you login, and while the secret will be different each time, your keypair from (1) is the same. So, your keypair is your identity and the signature (3) proves you “own” that identity. If you don’t have the keypair you can’t produce the same signature.
reply
Excellent. Thank you very much. I will have to read this many times. Bitcoin is mind blowing.
reply