Skip to content

Commit

Permalink
feat(SPV-679): a comment adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-4chain committed Apr 24, 2024
1 parent 88fd5c2 commit eed6076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion totp.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Basic flow:
Alice generates passcodeForBob with (sharedSecret+(contact.Paymail as bobPaymail))
Alice sends passcodeForBob to Bob (e.g. via email)
Bob validates passcodeForBob with (sharedSecret+(requesterPaymail as bobPaymail))
The (sharedSecret+paymail) is a "directedSecret". It prevents that passcodeForBob-from-Alice != passcodeForAlice-from-Bob.
The (sharedSecret+paymail) is a "directedSecret". This ensures that passcodeForBob-from-Alice != passcodeForAlice-from-Bob.
The flow looks the same for Bob generating passcodeForAlice.
*/

Expand Down

0 comments on commit eed6076

Please sign in to comment.