df27a417b9
sbverify is currently failing if an intermediate certificate is added on signing but the binary is verified with the singing certificate. It fails with X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY. This is happening because the x509_STORE only contains the signing certificate but the pkcs7 bundle in the binary contains the issuer certificate as well. Fix this by unconditionally approving any locally missing certificates on verify. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> |
||
---|---|---|
docs | ||
lib | ||
src | ||
tests | ||
.gitmodules | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
LICENSE.GPLv3 | ||
Makefile.am | ||
NEWS | ||
README |
sbsigntool - Signing utility for UEFI secure boot Copyright (C) 2102 Jeremy Kerr <jeremy.kerr@canonical.com> Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. See file ./INSTALL for building and installation instructions. Original development was done at: git://kernel.ubuntu.com/jk/sbsigntool.git The current maintained fork resides at: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/ And a very low volume mailing list for bugs and patches is setup at sbsigntools@groups.io Thanks to groups.io policies, non-members can post to this list, but non-member postings are moderated until released (so they won't show up immediately). The list archives are available: https://groups.io/g/sbsigntools/topics sbsigntool is free software. See the file COPYING for copying conditions.