Learn / Sign in with Lightning

Sign in with a deposit, not a password

Signing in should mean putting down a small refundable deposit tied to a key you hold. That works on any network.

Step 1

A password costs nothing to try

A login box accepts guesses. Each guess is free. An attacker with a list, or a machine, can keep going.

A password can also be handed over by mistake on a fake page. Then it works for whoever has it.

Attackerfree triesguess, guess, guessLogin pagepassword boxNever chargedNever tied to anyoneA password costs the attacker nothing to try.

Step 2

Make every attempt cost something

Instead of a password, signing in means two things: a key you hold, and a small deposit placed with it.

Honest users get the deposit back when they leave cleanly. An attacker who tries again and again has to keep putting sats down.

Technical: deposits are Bitcoin sats paid over Lightning.

Your keyheld by youDepositsmall, refundableAccessone sign-inClean exitRefundsats come backEach try costs something, and is tied to a key.

Step 3

How RPOW does it

Your key lives on a smart card and never leaves it. A PIN, typed at the card reader prompt, unlocks it on the card. The site never sees the PIN.

The card signs the sign-in and authorizes the deposit. The deposit is placed through the operator's own Lightning node, held, not spent, and returned on clean exit. The card does not run Lightning itself.

Smart cardkey stays insidePINtyped at the readerSign-insigned by the cardRPOWchecks signatureOperator nodeLightning, owned by operatorThe card never leaves your hand. The key never leaves the card.
Key idea: The smart card simply makes this automatic: one tap does the signing and the deposit.

Compare

Password login against Lightning and card login

Password login compared with Lightning and card login
QuestionPassword loginLightning and card login
Cost to tryNothing. Try as often as you like.A small deposit per attempt.
Can it be phished?Yes. Type it into a fake page and it is gone.The key never leaves the card, and the PIN goes only to the card.
Reusable if stolen?Yes, anywhere the password is used.There is no password to steal or reuse.
Tied to a person?No. Anyone who has the password is you.Yes. Each attempt is tied to a card holder.
RefundNot applicable.Deposit is returned on clean exit.

Try it

Password login or Lightning and card login

Run the same two attacks against both. Amounts use the lab's normal deposit of 100 sats.

Password login

0 satscost to the attacker

Nothing has happened yet.

Lightning + card login

0 satssats at stake

Nothing has happened yet.

What this does and doesn't do
  • A deposit raises the price of trying. It does not stop a determined attacker who can pay.
  • A lost card is a real problem. It must be reported and the person suspended; see The blockade.
  • Sign-in sessions last about 30 minutes in the lab, and one sign-in is one desktop at a time.
  • The numbers in the lab above are illustrations of the 100 sat lab deposit, not measurements.