[Rpm-maint] [rpm-software-management/rpm] RPM fsverity support (#1203)
Panu Matilainen
notifications at github.com
Thu May 28 07:26:15 UTC 2020
@pmatilai commented on this pull request.
> @@ -494,6 +505,36 @@ static rpmRC includeFileSignatures(Header *sigp, Header *hdrp)
#endif
}
+static rpmRC includeVeritySignatures(FD_t fd, Header *sigp, Header *hdrp)
+{
+#ifdef WITH_FSVERITY
+ rpmRC rc;
+ char *key = rpmExpand("%{?_file_signing_key}", NULL);
+ char *keypass = rpmExpand("%{?_file_signing_key_password}", NULL);
+ char *cert = rpmExpand("%{?_file_signing_cert}", NULL);
+
+ if (rstreq(keypass, "")) {
+ free(keypass);
+ keypass = NULL;
+ }
+
+ if (key && cert) {
Oh, sorry, my bad. Weary eyes at the end of the day getting things mixed up, do ignore.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1203#discussion_r431633575
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200528/b7fa4028/attachment.html>
More information about the Rpm-maint
mailing list