Skip to content

Commit f642753

Browse files
committed
release: create a bundle for the new signing script
Also change the mac filename to match The procedure remains the same, but now there's a nifty script to automate the signing process. Future steps: - Build osslsigncode in the gitian-win descriptor so that the signer itself is deterministic. - Verify in the gitian-win-signer descriptor that the expected cert chain was used.
1 parent 0068361 commit f642753

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ script: |
146146
make ${MAKEOPTS} -C src check-security
147147
make deploy
148148
make install DESTDIR=${INSTALLPATH}
149+
rename 's/-setup\.exe$/-setup-unsigned.exe/' *-setup.exe
149150
cp -f bitcoin-*setup*.exe $OUTDIR/
150151
cd installed
151152
mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
@@ -159,9 +160,11 @@ script: |
159160
cd ../../
160161
rm -rf distsrc-${i}
161162
done
162-
cd $OUTDIR
163-
rename 's/-setup\.exe$/-setup-unsigned.exe/' *-setup.exe
164-
find . -name "*-setup-unsigned.exe" | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-win-unsigned.tar.gz
163+
cp -rf contrib/windeploy $BUILD_DIR
164+
cd $BUILD_DIR/windeploy
165+
mkdir unsigned
166+
cp $OUTDIR/bitcoin-*setup-unsigned.exe unsigned/
167+
find . | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-win-unsigned.tar.gz
165168
mv ${OUTDIR}/${DISTNAME}-x86_64-*-debug.zip ${OUTDIR}/${DISTNAME}-win64-debug.zip
166169
mv ${OUTDIR}/${DISTNAME}-i686-*-debug.zip ${OUTDIR}/${DISTNAME}-win32-debug.zip
167170
mv ${OUTDIR}/${DISTNAME}-x86_64-*.zip ${OUTDIR}/${DISTNAME}-win64.zip

contrib/macdeploy/detached-sig-create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BUNDLE="${ROOTDIR}/Bitcoin-Qt.app"
1010
CODESIGN=codesign
1111
TEMPDIR=sign.temp
1212
TEMPLIST=${TEMPDIR}/signatures.txt
13-
OUT=signature.tar.gz
13+
OUT=signature-osx.tar.gz
1414
OUTROOT=osx
1515

1616
if [ ! -n "$1" ]; then

0 commit comments

Comments
 (0)