This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Git commit and tag signature verification
This feature adds the `--git-verify-signatures` flag to the daemon. When this flag is set the daemon will verify the signatures of the tag and all commits it is working with, ensuring no unauthorized modifications are synchronized. To ensure the daemon always synchronizes a verified state a ratchet mechanism was introduced to the loop. This mechanism moves the sync HEAD to the latest valid revision after repository refreshes. During sync runs this revision gets checked out and is applied on to the cluster. During modification actions, either automated or instructed by fluxctl commands, the HEAD of the working clone is compared to the latest valid revision. If these mismatch the commit is blocked and an error is returned as the daemon can not be sure it is committing on top of a verified state.
- Loading branch information
Showing
12 changed files
with
829 additions
and
684 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.