index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2023-06-01 09:33:00 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2023-08-02 16:04:35 +0300 |
commit | 279d3c09711bd75f1ba3b31eb942f69052d3bbed (patch) | |
tree | 96941a201f39a1f16d188212c2780f0805bf2dbe /.gitlab | |
parent | 17a71ade2ee2fb6c5774bef43e7b8121d00b4bcf (diff) |
-rwxr-xr-x | .gitlab/ci/build_archiso.sh | 7 |
diff --git a/.gitlab/ci/build_archiso.sh b/.gitlab/ci/build_archiso.sh index 3e1211b..248cb8c 100755 --- a/.gitlab/ci/build_archiso.sh +++ b/.gitlab/ci/build_archiso.sh @@ -219,12 +219,12 @@ create_ephemeral_codesigning_keys() { local ca_dir="${codesigning_dir}/ca/" local ca_conf="${ca_dir}/certificate_authority.cnf" - local ca_subj="/C=DE/ST=Berlin/L=Berlin/O=Arch Linux/OU=Release Engineering/CN=archlinux.org" + local ca_subj='/C=DE/ST=Berlin/L=Berlin/O=Arch Linux/OU=Release Engineering/emailAddress=arch-releng@lists.archlinux.org/CN=Arch Linux Release Engineering (Ephemeral Certificate Authority)' ca_cert="${ca_dir}/cacert.pem" ca_key="${ca_dir}/private/cakey.pem" local codesigning_conf="${codesigning_dir}/code_signing.cnf" - local codesigning_subj="/C=DE/ST=Berlin/L=Berlin/O=Arch Linux/OU=Release Engineering/CN=archlinux.org" + local codesigning_subj='/C=DE/ST=Berlin/L=Berlin/O=Arch Linux/OU=Release Engineering/emailAddress=arch-releng@lists.archlinux.org/CN=Arch Linux Release Engineering (Ephemeral Signing Key)' codesigning_cert="${codesigning_dir}/codesign.crt" codesigning_key="${codesigning_dir}/codesign.key" @@ -249,6 +249,7 @@ create_ephemeral_codesigning_keys() { -keyout "${ca_key}" \ -config "${ca_conf}" \ -subj "${ca_subj}" \ + -days 2 \ -out "${ca_cert}" cat <<EOF >>"${ca_conf}" @@ -285,7 +286,7 @@ EOF -batch \ -config "${ca_conf}" \ -extensions v3_intermediate_ca \ - -days 3650 \ + -days 2 \ -notext \ -md sha256 \ -in "${codesigning_cert}.csr" \ |