Page MenuHomePhorge

Implement single SAS verification process
Needs ReviewPublic

Authored by tusooa on Sun, Mar 1, 6:29 PM.
Tags
None
Referenced Files
F49799189: D289.1774083730.diff
Fri, Mar 20, 2:02 AM
F49765760: D289.1774077104.diff
Fri, Mar 20, 12:11 AM
F49765134: D289.1774076983.diff
Fri, Mar 20, 12:09 AM
F49728843: D289.1774069376.diff
Thu, Mar 19, 10:02 PM
F49709071: D289.1774065451.diff
Thu, Mar 19, 8:57 PM
F49697866: D289.1774063250.diff
Thu, Mar 19, 8:20 PM
F49697854: D289.1774063248.diff
Thu, Mar 19, 8:20 PM
F49697842: D289.1774063245.diff
Thu, Mar 19, 8:20 PM
Subscribers
None

Details

Reviewers
None
Group Reviewers
O1: the Kazv Project
Maniphest Tasks
T156: SAS verification
Summary

This is the part 1 of https://iron.lily-is.land/T156 . It implements a sans-io SAS verification process.

Type: add

Test Plan

To be tested together with later diffs of verification.

Diff Detail

Repository
rL libkazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 567
Build 1116: Invoke BuildbotBuildbot build #1362
Build 1115: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Sun, Mar 1, 7:02 PM
Harbormaster failed remote builds in B553: Diff 862!

add a little error handling

It's not yet complete. We need more error handling.

src/crypto/verification-process.cpp
53

should have a way to start an outgoing request

66

need to validate the format of events

148

missing userCancel()

156

should also have userDenyMatch()

src/crypto/verification-process.hpp
103

not yet implemented

tusooa requested review of this revision.Mon, Mar 2, 4:15 PM

Move state into VerificationProcess

mmore tests and error handling

What if one party sends a bad key event? Should test that it correctly sends a cancel event of invalid_message

better tests and error handling

Move display codes and pending events into VerificationProcess

Only keep codes into model, leave pending events as return value

Knowing whether an outgoing event is sent is of no use. It seems that we should add the outgoing events right away.