File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ gpg_tempfile="$gpg_tempdir/code_signing_key"
5757gpg --export-secret-key --armor " $code_signing_fingerprint " > " $gpg_tempfile "
5858
5959# Make sure the Docker image is built.
60- image=keybase_packaging_v43
60+ image=keybase_packaging_v44
6161if [ -z " $( sudo docker images -q " $image " ) " ] ; then
6262 echo " Docker image '$image ' not yet built. Building..."
6363 sudo docker build -t " $image " " $clientdir /packaging/linux"
Original file line number Diff line number Diff line change @@ -70,15 +70,16 @@ for arch in x86_64 ; do
7070 # The `setsid` and `/dev/null` bits are both required to suppress the no-op
7171 # password prompt that appears despite the agent configs.
7272 echo " Signing '$rpmcopy '..."
73+ echo " Signing '$rpmcopy '...1.. $( which gpg) $( which gpg1) "
7374 setsid -w rpm \
7475 --define " _gpg_name $code_signing_fingerprint " \
7576 --define ' _signature gpg' \
77+ --define ' _gpgbin /usr/bin/gpg1' \
7678 --define ' __gpg_check_password_cmd /bin/true' \
7779 --define ' __gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor --use-agent --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename}' \
7880 --addsign " $rpmcopy " < /dev/null
7981
8082 echo " Signing '$rpmcopy '...2"
81- echo " Signing '$rpmcopy '...2.. $( which gpg) $( which gpg1) "
8283 # Add a standalone signature file, for user convenience. Other packaging
8384 # steps will pick this up and copy it around.
8485 /usr/bin/gpg --detach-sign --armor --use-agent --local-user " $code_signing_fingerprint " \
You can’t perform that action at this time.
0 commit comments