Accepting request 1243055 from Base:System

- remove extensive signature printing in comments of the cert
  bundle

- Define two macros to break a build cycle with p11-kit. (forwarded request 1243021 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1243055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ca-certificates-mozilla?expand=0&rev=65
This commit is contained in:
Ana Guerrero 2025-02-04 17:11:11 +00:00 committed by Git OBS Bridge
commit 1b7a6831bf
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 4 09:55:01 UTC 2025 - Dirk Müller <dmueller@suse.com>
- remove extensive signature printing in comments of the cert
bundle
-------------------------------------------------------------------
Thu Jan 23 08:23:15 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -280,7 +280,7 @@ for tobj in objects:
# obtain certificate information suitable as a comment
comment_fname = "comment-" + fname
fcout = open(comment_fname, "w")
comment_command = ["openssl", "x509", "-in", cert_fname, "-noout", "-text"]
comment_command = ["openssl", "x509", "-in", cert_fname, "-noout", "-text", "-certopt", "no_pubkey,no_sigdump"]
subprocess.call(comment_command, stdout=fcout)
fcout.close()
sed_command = ["sed", "--in-place", "s/^/#/", comment_fname]