Diff of the two buildlogs: -- --- b1/build.log 2021-07-29 22:44:24.062988568 +0000 +++ b2/build.log 2021-07-29 22:46:32.066134657 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jul 29 10:42:52 -12 2021 -I: pbuilder-time-stamp: 1627598572 +I: Current time: Fri Jul 30 12:44:34 +14 2021 +I: pbuilder-time-stamp: 1627598674 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./ruby-rbnacl_7.1.1-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.WfVfip8T/trustedkeys.kbx': General error -gpgv: Signature made Fri Jan 31 17:22:36 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.uknOogJO/trustedkeys.kbx': General error +gpgv: Signature made Sat Feb 1 19:22:36 2020 +14 gpgv: using RSA key 8DB3E586865D2B4A2B185A5C5001E1B09AA3744B gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-rbnacl_7.1.1-1.dsc @@ -30,135 +30,169 @@ dpkg-source: info: applying 0005-Drop-development-dependency-on-bundler.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3164/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20096/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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/20096/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20096/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='55c5b04a4faf48c1a3f7f944cd3517d5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='3164' - PS1='# ' - PS2='> ' + INVOCATION_ID=55ea7c616ad64201964c0aff7c1ecdfb + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=20096 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.pmLOA8RSFq/pbuilderrc_OGSk --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.pmLOA8RSFq/b1 --logfile b1/build.log ruby-rbnacl_7.1.1-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.pmLOA8RSFq/pbuilderrc_YoeT --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.pmLOA8RSFq/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rbnacl_7.1.1-1.dsc' + SUDO_GID=112 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux virt64b 5.10.0-8-arm64 #1 SMP Debian 5.10.46-2 (2021-07-20) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-2 (2021-07-20) armv7l GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Jun 21 14:26 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 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 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Feb 7 02:38 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 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Feb 7 02:38 more - -rwsr-xr-x 1 root root 34400 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 9824 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:26 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 24 21:25 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Feb 7 02:38 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/3164/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Jun 22 16:26 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 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 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 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 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 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 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Feb 8 04:38 more + -rwsr-xr-x 1 root root 34400 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 9824 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 88524 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 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:26 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 30 12:44 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 25 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Feb 8 04:38 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 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/20096/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -364,7 +398,7 @@ Get: 156 http://deb.debian.org/debian bullseye/main armhf ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 157 http://deb.debian.org/debian bullseye/main armhf ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 158 http://deb.debian.org/debian bullseye/main armhf ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 44.3 MB in 4s (10.3 MB/s) +Fetched 44.3 MB in 5s (8083 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 ... 19398 files and directories currently installed.) @@ -1020,8 +1054,45 @@ 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 armhf libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main armhf libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main armhf libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main armhf usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (762 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 ... 27685 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-rbnacl-7.1.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-rbnacl_7.1.1-1_source.changes +hostname: Name or service not known +I: Running cd /build/ruby-rbnacl-7.1.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-rbnacl_7.1.1-1_source.changes dpkg-buildpackage: info: source package ruby-rbnacl dpkg-buildpackage: info: source version 7.1.1-1 dpkg-buildpackage: info: source distribution unstable @@ -1058,43 +1129,43 @@ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/one_time_auths/poly1305.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/one_time_auths/poly1305.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/auth.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/auth.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/signatures/ed25519/verify_key.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/signatures/ed25519/verify_key.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/signatures/ed25519/signing_key.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/signatures/ed25519/signing_key.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/signatures/ed25519.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/signatures/ed25519.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/password_hash.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/password_hash.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/secret_boxes/xsalsa20poly1305.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/secret_boxes/xsalsa20poly1305.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/version.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/version.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hash/blake2b.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hash/blake2b.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hash/sha512.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hash/sha512.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hash/sha256.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hash/sha256.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hash/blake2b.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hash/blake2b.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/simple_box.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/simple_box.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/one_time_auths/poly1305.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/one_time_auths/poly1305.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hmac/sha512256.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hmac/sha512256.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hmac/sha512.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hmac/sha512.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hmac/sha256.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hmac/sha256.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/sodium/version.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/sodium/version.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hash.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hash.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/serializable.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/serializable.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/secret_boxes/xsalsa20poly1305.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/secret_boxes/xsalsa20poly1305.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/chacha20poly1305_ietf.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/chacha20poly1305_ietf.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/chacha20poly1305_legacy.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/chacha20poly1305_legacy.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/xchacha20poly1305_ietf.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/xchacha20poly1305_ietf.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/base.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/base.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/init.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/init.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/self_test.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/self_test.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/util.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/util.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/boxes/curve25519xsalsa20poly1305/public_key.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/boxes/curve25519xsalsa20poly1305/public_key.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/boxes/curve25519xsalsa20poly1305/private_key.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/boxes/curve25519xsalsa20poly1305/private_key.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/boxes/curve25519xsalsa20poly1305.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/boxes/curve25519xsalsa20poly1305.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/boxes/sealed.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/boxes/sealed.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/test_vectors.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/test_vectors.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/simple_box.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/simple_box.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/init.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/init.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/password_hash.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/password_hash.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hash.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hash.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/util.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/util.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/sodium/version.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/sodium/version.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/random.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/random.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/password_hash/argon2.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/password_hash/argon2.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/password_hash/scrypt.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/password_hash/scrypt.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/group_elements/curve25519.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/group_elements/curve25519.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/boxes/curve25519xsalsa20poly1305.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/boxes/curve25519xsalsa20poly1305.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/chacha20poly1305_legacy.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/chacha20poly1305_legacy.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/chacha20poly1305_ietf.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/chacha20poly1305_ietf.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/base.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/base.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/aead/xchacha20poly1305_ietf.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/aead/xchacha20poly1305_ietf.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/auth.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/auth.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/key_comparator.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/key_comparator.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hmac/sha512.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hmac/sha512.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hmac/sha256.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hmac/sha256.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/hmac/sha512256.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/hmac/sha512256.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/self_test.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/self_test.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/signatures/ed25519/verify_key.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/signatures/ed25519/verify_key.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/signatures/ed25519/signing_key.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/signatures/ed25519/signing_key.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/signatures/ed25519.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/signatures/ed25519.rb install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/sodium.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/sodium.rb -install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/version.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/version.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/group_elements/curve25519.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/group_elements/curve25519.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/password_hash/argon2.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/password_hash/argon2.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/password_hash/scrypt.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/password_hash/scrypt.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/test_vectors.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/test_vectors.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl/random.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl/random.rb +install -D -m644 /build/ruby-rbnacl-7.1.1/lib/rbnacl.rb /build/ruby-rbnacl-7.1.1/debian/ruby-rbnacl/usr/lib/ruby/vendor_ruby/rbnacl.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ @@ -1118,491 +1189,491 @@ [Coveralls] Set up the SimpleCov formatter. [Coveralls] Using SimpleCov's default settings. -Randomized with seed 15697 +Randomized with seed 5272 -RbNaCl::HMAC::SHA512 - Instance methods - #hexdigest - returns hex authenticator - #digest - returns an authenticator - #update - returns hexdigest when produces an authenticator - .verify - fails to validate an invalid authenticator - fails to validate a long authenticator - fails to validate a short authenticator - raises TypeError on a nil key - verify an authenticator +RbNaCl::OneTimeAuths::Poly1305 Instance methods #verify - fails to validate an invalid authenticator fails to validate a long authenticator + fails to validate an invalid authenticator verifies an authenticator fails to validate a short authenticator #auth produces an authenticator - .new - raises EncodingError on a key with wrong encoding .auth - raises EncodingError on a key with wrong encoding - .verify - raises EncodingError on a key with wrong encoding + raises ArgumentError on a key which is too long + .new + raises ArgumentError on a key which is too long .auth produces an authenticator raises TypeError on a nil key + .verify + fails to validate an invalid authenticator + verify an authenticator + fails to validate a short authenticator + raises TypeError on a nil key + fails to validate a long authenticator .new + requires a key accepts a key raises TypeError on a nil key - requires a key - -RbNaCl::SimpleBox - instantiation - can be instantiated from an already existing box - can be instantiated from a secret key - raises TypeError when given nil secret keys in the pair - can be instantiated from a key-pair - raises TypeError when given a nil secret key - cryptography - bob - decrypts a message from alice - decrypts a message with a 'random' nonce - decrypts own message - -RbNaCl::Random - produces different random bytes - produces random bytes - -RbNaCl::Sodium - .sodium_constant - retrieves the libsodium constant - with fallback - when libsodium defines the constant -/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes -/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes -/build/ruby-rbnacl-7.1.1/lib/rbnacl/sodium.rb:44: warning: already initialized constant SodiumExtendedClass::BYTES -/build/ruby-rbnacl-7.1.1/lib/rbnacl/sodium.rb:44: warning: previous definition of BYTES was here - return the libsodium value - when libsodium does not define the constant - uses the fallback - with alternate constant name -/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes -/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes - sets the alternate constant name - when libsodium does not define the constant - raises an exception - -RbNaCl::SecretBoxes::XSalsa20Poly1305 - open - raises on a short nonce - raises on a long nonce - raises on a truncated message to decrypt - raises on a corrupt ciphertext - decrypts a message - new - raises on a short key - accepts strings - raises on a nil key - box - encrypts a message - raises on a short nonce - raises on a long nonce - -RbNaCl::PasswordHash::Argon2 - calculates the correct argon2id digest for a reference password/salt - verifies password - calculates the correct argon2 default digest - fails on invalid passwords - calculates the correct argon2i digest for a reference password/salt - creates digest string + .verify + raises ArgumentError on a key which is too long -RbNaCl::Hash::Blake2b - calculates the correct hash for a reference string - calculates the correct hash for an empty string - salted - calculates saltised hashes correctly with a short salt - calculates saltised hashes correctly - arbitrary length message API - calculates saltised hashes correctly with a short salt - calculates saltised hashes correctly - personalized - calculates personalised hashes correctly - calculates personalised hashes correctly with a short personal - arbitrary length message API - calculates personalised hashes correctly - calculates personalised hashes correctly with a short personal - arbitrary length message API - raise CryptoError when digest called without reset / message - calculates the correct hash for a reference string - calculates the correct hash for an empty string - calculates hash for empty string when digest called directly after reset - keyed - calculates keyed hashes correctly - doesn't accept empty strings as a key - arbitrary length message API - calculates keyed hashes correctly - doesn't accept empty strings as a key +RbNaCl::PasswordHash::SCrypt + calculates the correct digest for a reference password/salt -RbNaCl::Signatures::Ed25519::VerifyKey - serializes to bytes - raises when asked to verify too short signed message - raises when asked to verify a bad signature, full version - raises when asked to verify a bad signature - raises when asked to verify a short signature - verifies correct signatures - verifies correct signatures, full version - raises when asked to verify a nil signed message - initializes from bytes - serialization - supports #to_s - supports #to_str - supports #inspect - lexicographic sorting - can be compared lexicographically to a key smaller than it - can be compared lexicographically to a key larger than it +RbNaCl::Boxes::Curve25519XSalsa20Poly1305::PrivateKey equality - equal keys are equal to the string keys are not equal to zero keys are not equal to another key equal keys are equal - -RbNaCl::Boxes::Curve25519XSalsa20Poly1305::PublicKey - serialization - supports #to_s - supports #inspect - supports #to_str - #to_s - returns the bytes of the key - #to_bytes - returns the bytes of the key + equal keys are equal to the string lexicographic sorting can be compared lexicographically to a key smaller than it can be compared lexicographically to a key larger than it - equality - equal keys are equal to the string - keys are not equal to another key - keys are not equal to zero - equal keys are equal + serialization + supports #to_s + supports #to_str + supports #inspect + public_key + returns a public key + returns the correct public key new + raises TypeError when given a nil key accepts a valid key - rejects a short key - rejects a nil key - -RbNaCl::Boxes::Sealed - new - accepts public KeyPairs - raises TypeError on a nil public key - accepts private KeyPairs - raises RbNaCl::LengthError on an invalid private key - raises RbNaCl::LengthError on an invalid public key - accepts private key strings - accepts public key strings - raises TypeError on a nil private key - box - roundtrips - open - raises on a truncated message to decrypt - raises on a corrupt ciphertext + raises ArgumentError when given a short key + #to_bytes + returns the bytes of the key + #to_s + returns the raw bytes of the key + generate + returns a secret key + has the public key also set -RbNaCl::AEAD::ChaCha20Poly1305Legacy +RbNaCl::SecretBoxes::XSalsa20Poly1305 new accepts strings raises on a nil key raises on a short key - raises on a long key - encrypt + open + raises on a long nonce + raises on a short nonce + decrypts a message + raises on a truncated message to decrypt + raises on a corrupt ciphertext + box encrypts a message + raises on a long nonce + raises on a short nonce + +RbNaCl::Boxes::Curve25519XSalsa20Poly1305 + open raises on a short nonce raises on a long nonce - works with an empty message - works with an empty additional data - decrypt - raises on a corrupt ciphertext decrypts a message - raises when the additional data is corrupt raises on a truncated message to decrypt + raises on a corrupt ciphertext + box raises on a short nonce raises on a long nonce - raises when the additional data is truncated + encrypts a message + new + accepts KeyPairs + raises TypeError on a nil secret key + accepts strings + raises RbNaCl::LengthError on an invalid public key + raises RbNaCl::LengthError on an invalid secret key + raises TypeError on a nil public key -RbNaCl::OneTimeAuths::Poly1305 - .verify - raises ArgumentError on a key which is too long +RbNaCl::PasswordHash::Argon2 + creates digest string + verifies password + calculates the correct argon2i digest for a reference password/salt + calculates the correct argon2 default digest + fails on invalid passwords + calculates the correct argon2id digest for a reference password/salt + +RbNaCl::Sodium + .sodium_constant + retrieves the libsodium constant + with alternate constant name +/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes +/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes + sets the alternate constant name + with fallback + when libsodium does not define the constant + uses the fallback + when libsodium defines the constant +/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes +/usr/lib/ruby/vendor_ruby/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes +/build/ruby-rbnacl-7.1.1/lib/rbnacl/sodium.rb:44: warning: already initialized constant SodiumExtendedClass::BYTES +/build/ruby-rbnacl-7.1.1/lib/rbnacl/sodium.rb:44: warning: previous definition of BYTES was here + return the libsodium value + when libsodium does not define the constant + raises an exception + +RbNaCl::HMAC::SHA512 + Instance methods + #verify + fails to validate a short authenticator + fails to validate a long authenticator + verifies an authenticator + fails to validate an invalid authenticator + #auth + produces an authenticator + Instance methods + #update + returns hexdigest when produces an authenticator + #digest + returns an authenticator + #hexdigest + returns hex authenticator .new requires a key - accepts a key raises TypeError on a nil key - .new - raises ArgumentError on a key which is too long + accepts a key + .auth + raises EncodingError on a key with wrong encoding .auth raises TypeError on a nil key produces an authenticator .verify - fails to validate a short authenticator - verify an authenticator + fails to validate an invalid authenticator raises TypeError on a nil key + fails to validate a short authenticator fails to validate a long authenticator - fails to validate an invalid authenticator - Instance methods - #verify - fails to validate a long authenticator - verifies an authenticator - fails to validate a short authenticator - fails to validate an invalid authenticator - #auth - produces an authenticator - .auth - raises ArgumentError on a key which is too long - -RbNaCl::PasswordHash::SCrypt - calculates the correct digest for a reference password/salt + verify an authenticator + .new + raises EncodingError on a key with wrong encoding + .verify + raises EncodingError on a key with wrong encoding RbNaCl::Util - check_length - rejects strings which are too short - rejects nil strings - rejects strings which are too long - accepts strings of the correct length + .verify32 + confirms non-identical messages are non-identical + confirms identical messages are identical .verify16! + confirms non-identical messages are non-identical raises descriptively on a long message in position 2 raises descriptively on a short message in position 1 - confirms non-identical messages are non-identical raises descriptively on a short message in position 2 confirms identical messages are identical raises descriptively on a long message in position 1 - .verify64 - confirms identical messages are identical - confirms non-identical messages are non-identical .verify64! - raises descriptively on a short message in position 2 - raises descriptively on a short message in position 1 raises descriptively on a long message in position 2 + raises descriptively on a short message in position 2 confirms non-identical messages are non-identical - raises descriptively on a long message in position 1 confirms identical messages are identical - .verify32 + raises descriptively on a short message in position 1 + raises descriptively on a long message in position 1 + check_string + raises EncodingError when given strings with non-BINARY encoding + .verify16 confirms identical messages are identical confirms non-identical messages are non-identical hex encoding encodes to hex with bin2hex decodes from hex with hex2bin - check_string - raises EncodingError when given strings with non-BINARY encoding + check_length + accepts strings of the correct length + rejects strings which are too short + rejects strings which are too long + rejects nil strings + .verify64 + confirms identical messages are identical + confirms non-identical messages are non-identical .verify32! + raises descriptively on a long message in position 1 + raises descriptively on a short message in position 2 confirms identical messages are identical raises descriptively on a long message in position 2 - raises descriptively on a short message in position 2 raises descriptively on a short message in position 1 - raises descriptively on a long message in position 1 - confirms non-identical messages are non-identical - .verify16 confirms non-identical messages are non-identical - confirms identical messages are identical -RbNaCl::AEAD::XChaCha20Poly1305IETF +RbNaCl::SimpleBox + instantiation + raises TypeError when given a nil secret key + raises TypeError when given nil secret keys in the pair + can be instantiated from a key-pair + can be instantiated from a secret key + can be instantiated from an already existing box + cryptography + bob + decrypts a message with a 'random' nonce + decrypts own message + decrypts a message from alice + +RbNaCl::Boxes::Curve25519XSalsa20Poly1305::PublicKey + equality + equal keys are equal + equal keys are equal to the string + keys are not equal to another key + keys are not equal to zero + #to_bytes + returns the bytes of the key + #to_s + returns the bytes of the key + new + rejects a short key + rejects a nil key + accepts a valid key + lexicographic sorting + can be compared lexicographically to a key larger than it + can be compared lexicographically to a key smaller than it + serialization + supports #to_str + supports #to_s + supports #inspect + +RbNaCl::AEAD::ChaCha20Poly1305IETF + new + accepts strings + raises on a long key + raises on a nil key + raises on a short key encrypt + raises on a long nonce works with an empty message works with an empty additional data - encrypts a message - raises on a long nonce raises on a short nonce + encrypts a message decrypt + raises on a short nonce + raises on a long nonce raises when the additional data is truncated - decrypts a message - raises when the additional data is corrupt raises on a corrupt ciphertext + decrypts a message raises on a truncated message to decrypt - raises on a short nonce - raises on a long nonce - new - accepts strings - raises on a nil key - raises on a short key - raises on a long key + raises when the additional data is corrupt RbNaCl::Hash sha512 calculates the correct hash for an empty string - doesn't raise on a null byte calculates the correct hash for a reference string + doesn't raise on a null byte sha256 calculates the correct hash for a reference string - doesn't raise on a null byte calculates the correct hash for an empty string + doesn't raise on a null byte -RbNaCl::HMAC::SHA512256 - .new - raises EncodingError on a key with wrong encoding - Instance methods - #verify - fails to validate a short authenticator - fails to validate an invalid authenticator - verifies an authenticator - fails to validate a long authenticator - #auth - produces an authenticator - .auth - raises TypeError on a nil key - produces an authenticator - Instance methods - #hexdigest - returns hex authenticator - #digest - returns an authenticator - #update - returns hexdigest when produces an authenticator - .auth - raises EncodingError on a key with wrong encoding - .verify - raises EncodingError on a key with wrong encoding - .verify - fails to validate a short authenticator - fails to validate a long authenticator - fails to validate an invalid authenticator - verify an authenticator - raises TypeError on a nil key - .new - raises TypeError on a nil key - requires a key - accepts a key - -RbNaCl::Boxes::Curve25519XSalsa20Poly1305::PrivateKey - new - accepts a valid key - raises ArgumentError when given a short key - raises TypeError when given a nil key - public_key - returns the correct public key - returns a public key - equality - equal keys are equal - keys are not equal to zero - equal keys are equal to the string - keys are not equal to another key - lexicographic sorting - can be compared lexicographically to a key larger than it - can be compared lexicographically to a key smaller than it - #to_s - returns the raw bytes of the key - #to_bytes - returns the bytes of the key - serialization - supports #inspect - supports #to_s - supports #to_str - generate - returns a secret key - has the public key also set - -RbNaCl::Boxes::Curve25519XSalsa20Poly1305 +RbNaCl::Boxes::Sealed new raises TypeError on a nil public key - raises RbNaCl::LengthError on an invalid secret key + accepts public key strings + raises RbNaCl::LengthError on an invalid private key + accepts public KeyPairs + accepts private KeyPairs raises RbNaCl::LengthError on an invalid public key - accepts strings - accepts KeyPairs - raises TypeError on a nil secret key + raises TypeError on a nil private key + accepts private key strings open - decrypts a message raises on a corrupt ciphertext - raises on a short nonce - raises on a long nonce raises on a truncated message to decrypt box - encrypts a message - raises on a short nonce - raises on a long nonce + roundtrips -RbNaCl::AEAD::ChaCha20Poly1305IETF +RbNaCl::Signatures::Ed25519::VerifyKey + verifies correct signatures + raises when asked to verify too short signed message + raises when asked to verify a short signature + serializes to bytes + verifies correct signatures, full version + raises when asked to verify a bad signature, full version + raises when asked to verify a nil signed message + initializes from bytes + raises when asked to verify a bad signature + equality + equal keys are equal to the string + keys are not equal to zero + keys are not equal to another key + equal keys are equal + serialization + supports #to_s + supports #inspect + supports #to_str + lexicographic sorting + can be compared lexicographically to a key larger than it + can be compared lexicographically to a key smaller than it + +RbNaCl::AEAD::ChaCha20Poly1305Legacy encrypt works with an empty message - works with an empty additional data encrypts a message - raises on a long nonce raises on a short nonce + works with an empty additional data + raises on a long nonce decrypt - raises on a corrupt ciphertext + raises on a short nonce raises when the additional data is truncated raises on a truncated message to decrypt + raises on a long nonce + raises on a corrupt ciphertext decrypts a message raises when the additional data is corrupt - raises on a short nonce - raises on a long nonce new accepts strings - raises on a short key raises on a nil key raises on a long key + raises on a short key + +RbNaCl::HMAC::SHA256 + .auth + raises EncodingError on a key with wrong encoding + .new + raises TypeError on a nil key + accepts a key + requires a key + .new + raises EncodingError on a key with wrong encoding + .verify + fails to validate a long authenticator + fails to validate an invalid authenticator + raises TypeError on a nil key + verify an authenticator + fails to validate a short authenticator + Instance methods + #hexdigest + returns hex authenticator + #digest + returns an authenticator + #update + returns hexdigest when produces an authenticator + .auth + raises TypeError on a nil key + produces an authenticator + .verify + raises EncodingError on a key with wrong encoding + Instance methods + #verify + fails to validate an invalid authenticator + fails to validate a short authenticator + verifies an authenticator + fails to validate a long authenticator + #auth + produces an authenticator + +RbNaCl::Hash::Blake2b + calculates the correct hash for a reference string + calculates the correct hash for an empty string + personalized + calculates personalised hashes correctly with a short personal + calculates personalised hashes correctly + arbitrary length message API + calculates personalised hashes correctly with a short personal + calculates personalised hashes correctly + keyed + calculates keyed hashes correctly + doesn't accept empty strings as a key + arbitrary length message API + calculates keyed hashes correctly + doesn't accept empty strings as a key + salted + calculates saltised hashes correctly + calculates saltised hashes correctly with a short salt + arbitrary length message API + calculates saltised hashes correctly + calculates saltised hashes correctly with a short salt + arbitrary length message API + calculates hash for empty string when digest called directly after reset + raise CryptoError when digest called without reset / message + calculates the correct hash for an empty string + calculates the correct hash for a reference string RbNaCl::Signatures::Ed25519::SigningKey - signs messages, full version generates keys - serializes the internal signing key to bytes - signs messages as bytes serializes to bytes + signs messages as bytes + serializes the internal signing key to bytes + signs messages, full version + lexicographic sorting + can be compared lexicographically to a key larger than it + can be compared lexicographically to a key smaller than it equality keys are not equal to another key - keys are not equal to zero equal keys are equal to the string equal keys are equal + keys are not equal to zero serialization supports #to_s supports #inspect supports #to_str - lexicographic sorting - can be compared lexicographically to a key larger than it - can be compared lexicographically to a key smaller than it -RbNaCl::HMAC::SHA256 - Instance methods - #auth - produces an authenticator - #verify - fails to validate a short authenticator - verifies an authenticator - fails to validate a long authenticator - fails to validate an invalid authenticator +RbNaCl::HMAC::SHA512256 + .new + raises EncodingError on a key with wrong encoding + .auth + raises EncodingError on a key with wrong encoding .verify fails to validate an invalid authenticator - raises TypeError on a nil key fails to validate a short authenticator - verify an authenticator fails to validate a long authenticator + verify an authenticator + raises TypeError on a nil key .verify raises EncodingError on a key with wrong encoding + .new + raises TypeError on a nil key + accepts a key + requires a key .auth raises TypeError on a nil key produces an authenticator Instance methods - #update - returns hexdigest when produces an authenticator - #hexdigest - returns hex authenticator #digest returns an authenticator - .new - raises EncodingError on a key with wrong encoding - .auth - raises EncodingError on a key with wrong encoding - .new - accepts a key - raises TypeError on a nil key - requires a key + #hexdigest + returns hex authenticator + #update + returns hexdigest when produces an authenticator + Instance methods + #auth + produces an authenticator + #verify + fails to validate a short authenticator + fails to validate a long authenticator + verifies an authenticator + fails to validate an invalid authenticator + +RbNaCl::Random + produces random bytes + produces different random bytes RbNaCl::GroupElements::Curve25519 - multiplies integers with arbitrary points - multiplies integers with the base point serializes to bytes detects degenerate keys + multiplies integers with the base point + multiplies integers with arbitrary points serialization - supports #to_str - supports #to_s supports #inspect + supports #to_s + supports #to_str + +RbNaCl::AEAD::XChaCha20Poly1305IETF + decrypt + raises on a long nonce + decrypts a message + raises on a short nonce + raises when the additional data is corrupt + raises on a corrupt ciphertext + raises on a truncated message to decrypt + raises when the additional data is truncated + new + raises on a long key + accepts strings + raises on a short key + raises on a nil key + encrypt + encrypts a message + works with an empty message + raises on a long nonce + raises on a short nonce + works with an empty additional data -Finished in 2.75 seconds (files took 1.25 seconds to load) +Finished in 3.03 seconds (files took 1.35 seconds to load) 313 examples, 0 failures -Randomized with seed 15697 +Randomized with seed 5272 [Coveralls] Outside the CI environment, not sending data. @@ -1635,12 +1706,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/20096/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20096/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/3164 and its subdirectories -I: Current time: Thu Jul 29 10:44:20 -12 2021 -I: pbuilder-time-stamp: 1627598660 +I: removing directory /srv/workspace/pbuilder/20096 and its subdirectories +I: Current time: Fri Jul 30 12:46:28 +14 2021 +I: pbuilder-time-stamp: 1627598788