mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-08 06:31:50 +00:00
This sets swupd signature verification to mandatory, failing and exiting for any verify error, though --nosigcheck enables user to bypass all signature-based security checks. The signed MoM serves as the top level chain of trust, and it is used to extend content trust down to the individual file level. When the signature of the top-level MoM is invalid or cannot be verified for any reason, we warn and abort the operation. Passing --nosigcheck will allow this to proceed, explicitly accepting the unverifiable MoM and outputting a log entry to the Journal. This is not recommended and unsupported by upstream once the chain of security is broken, because it may imply update content was or may be installed that was not generated by the official upstream. Signed-off-by: Brad T. Peters <brad.t.peters@intel.com> Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>