Page MenuHomePhorge

Implement Client integration for verification
ClosedPublic

Authored by tusooa on Thu, Mar 19, 8:05 PM.

Details

Summary

This is part 3 of https://iron.lily-is.land/T156 . It implements an integration layer in Client for device verification. The layer handles the receiving and sending of verification events.

The unit tests in verification-processing-test.cpp are adapted from an output of OpenCode.

Type: add

Test Plan

To be tested together with the corresponding diff in kazv.

Diff Detail

Repository
rL libkazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Still work in progress. Also missing tests.

Harbormaster returned this revision to the author for changes because remote builds failed.Thu, Mar 19, 8:30 PM
Harbormaster failed remote builds in B572: Diff 887!

add EnsureKeysForDevicesAction

add missing implementations

Mark devices as verified when we want to send a done event

Prevent updating keys overriding trust level

src/client/client.cpp
415

every action should notify tracker change

tusooa marked an inline comment as not done.Tue, Mar 31, 9:25 PM

notify tracker model update on every change

This revision is now accepted and ready to land.Sat, Apr 4, 7:11 PM