Diff of the two buildlogs: -- --- b1/build.log 2021-07-18 05:23:42.470658833 +0000 +++ b2/build.log 2021-07-18 05:30:00.564467123 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Aug 19 23:46:14 -12 2022 -I: pbuilder-time-stamp: 1660995974 +I: Current time: Sun Jul 18 19:23:44 +14 2021 +I: pbuilder-time-stamp: 1626585824 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./ruby-secure-headers_6.3.2-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.c65BrrfK/trustedkeys.kbx': General error -gpgv: Signature made Fri Jun 25 07:55:35 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.0t0rM70S/trustedkeys.kbx': General error +gpgv: Signature made Sat Jun 26 09:55:35 2021 +14 gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-secure-headers_6.3.2-1.dsc @@ -30,137 +30,171 @@ dpkg-source: info: applying 03-fix-library-path.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/6089/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14367/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/14367/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14367/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5b57f0b2fc374d2d8a52de877233f407' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='6089' - PS1='# ' - PS2='> ' + INVOCATION_ID=837ab2ba972e470280c55a4c51bc6af2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=14367 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.E3JuTe37RM/pbuilderrc_lXfX --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.E3JuTe37RM/b1 --logfile b1/build.log ruby-secure-headers_6.3.2-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.E3JuTe37RM/pbuilderrc_iMGF --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.E3JuTe37RM/b2 --logfile b2/build.log --extrapackages usrmerge ruby-secure-headers_6.3.2-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-2 (2021-06-21) i686 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 19 03:48 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/6089/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 18 19:26 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 16 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/14367/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -365,7 +399,7 @@ Get: 155 http://deb.debian.org/debian bullseye/main i386 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 156 http://deb.debian.org/debian bullseye/main i386 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] Get: 157 http://deb.debian.org/debian bullseye/main i386 ruby-useragent all 0.16.8-1.1 [12.0 kB] -Fetched 46.5 MB in 1s (52.6 MB/s) +Fetched 46.5 MB in 9s (5013 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -1017,8 +1051,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 1s (86.2 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27862 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/ruby-secure-headers-6.3.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-secure-headers-6.3.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-secure-headers dpkg-buildpackage: info: source version 6.3.2-1 dpkg-buildpackage: info: source distribution unstable @@ -1049,7 +1119,7 @@ dh_auto_install -O--buildsystem=ruby dh_ruby --install /build/ruby-secure-headers-6.3.2/debian/ruby-secure-headers dh_ruby --install -/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20220819-11248-1lmbgns/gemspec +/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20210718-24905-ky1019/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: license value 'Apache Public License 2.0' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. @@ -1061,7 +1131,7 @@ Name: secure_headers Version: 6.3.2 File: secure_headers-6.3.2.gem -/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-secure-headers/usr/share/rubygems-integration/all /tmp/d20220819-11248-1lmbgns/secure_headers-6.3.2.gem +/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-secure-headers/usr/share/rubygems-integration/all /tmp/d20210718-24905-ky1019/secure_headers-6.3.2.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-secure-headers-6.3.2/debian/ruby-secure-headers/usr/share/rubygems-integration/all/gems/secure_headers-6.3.2/lib/secure_headers.rb /build/ruby-secure-headers-6.3.2/debian/ruby-secure-headers/usr/share/rubygems-integration/all/gems/secure_headers-6.3.2/lib/secure_headers/configuration.rb @@ -1095,7 +1165,7 @@ rm -rf extensions cd gems/secure_headers-6.3.2 rm -f -chmod 644 lib/secure_headers/configuration.rb lib/secure_headers/railtie.rb lib/secure_headers/middleware.rb lib/secure_headers/version.rb lib/secure_headers/headers/cookie.rb lib/secure_headers/headers/x_content_type_options.rb lib/secure_headers/headers/clear_site_data.rb lib/secure_headers/headers/x_xss_protection.rb lib/secure_headers/headers/policy_management.rb lib/secure_headers/headers/content_security_policy_config.rb lib/secure_headers/headers/referrer_policy.rb lib/secure_headers/headers/x_permitted_cross_domain_policies.rb lib/secure_headers/headers/expect_certificate_transparency.rb lib/secure_headers/headers/x_download_options.rb lib/secure_headers/headers/strict_transport_security.rb lib/secure_headers/headers/x_frame_options.rb lib/secure_headers/headers/content_security_policy.rb lib/secure_headers/hash_helper.rb lib/secure_headers/view_helper.rb lib/secure_headers/utils/cookies_config.rb lib/secure_headers.rb +chmod 644 lib/secure_headers.rb lib/secure_headers/middleware.rb lib/secure_headers/version.rb lib/secure_headers/hash_helper.rb lib/secure_headers/headers/strict_transport_security.rb lib/secure_headers/headers/content_security_policy.rb lib/secure_headers/headers/content_security_policy_config.rb lib/secure_headers/headers/referrer_policy.rb lib/secure_headers/headers/cookie.rb lib/secure_headers/headers/policy_management.rb lib/secure_headers/headers/x_download_options.rb lib/secure_headers/headers/x_frame_options.rb lib/secure_headers/headers/x_content_type_options.rb lib/secure_headers/headers/expect_certificate_transparency.rb lib/secure_headers/headers/clear_site_data.rb lib/secure_headers/headers/x_xss_protection.rb lib/secure_headers/headers/x_permitted_cross_domain_policies.rb lib/secure_headers/view_helper.rb lib/secure_headers/configuration.rb lib/secure_headers/railtie.rb lib/secure_headers/utils/cookies_config.rb find lib/ -type d -empty -delete cd - cd - @@ -1117,328 +1187,328 @@ [Coveralls] Set up the SimpleCov formatter. [Coveralls] Using SimpleCov's default settings. -Randomized with seed 42070 +Randomized with seed 15799 -SecureHeaders::ClearSiteData - make_header - returns nil with opt-out config - returns all types with `true` config - returns nil with nil config - returns nil with empty config - returns specified types - validate_config! - succeeds for empty config - succeeds for `true` config - succeeds for Array of Strings config - succeeds for opt-out config - fails for Array of non-String config - succeeds for `nil` config - fails for other types of config - make_header_value - returns a string of quoted values that are comma separated - -SecureHeaders::ViewHelpers - adds known hash values to the corresponding headers when the helper is used - avoids calling content_security_policy_nonce internally - raises an error when using hashed content without precomputed hashes - raises an error when using hashed content with precomputed hashes, but none for the given file - raises an error when using previously unknown hashed content with precomputed hashes for a given file - -SecureHeaders::XContentTypeOptions - #value - is expected to eq ["X-Content-Type-Options", "nosniff"] - is expected to eq ["X-Content-Type-Options", "nosniff"] - invalid configuration values - doesn't accept anything besides no-sniff - accepts nosniff - accepts nil +SecureHeaders::Middleware + respects overrides + sets the headers + uses named overrides + cookies + allows opting out of cookie protection with OPT_OUT alone + cookies should not be flagged + does not flags cookies as secure + cookies should be flagged + flags cookies as secure + cookies + disables secure cookies for non-https requests + flags cookies with a combination of SameSite configurations + sets the secure cookie flag correctly on interleaved http/https requests + flags cookies from configuration -SecureHeaders::ExpectCertificateTransparency - is expected to eq "max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" - is expected to eq "enforce, max-age=1234" - is expected to eq "max-age=1234" - is expected to eq "enforce, max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" - is expected to eq "max-age=1234" - with an invalid configuration - raises an exception when configuration isn't a hash - raises an exception with an invalid enforce value - raises an exception when max-age is not provided - raises an exception with an invalid max-age +SecureHeaders::XDownloadOptions + is expected to eq ["X-Download-Options", "noopen"] + is expected to eq ["X-Download-Options", "noopen"] + invalid configuration values + accepts noopen + doesn't accept anything besides noopen + accepts nil SecureHeaders::ReferrerPolicy - is expected to eq ["Referrer-Policy", "origin-when-cross-origin, strict-origin-when-cross-origin"] - is expected to eq ["Referrer-Policy", "no-referrer"] is expected to eq ["Referrer-Policy", "origin-when-cross-origin"] - invalid configuration values - doesn't accept invalid types - doesn't accept invalid values + is expected to eq ["Referrer-Policy", "no-referrer"] + is expected to eq ["Referrer-Policy", "origin-when-cross-origin, strict-origin-when-cross-origin"] valid configuration values - accepts 'strict-origin' + accepts 'same-origin' accepts 'no-referrer-when-downgrade' + accepts 'strict-origin' accepts 'no-referrer' + accepts 'unsafe-url' accepts 'origin' - accepts nil accepts array of policy values - accepts 'strict-origin-when-cross-origin' - accepts 'same-origin' accepts 'origin-when-cross-origin' - accepts 'unsafe-url' - -SecureHeaders::Middleware - sets the headers - uses named overrides - respects overrides - cookies - disables secure cookies for non-https requests - flags cookies with a combination of SameSite configurations - flags cookies from configuration - sets the secure cookie flag correctly on interleaved http/https requests - cookies - allows opting out of cookie protection with OPT_OUT alone - cookies should be flagged - flags cookies as secure - cookies should not be flagged - does not flags cookies as secure + accepts 'strict-origin-when-cross-origin' + accepts nil + invalid configuration values + doesn't accept invalid types + doesn't accept invalid values -SecureHeaders::StrictTransportSecurity - #value - is expected to eq ["Strict-Transport-Security", "max-age=631138519"] - is expected to eq ["Strict-Transport-Security", "max-age=1234; includeSubdomains; preload"] - with an invalid configuration - with a string argument - raises an exception with an invalid format - raises an exception with an invalid max-age - raises an exception if max-age is not supplied +SecureHeaders::Cookie + does not tamper with cookies when using OPT_OUT is used + preserves existing attributes + prevents duplicate flagging of attributes + applies httponly, secure, and samesite by default + HttpOnly cookies + when configured with a Hash + does not flag cookies as HttpOnly when excluded + flags cookies as HttpOnly when whitelisted + when configured with a boolean + flags cookies as HttpOnly + SameSite cookies + does not flag cookies as SameSite=Strict when excluded + flags SameSite=Lax when configured with a boolean + flags SameSite=Strict when configured with a boolean + flags SameSite=Lax + flags SameSite=None + flags SameSite=None when configured with a boolean + ignores configuration if the cookie is already flagged + does not flag cookies as SameSite=None when excluded + flags properly when both lax and strict are configured + samesite: true sets all cookies to samesite=lax + flags SameSite=Strict + does not flag cookies as SameSite=Lax when excluded + flags SameSite=Strict when configured with a boolean + Secure cookies + when configured with a boolean + flags cookies as Secure + when configured with a Hash + flags cookies as Secure when whitelisted + does not flag cookies as Secure when excluded -SecureHeaders::ContentSecurityPolicy - #value - discards source expressions (besides unsafe-* and non-host source values) when * is present - allows script as a require-sri-src - does not build directives with a value of OPT_OUT (and bypasses directive requirements) - deprecates and escapes semicolons in directive source lists - allows script and style as a require-sri-src - creates maximally strict sandbox policy when passed no sandbox token values - supports strict-dynamic - minifies source expressions based on overlapping wildcards - discards 'none' values if any other source expressions are present - deduplicates any source expressions - removes nil from source lists - supports style-src-elem directive - deprecates and escapes semicolons in directive source lists - does not emit a warning when using frame-src - creates sandbox policy when passed valid sandbox token values - supports script-src-attr directive - creates maximally strict sandbox policy when passed true - does not remove schemes when :preserve_schemes is true - includes prefetch-src - does not add a boolean directive if the value is false - does not remove schemes from report-uri values - allows style as a require-sri-src - does not add a directive if the value is nil - supports style-src-attr directive - supports strict-dynamic and opting out of the appended 'unsafe-inline' - uses a safe but non-breaking default value - supports script-src-elem directive - does add a boolean directive if the value is true - removes http/s schemes from hosts - does not add a directive if the value is an empty array (or all nil) - includes navigate-to - #name - when in enforce mode - is expected to eq "Content-Security-Policy" - when in report-only mode - is expected to eq "Content-Security-Policy-Report-Only" +with an invalid configuration + raises an exception when SameSite lax and strict enforcement modes are configured with booleans + raises an exception when SameSite lax and strict enforcement modes are configured with booleans + raises an exception when SameSite strict and none enforcement modes are configured with booleans + raises an exception when both lax and strict only filters are provided to SameSite configurations + raises an exception when both only and except filters are provided + raises an exception when not configured with a Hash + raises an exception when configured with false + raises an exception when SameSite none and lax enforcement modes are configured with booleans + raises an exception when SameSite none and strict enforcement modes are configured with booleans + raises an exception when SameSite is not configured with a Hash + raises an exception when SameSite lax and none enforcement modes are configured with booleans + raises an exception when both only and except filters are provided to SameSite configurations + raises an exception when SameSite strict and lax enforcement modes are configured with booleans + raises an exception when both lax and strict only filters are provided to SameSite configurations + raises an exception when configured without a boolean(true or OPT_OUT)/Hash SecureHeaders - raises a AlreadyConfiguredError if trying to configure and default has already been set - raises a NotYetConfiguredError if default has not been set raises a NotYetConfiguredError if trying to opt-out of unconfigured headers + raises a AlreadyConfiguredError if trying to configure and default has already been set raises and ArgumentError when referencing an override that has not been set - validation - validates your x_permitted_cross_domain_policies config upon configuration - validates your xfo config upon configuration - validates your referrer_policy config upon configuration - raises errors for unknown directives - validates your xdo config upon configuration - validates your csp config upon configuration - validates your clear site data config upon configuration - validates your x_xss config upon configuration - validates your cookies config upon configuration - validates your hsts config upon configuration - validates your xcto config upon configuration + raises a NotYetConfiguredError if default has not been set #header_hash_for - allows you to opt out of individual headers via API - Carries options over when using overrides - produces a hash of headers with default config - does not set the HSTS header if request is over HTTP allows you to opt out entirely - Overrides the current default config if default config changes during request allows you to override opting out + does not set the HSTS header if request is over HTTP + produces a hash of headers with default config + allows you to opt out of individual headers via API allows you to override X-Frame-Options settings + Carries options over when using overrides + Overrides the current default config if default config changes during request content security policy - supports named appends appends a hash to a missing script-src value - appends a value to csp directive overrides individual directives - appends a nonce to the script-src when used - appends a nonce to a missing script-src value - does not support the deprecated `report_only: true` format Raises an error if csp_report_only is used with `report_only: false` + does not support the deprecated `report_only: true` format + supports named appends + appends a value to csp directive overrides non-existant directives + appends a nonce to a missing script-src value + appends a nonce to the script-src when used setting two headers - sets identical values when the configs are the same - allows appending to both policies + allows appending to the report only policy allows appending to the enforced policy - allows overriding the report only policy + sets identical values when the configs are the same allows overriding the enforced policy + allows appending to both policies allows overriding both policies allows you to opt-out of enforced CSP - allows appending to the report only policy + allows overriding the report only policy sets different headers when the configs are different when inferring which config to modify updates the enforced header when configured updates both headers if both are configured updates the report only header when configured - -SecureHeaders::Cookie - prevents duplicate flagging of attributes - applies httponly, secure, and samesite by default - preserves existing attributes - does not tamper with cookies when using OPT_OUT is used - Secure cookies - when configured with a Hash - flags cookies as Secure when whitelisted - does not flag cookies as Secure when excluded - when configured with a boolean - flags cookies as Secure - SameSite cookies - flags SameSite=Strict - flags SameSite=None - does not flag cookies as SameSite=Strict when excluded - flags SameSite=Lax - flags SameSite=Strict when configured with a boolean - flags SameSite=Lax when configured with a boolean - samesite: true sets all cookies to samesite=lax - ignores configuration if the cookie is already flagged - does not flag cookies as SameSite=Lax when excluded - does not flag cookies as SameSite=None when excluded - flags SameSite=Strict when configured with a boolean - flags properly when both lax and strict are configured - flags SameSite=None when configured with a boolean - HttpOnly cookies - when configured with a boolean - flags cookies as HttpOnly - when configured with a Hash - flags cookies as HttpOnly when whitelisted - does not flag cookies as HttpOnly when excluded - -SecureHeaders::XXssProtection - is expected to eq ["X-XSS-Protection", "1; mode=block"] - is expected to eq ["X-XSS-Protection", "1; mode=block; report=https://www.secure.com/reports"] - with invalid configuration - should raise an error when providing a string that is not valid - when using a hash value - should raise an error if mode != block - should raise an error if no value key is supplied - should allow string values ('1' or '0' are the only valid strings) - should raise an error if an invalid key is supplied + validation + validates your xdo config upon configuration + raises errors for unknown directives + validates your xfo config upon configuration + validates your xcto config upon configuration + validates your cookies config upon configuration + validates your x_permitted_cross_domain_policies config upon configuration + validates your referrer_policy config upon configuration + validates your hsts config upon configuration + validates your csp config upon configuration + validates your x_xss config upon configuration + validates your clear site data config upon configuration SecureHeaders::PolicyManagement + #combine_policies + overrides the :block_all_mixed_content flag + raises an error if appending to a OPT_OUT policy + does not combine the default-src value for directives that don't fall back to default sources + combines directives where the original value is nil and the hash is frozen + combines the default-src value with the override if the directive was unconfigured + overrides the report_only flag #validate_config! - requires :block_all_mixed_content to be a boolean value - accepts all keys - allows report_only to be set in a report-only config - accepts true as a sandbox policy - requires :report_only to be a truthy value + requires :preserve_schemes to be a truthy value accepts OPT_OUT as a script-src value accepts anything of the form type/subtype as a plugin-type value - accepts anything of the form allow-* as a sandbox value - requires :preserve_schemes to be a truthy value - requires a :default_src value - rejects unknown directives / config - allows nil values requires :upgrade_insecure_requests to be a boolean value - rejects anything not of the form allow-* as a sandbox value requires all source lists to be an array of strings - doesn't allow report_only to be set in a non-report-only config + requires :report_only to be a truthy value + rejects anything not of the form allow-* as a sandbox value performs light validation on source lists - requires a :script_src value + requires :block_all_mixed_content to be a boolean value + requires a :default_src value + doesn't allow report_only to be set in a non-report-only config + allows nil values + rejects unknown directives / config rejects anything not of the form type/subtype as a plugin-type value - #combine_policies - combines the default-src value with the override if the directive was unconfigured - overrides the report_only flag - combines directives where the original value is nil and the hash is frozen - raises an error if appending to a OPT_OUT policy - does not combine the default-src value for directives that don't fall back to default sources - overrides the :block_all_mixed_content flag - -SecureHeaders::Configuration - allows OPT_OUT - dup results in a copy of the default config - has an 'noop' override - has a default config - gives cookies a default config - allows me to be explicit too - deprecates the secure_cookies configuration - stores an override - #override - raises when a named append with the given name exists - raises on configuring an existing override - #named_append - raises when an override with the given name exists - raises on configuring an existing append + accepts anything of the form allow-* as a sandbox value + accepts all keys + requires a :script_src value + accepts true as a sandbox policy + allows report_only to be set in a report-only config -SecureHeaders::XDownloadOptions - is expected to eq ["X-Download-Options", "noopen"] - is expected to eq ["X-Download-Options", "noopen"] - invalid configuration values - accepts nil - doesn't accept anything besides noopen - accepts noopen +SecureHeaders::XContentTypeOptions + #value + is expected to eq ["X-Content-Type-Options", "nosniff"] + is expected to eq ["X-Content-Type-Options", "nosniff"] + invalid configuration values + accepts nil + accepts nosniff + doesn't accept anything besides no-sniff SecureHeaders::XPermittedCrossDomainPolicies - is expected to eq ["X-Permitted-Cross-Domain-Policies", "master-only"] is expected to eq ["X-Permitted-Cross-Domain-Policies", "none"] + is expected to eq ["X-Permitted-Cross-Domain-Policies", "master-only"] + invlaid configuration values + doesn't accept invalid values valid configuration values - accepts 'by-content-type' - accepts 'by-ftp-filename' accepts 'all' + accepts 'by-ftp-filename' + accepts 'by-content-type' accepts 'master-only' accepts nil - invlaid configuration values - doesn't accept invalid values SecureHeaders::XFrameOptions #value - is expected to eq ["X-Frame-Options", "DENY"] is expected to eq ["X-Frame-Options", "sameorigin"] + is expected to eq ["X-Frame-Options", "DENY"] with invalid configuration - does not allow garbage + allows ALLOW-FROM* allows DENY + does not allow garbage allows SAMEORIGIN - allows ALLOW-FROM* -with an invalid configuration - raises an exception when SameSite lax and strict enforcement modes are configured with booleans - raises an exception when both lax and strict only filters are provided to SameSite configurations - raises an exception when SameSite strict and lax enforcement modes are configured with booleans - raises an exception when SameSite is not configured with a Hash - raises an exception when SameSite lax and strict enforcement modes are configured with booleans - raises an exception when configured without a boolean(true or OPT_OUT)/Hash - raises an exception when SameSite strict and none enforcement modes are configured with booleans - raises an exception when both only and except filters are provided - raises an exception when SameSite none and lax enforcement modes are configured with booleans - raises an exception when SameSite none and strict enforcement modes are configured with booleans - raises an exception when both only and except filters are provided to SameSite configurations - raises an exception when both lax and strict only filters are provided to SameSite configurations - raises an exception when configured with false - raises an exception when not configured with a Hash - raises an exception when SameSite lax and none enforcement modes are configured with booleans +SecureHeaders::ExpectCertificateTransparency + is expected to eq "max-age=1234" + is expected to eq "enforce, max-age=1234" + is expected to eq "max-age=1234" + is expected to eq "max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" + is expected to eq "enforce, max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" + with an invalid configuration + raises an exception when max-age is not provided + raises an exception with an invalid max-age + raises an exception with an invalid enforce value + raises an exception when configuration isn't a hash + +SecureHeaders::XXssProtection + is expected to eq ["X-XSS-Protection", "1; mode=block"] + is expected to eq ["X-XSS-Protection", "1; mode=block; report=https://www.secure.com/reports"] + with invalid configuration + should raise an error when providing a string that is not valid + when using a hash value + should raise an error if an invalid key is supplied + should raise an error if no value key is supplied + should allow string values ('1' or '0' are the only valid strings) + should raise an error if mode != block + +SecureHeaders::StrictTransportSecurity + #value + is expected to eq ["Strict-Transport-Security", "max-age=1234; includeSubdomains; preload"] + is expected to eq ["Strict-Transport-Security", "max-age=631138519"] + with an invalid configuration + with a string argument + raises an exception with an invalid max-age + raises an exception if max-age is not supplied + raises an exception with an invalid format + +SecureHeaders::Configuration + has a default config + stores an override + deprecates the secure_cookies configuration + allows OPT_OUT + has an 'noop' override + dup results in a copy of the default config + allows me to be explicit too + gives cookies a default config + #named_append + raises when an override with the given name exists + raises on configuring an existing append + #override + raises on configuring an existing override + raises when a named append with the given name exists + +SecureHeaders::ViewHelpers + adds known hash values to the corresponding headers when the helper is used + raises an error when using hashed content with precomputed hashes, but none for the given file + raises an error when using previously unknown hashed content with precomputed hashes for a given file + avoids calling content_security_policy_nonce internally + raises an error when using hashed content without precomputed hashes + +SecureHeaders::ClearSiteData + make_header + returns all types with `true` config + returns nil with nil config + returns specified types + returns nil with empty config + returns nil with opt-out config + validate_config! + fails for other types of config + succeeds for `nil` config + succeeds for Array of Strings config + fails for Array of non-String config + succeeds for empty config + succeeds for `true` config + succeeds for opt-out config + make_header_value + returns a string of quoted values that are comma separated + +SecureHeaders::ContentSecurityPolicy + #value + uses a safe but non-breaking default value + creates maximally strict sandbox policy when passed no sandbox token values + does add a boolean directive if the value is true + supports style-src-elem directive + supports script-src-attr directive + removes nil from source lists + supports strict-dynamic and opting out of the appended 'unsafe-inline' + creates sandbox policy when passed valid sandbox token values + allows script as a require-sri-src + does not add a directive if the value is an empty array (or all nil) + allows script and style as a require-sri-src + includes prefetch-src + includes navigate-to + supports strict-dynamic + removes http/s schemes from hosts + deprecates and escapes semicolons in directive source lists + deprecates and escapes semicolons in directive source lists + does not remove schemes from report-uri values + allows style as a require-sri-src + deduplicates any source expressions + supports style-src-attr directive + discards 'none' values if any other source expressions are present + does not remove schemes when :preserve_schemes is true + minifies source expressions based on overlapping wildcards + supports script-src-elem directive + does not build directives with a value of OPT_OUT (and bypasses directive requirements) + does not add a boolean directive if the value is false + discards source expressions (besides unsafe-* and non-host source values) when * is present + does not add a directive if the value is nil + does not emit a warning when using frame-src + creates maximally strict sandbox policy when passed true + #name + when in enforce mode + is expected to eq "Content-Security-Policy" + when in report-only mode + is expected to eq "Content-Security-Policy-Report-Only" -Finished in 0.15985 seconds (files took 0.30779 seconds to load) +Finished in 0.28943 seconds (files took 0.93041 seconds to load) 240 examples, 0 failures -Randomized with seed 42070 +Randomized with seed 15799 [Coveralls] Outside the CI environment, not sending data. @@ -1469,12 +1539,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/14367/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14367/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/6089 and its subdirectories -I: Current time: Fri Aug 19 23:46:41 -12 2022 -I: pbuilder-time-stamp: 1660996001 +I: removing directory /srv/workspace/pbuilder/14367 and its subdirectories +I: Current time: Sun Jul 18 19:30:00 +14 2021 +I: pbuilder-time-stamp: 1626586200