This PR adds a SeedEngine instance to the Authority and moves certificate rotation out of the CA object, which is now an instance dedicated to a single manifest generation. For now the SeedEngine is initialized with ad-hoc random bytes and the mesh key is created at random, which should yield the same observable behaviour as before this change. After switching to history we can use LatestTransition to seed the mesh key, and later on we can recover from an input seed.
This PR adds a SeedEngine instance to the Authority and moves certificate rotation out of the CA object, which is now an instance dedicated to a single manifest generation. For now the SeedEngine is initialized with ad-hoc random bytes and the mesh key is created at random, which should yield the same observable behaviour as before this change. After switching to
history
we can useLatestTransition
to seed the mesh key, and later on we can recover from an input seed.