Repository navigation
fix(core-sync): a locked device that asks to be approved again reads its session's steps - #4823
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
noncestep and the approval reach it.ApprovalFlows::asks_for_approval: the device's own session from its request until it merges or ends. A confirmed device keeps reading pastexpires_at, as it keeps waiting for the approval.Test plan
core_engine::approval::a_device_a_rotation_left_out_asks_again_and_is_approved: fails on main (the approver never gets a reveal), passes here.engine::sealed::a_locked_device_that_asks_again_reads_key_objects_only_and_takes_the_records_once_the_lock_clears: fails on main (the session's record never arrives).engine::keys::an_envelope_the_store_refused_waits_while_the_device_is_locked_and_lands_once_the_lock_clears: fails without the keys-only pull (a held password lands while locked).engine::keys::a_locked_device_that_asks_again_takes_no_envelope_until_the_lock_clears: guards that the new reads take no password deletion.-D warnings.noncestep, nb'sreveal2 s later, same words, both approved in 78 s, nb's row on a new key device at the newav. On main nb never revealed in 5 minutes (2 of 2).