Skip to main content

Module agent_move

Module agent_move 

Source
Expand description

What a move of an agent to another computer needs below the operations themselves (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER sections 5 and 6, step D of the build): the sealed stream of 256 KiB chunks, and the destination’s staging area that holds them until the whole archive is verified, and the two signed statements that start a move.

Modules§

handover
The statement a computer signs when an agent it hosted has been registered on another (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER section 6.5): this name’s key is now that key, on that install. A computer that pinned the name under the source install moves its pin to the new key, without a click, only on a statement that verifies under that install’s key and names exactly the key it holds now and the key it is shown.
seal
The sealed stream of a move (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER section 6.3): an agent archive cut into 256 KiB chunks, each one encrypted and authenticated, under one content key that is made for one move attempt and sealed to the destination’s key with the same construction as a cloud file’s key (jekt_seal, one implementation).
signed
The two signed statements of a move (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER section 6): what the destination says about itself before anything is sealed, and what the source offers. A LAN operation’s answer carries no signature of its own, so each statement is signed by the install that makes it, under a domain tag of its own, and checked by the other end against the install key it already trusts.
staging
The destination’s staging area for a move (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER sections 5 and 6.2): the sealed chunks of an incoming archive, which of them have arrived, and the state of the move. Nothing here registers an agent; the area only holds bytes until they are verified, and the one way out of it toward registration is staged, which is reached only with every chunk present.