Diff of the two buildlogs: -- --- b1/build.log 2023-05-22 12:13:49.183263095 +0000 +++ b2/build.log 2023-05-22 12:15:18.759333193 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 22 00:12:24 -12 2023 -I: pbuilder-time-stamp: 1684757544 +I: Current time: Mon Jun 24 08:36:52 +14 2024 +I: pbuilder-time-stamp: 1719167812 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-rbnacl_7.1.1.orig.tar.gz] I: copying [./ruby-rbnacl_7.1.1-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Jan 31 17:22:36 2020 -12 +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: cannot verify inline signature for ./ruby-rbnacl_7.1.1-1.dsc: no acceptable signature found @@ -29,52 +29,84 @@ 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/30644/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5170/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 24 08:37 /bin/sh -> /bin/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/5170/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5170/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='30644' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=5170 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/r-b-build.P5BHB719/pbuilderrc_VUey --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.P5BHB719/b1 --logfile b1/build.log ruby-rbnacl_7.1.1-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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/r-b-build.P5BHB719/pbuilderrc_Afmm --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.P5BHB719/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rbnacl_7.1.1-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink14-arm64 4.15.0-211-generic #222-Ubuntu SMP Tue Apr 18 18:58:27 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-211-generic #222-Ubuntu SMP Tue Apr 18 18:58:27 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 21 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/30644/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 22 06:49 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/5170/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -279,7 +311,7 @@ Get: 155 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 156 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 157 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] -Fetched 47.6 MB in 1s (33.7 MB/s) +Fetched 47.6 MB in 2s (29.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -930,8 +962,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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 +I: user script /srv/workspace/pbuilder/5170/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/5170/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +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 @@ -1026,341 +1067,250 @@ [Coveralls] Set up the SimpleCov formatter. [Coveralls] Using SimpleCov's default settings. -Randomized with seed 43750 - -RbNaCl::Random - produces different random bytes - produces random bytes +Randomized with seed 39021 RbNaCl::Signatures::Ed25519::SigningKey - serializes the internal signing key to bytes - generates keys + signs messages as bytes serializes to bytes signs messages, full version - signs messages as bytes + generates keys + serializes the internal signing key to bytes 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 - keys are not equal to another key + 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::Boxes::Curve25519XSalsa20Poly1305::PublicKey + new + rejects a nil key + rejects a short key + accepts a valid key + equality + keys are not equal to another key + keys are not equal to zero + equal keys are equal + equal keys are equal to the string + #to_bytes + returns the bytes of the key serialization - supports #inspect supports #to_s supports #to_str + supports #inspect + 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 bytes of the key -RbNaCl::Boxes::Curve25519XSalsa20Poly1305::PrivateKey +RbNaCl::SecretBoxes::XSalsa20Poly1305 + box + encrypts a message + raises on a short nonce + raises on a long nonce + open + raises on a corrupt ciphertext + raises on a truncated message to decrypt + decrypts a message + raises on a long nonce + raises on a short nonce new - raises TypeError when given a nil key - accepts a valid key - raises ArgumentError when given a short key + raises on a short key + raises on a nil key + accepts strings + +RbNaCl::PasswordHash::Argon2 + calculates the correct argon2i digest for a reference password/salt + verifies password + fails on invalid passwords + creates digest string + calculates the correct argon2 default digest + calculates the correct argon2id digest for a reference password/salt + +RbNaCl::PasswordHash::SCrypt + calculates the correct digest for a reference password/salt + +RbNaCl::Random + produces random bytes + produces different random bytes + +RbNaCl::Boxes::Curve25519XSalsa20Poly1305::PrivateKey + generate + returns a secret key + has the public key also set public_key returns the correct public key returns a public key + #to_bytes + returns the bytes of the key lexicographic sorting can be compared lexicographically to a key larger than it can be compared lexicographically to a key smaller than it + new + raises ArgumentError when given a short key + accepts a valid key + raises TypeError when given a nil key #to_s returns the raw bytes of the key equality keys are not equal to zero - keys are not equal to another key equal keys are equal to the string equal keys are equal + keys are not equal to another key serialization supports #inspect - supports #to_str supports #to_s - #to_bytes - returns the bytes of the key - generate - returns a secret key - has the public key also set - -RbNaCl::GroupElements::Curve25519 - multiplies integers with arbitrary points - multiplies integers with the base point - detects degenerate keys - serializes to bytes - serialization - supports #to_s - supports #inspect supports #to_str -RbNaCl::Hash - sha256 - doesn't raise on a null byte +RbNaCl::Hash::Blake2b + calculates the correct hash for an empty string + calculates the correct hash for a reference string + keyed + doesn't accept empty strings as a key + calculates keyed hashes correctly + arbitrary length message API + calculates keyed hashes correctly + doesn't accept empty strings as a key + 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 with a short personal + calculates personalised hashes correctly + 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 hash for empty string when digest called directly after reset calculates the correct hash for a reference string calculates the correct hash for an empty string + +RbNaCl::Hash sha512 calculates the correct hash for a reference string calculates the correct hash for an empty string doesn't raise on a null byte + sha256 + calculates the correct hash for an empty string + calculates the correct hash for a reference string + doesn't raise on a null byte RbNaCl::HMAC::SHA256 - .verify - raises EncodingError on a key with wrong encoding - .new - raises EncodingError on a key with wrong encoding Instance methods + #auth + produces an authenticator #verify fails to validate a short authenticator fails to validate an invalid authenticator - fails to validate a long authenticator verifies an authenticator - #auth - produces an authenticator - .verify - raises TypeError on a nil key - fails to validate an invalid authenticator - fails to validate a long authenticator - fails to validate a short authenticator - verify an authenticator - Instance methods - #digest - returns an authenticator - #update - returns hexdigest when produces an authenticator - #hexdigest - returns hex authenticator + fails to validate a long authenticator .new raises TypeError on a nil key - accepts a key requires a key + accepts a key .auth raises EncodingError on a key with wrong encoding + .verify + raises TypeError on a nil key + fails to validate a short authenticator + verify an authenticator + fails to validate an invalid authenticator + fails to validate a long authenticator .auth - produces an authenticator raises TypeError on a nil key - -RbNaCl::PasswordHash::SCrypt - calculates the correct digest for a reference password/salt - -RbNaCl::Boxes::Curve25519XSalsa20Poly1305 - new - accepts KeyPairs - raises TypeError on a nil public key - raises RbNaCl::LengthError on an invalid secret key - raises RbNaCl::LengthError on an invalid public key - accepts strings - raises TypeError on a nil secret key - open - raises on a long nonce - raises on a truncated message to decrypt - raises on a corrupt ciphertext - raises on a short nonce - decrypts a message - box - raises on a long nonce - encrypts a message - raises on a short nonce - -RbNaCl::Sodium - .sodium_constant - retrieves the libsodium constant - when libsodium does not define the constant - raises an exception - with fallback - when libsodium does not define the constant - uses the fallback - when libsodium defines the constant -/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes -/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/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 - with alternate constant name -/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes -/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes - sets the alternate constant name - -RbNaCl::HMAC::SHA512 + produces an authenticator .new raises EncodingError on a key with wrong encoding + .verify + raises EncodingError on a key with wrong encoding Instance methods - #verify - fails to validate a short authenticator - verifies an authenticator - fails to validate a long authenticator - fails to validate an invalid authenticator - #auth - produces an authenticator - Instance methods - #digest - returns an authenticator #hexdigest returns hex authenticator + #digest + returns an authenticator #update returns hexdigest when produces an authenticator - .verify - fails to validate a long authenticator - raises TypeError on a nil key - verify an authenticator - fails to validate an invalid authenticator - fails to validate a short authenticator - .auth - raises EncodingError on a key with wrong encoding - .new - accepts a key - requires a key - raises TypeError on a nil key - .verify - raises EncodingError on a key with wrong encoding - .auth - produces an authenticator - raises TypeError on a nil key RbNaCl::Util - .verify64! - confirms identical messages are identical - raises descriptively on a long message in position 1 - raises descriptively on a long message in position 2 - confirms non-identical messages are non-identical - raises descriptively on a short message in position 1 - raises descriptively on a short message in position 2 - .verify32! - raises descriptively on a long message in position 2 - raises descriptively on a long message in position 1 - raises descriptively on a short message in position 2 - raises descriptively on a short message in position 1 - confirms identical messages are identical - confirms non-identical messages are non-identical - check_length - accepts strings of the correct length - rejects strings which are too long - rejects nil strings - rejects strings which are too short hex encoding - decodes from hex with hex2bin encodes to hex with bin2hex + decodes from hex with hex2bin .verify64 confirms identical messages are identical confirms non-identical messages are non-identical .verify32 confirms identical messages are identical confirms non-identical messages are non-identical + .verify16! + 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 + raises descriptively on a long message in position 1 + raises descriptively on a long message in position 2 + confirms identical messages are identical check_string raises EncodingError when given strings with non-BINARY encoding - .verify16 - confirms identical messages are identical + .verify64! + raises descriptively on a long 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 identical messages are identical raises descriptively on a short message in position 2 - raises descriptively on a long message in position 1 + confirms identical messages are identical + .verify32! raises descriptively on a long message in position 2 + confirms identical messages are identical + confirms non-identical messages are non-identical raises descriptively on a short message in position 1 + raises descriptively on a short message in position 2 + raises descriptively on a long message in position 1 + .verify16 confirms non-identical messages are non-identical - -RbNaCl::Boxes::Sealed - open - raises on a corrupt ciphertext - raises on a truncated message to decrypt - box - roundtrips - new - raises TypeError on a nil private key - raises RbNaCl::LengthError on an invalid public key - raises TypeError on a nil public key - accepts public key strings - accepts public KeyPairs - accepts private KeyPairs - accepts private key strings - raises RbNaCl::LengthError on an invalid private key - -RbNaCl::AEAD::ChaCha20Poly1305IETF - decrypt - raises on a short nonce - raises when the additional data is corrupt - raises when the additional data is truncated - decrypts a message - raises on a truncated message to decrypt - raises on a long nonce - raises on a corrupt ciphertext - encrypt - works with an empty message - raises on a long nonce - works with an empty additional data - raises on a short nonce - encrypts a message - new - raises on a short key - raises on a nil key - raises on a long key - accepts strings - -RbNaCl::Boxes::Curve25519XSalsa20Poly1305::PublicKey - lexicographic sorting - can be compared lexicographically to a key smaller than it - can be compared lexicographically to a key larger than it - serialization - supports #to_str - supports #to_s - supports #inspect - #to_bytes - returns the bytes of the key - new - rejects a nil key - rejects a short key - accepts a valid key - #to_s - returns the bytes of the key - equality - equal keys are equal - equal keys are equal to the string - keys are not equal to zero - keys are not equal to another key - -RbNaCl::AEAD::ChaCha20Poly1305Legacy - decrypt - raises on a long nonce - raises on a short nonce - raises on a corrupt ciphertext - decrypts a message - raises when the additional data is corrupt - raises on a truncated message to decrypt - raises when the additional data is truncated - new - accepts strings - raises on a long key - raises on a short key - raises on a nil key - encrypt - encrypts a message - raises on a short nonce - works with an empty additional data - raises on a long nonce - works with an empty message + confirms identical messages are identical + check_length + rejects strings which are too long + accepts strings of the correct length + rejects nil strings + rejects strings which are too short RbNaCl::OneTimeAuths::Poly1305 .verify - raises ArgumentError on a key which is too long - .new - raises TypeError on a nil key - accepts a key - requires a key - .auth - produces an authenticator - raises TypeError on a nil key - .verify - raises TypeError on a nil key 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 + .auth + produces an authenticator + raises TypeError on a nil key Instance methods #verify - fails to validate a short authenticator - verifies an authenticator fails to validate a long authenticator fails to validate an invalid authenticator + fails to validate a short authenticator + verifies an authenticator #auth produces an authenticator + .auth + raises ArgumentError on a key which is too long .new + accepts a key + requires a key + raises TypeError on a nil key + .verify raises ArgumentError on a key which is too long - .auth + .new raises ArgumentError on a key which is too long RbNaCl::SimpleBox @@ -1370,147 +1320,238 @@ decrypts own message decrypts a message from alice instantiation - can be instantiated from a secret key - raises TypeError when given a nil secret key - can be instantiated from a key-pair can be instantiated from an already existing box + can be instantiated from a key-pair + raises TypeError when given a nil secret key + can be instantiated from a secret key raises TypeError when given nil secret keys in the pair -RbNaCl::PasswordHash::Argon2 - calculates the correct argon2i digest for a reference password/salt - creates digest string - fails on invalid passwords - verifies password - calculates the correct argon2 default digest - calculates the correct argon2id digest for a reference password/salt +RbNaCl::Signatures::Ed25519::VerifyKey + verifies correct signatures, full version + raises when asked to verify too short signed message + raises when asked to verify a bad signature + raises when asked to verify a bad signature, full version + raises when asked to verify a nil signed message + serializes to bytes + verifies correct signatures + raises when asked to verify a short signature + initializes from bytes + serialization + supports #inspect + supports #to_s + 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 + equality + keys are not equal to zero + keys are not equal to another key + equal keys are equal to the string + equal keys are equal + +RbNaCl::Sodium + .sodium_constant + retrieves the libsodium constant + with fallback + when libsodium does not define the constant + uses the fallback + when libsodium defines the constant +/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes +/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/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 + with alternate constant name +/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes +/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: warning: method redefined; discarding old crypto_auth_hmacsha512_bytes + sets the alternate constant name + +RbNaCl::AEAD::XChaCha20Poly1305IETF + decrypt + raises on a truncated message to decrypt + raises when the additional data is truncated + decrypts a message + raises on a long nonce + raises on a short nonce + raises on a corrupt ciphertext + raises when the additional data is corrupt + encrypt + raises on a long nonce + encrypts a message + works with an empty message + raises on a short nonce + works with an empty additional data + new + raises on a long key + raises on a nil key + raises on a short key + accepts strings + +RbNaCl::Boxes::Curve25519XSalsa20Poly1305 + box + raises on a long nonce + raises on a short nonce + encrypts a message + new + raises RbNaCl::LengthError on an invalid secret key + raises RbNaCl::LengthError on an invalid public key + accepts strings + accepts KeyPairs + raises TypeError on a nil secret key + raises TypeError on a nil public key + open + decrypts a message + raises on a truncated message to decrypt + raises on a corrupt ciphertext + raises on a short nonce + raises on a long nonce RbNaCl::HMAC::SHA512256 + .verify + fails to validate a long authenticator + raises TypeError on a nil key + fails to validate a short authenticator + fails to validate an invalid authenticator + verify an authenticator .auth raises EncodingError on a key with wrong encoding - .auth - produces an authenticator - raises TypeError on a nil key + Instance methods + #auth + produces an authenticator + #verify + fails to validate an invalid authenticator + verifies an authenticator + fails to validate a short authenticator + fails to validate a long authenticator + .verify + raises EncodingError on a key with wrong encoding Instance methods #hexdigest returns hex authenticator + #digest + returns an authenticator #update returns hexdigest when produces an authenticator + .new + raises EncodingError on a key with wrong encoding + .auth + produces an authenticator + raises TypeError on a nil key + .new + requires a key + accepts a key + raises TypeError on a nil key + +RbNaCl::HMAC::SHA512 + Instance methods #digest returns an authenticator + #update + returns hexdigest when produces an authenticator + #hexdigest + returns hex authenticator + Instance methods + #verify + verifies an authenticator + fails to validate a long authenticator + fails to validate an invalid authenticator + fails to validate a short authenticator + #auth + produces an authenticator .verify raises EncodingError on a key with wrong encoding + .auth + produces an authenticator + raises TypeError on a nil key .verify fails to validate a short authenticator - raises TypeError on a nil key fails to validate an invalid authenticator + raises TypeError on a nil key fails to validate a long authenticator verify an authenticator .new - accepts a key raises TypeError on a nil key requires a key - Instance methods - #auth - produces an authenticator - #verify - fails to validate a long authenticator - verifies an authenticator - fails to validate an invalid authenticator - fails to validate a short authenticator + accepts a key + .auth + raises EncodingError on a key with wrong encoding .new raises EncodingError on a key with wrong encoding -RbNaCl::SecretBoxes::XSalsa20Poly1305 - box - encrypts a message - raises on a short nonce - raises on a long nonce +RbNaCl::Boxes::Sealed open - raises on a long nonce raises on a truncated message to decrypt - decrypts a message - raises on a short nonce raises on a corrupt ciphertext new + raises TypeError on a nil private key + raises RbNaCl::LengthError on an invalid private key + accepts public key strings + accepts private key strings + accepts private KeyPairs + raises RbNaCl::LengthError on an invalid public key + accepts public KeyPairs + raises TypeError on a nil public key + box + roundtrips + +RbNaCl::GroupElements::Curve25519 + serializes to bytes + multiplies integers with arbitrary points + detects degenerate keys + multiplies integers with the base point + serialization + supports #to_str + supports #to_s + supports #inspect + +RbNaCl::AEAD::ChaCha20Poly1305Legacy + encrypt + works with an empty message + raises on a short nonce + works with an empty additional data + encrypts a message + raises on a long nonce + new accepts strings raises on a short key raises on a nil key - -RbNaCl::AEAD::XChaCha20Poly1305IETF + raises on a long key decrypt - raises on a short nonce - raises on a corrupt ciphertext - raises when the additional data is truncated + raises on a truncated message to decrypt raises when the additional data is corrupt - raises on a long nonce decrypts a message - raises on a truncated message to decrypt + raises when the additional data is truncated + raises on a long nonce + raises on a corrupt ciphertext + raises on a short nonce + +RbNaCl::AEAD::ChaCha20Poly1305IETF new accepts strings raises on a short key raises on a long key raises on a nil 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 + works with an empty message raises on a short nonce + decrypt + decrypts a message + raises when the additional data is truncated + raises when the additional data is corrupt + raises on a truncated message to decrypt + raises on a corrupt ciphertext + raises on a short nonce + raises on a long nonce -RbNaCl::Hash::Blake2b - calculates the correct hash for an empty string - calculates the correct hash for a reference string - personalized - calculates personalised hashes correctly - calculates personalised hashes correctly with a short personal - arbitrary length message API - calculates personalised hashes correctly with a short personal - calculates personalised hashes correctly - salted - calculates saltised hashes correctly with a short salt - calculates saltised hashes correctly - arbitrary length message API - calculates saltised hashes correctly - calculates saltised hashes correctly with a short salt - keyed - doesn't accept empty strings as a key - calculates keyed hashes correctly - arbitrary length message API - doesn't accept empty strings as a key - calculates keyed hashes correctly - arbitrary length message API - calculates the correct hash for a reference string - raise CryptoError when digest called without reset / message - calculates the correct hash for an empty string - calculates hash for empty string when digest called directly after reset - -RbNaCl::Signatures::Ed25519::VerifyKey - raises when asked to verify a short signature - raises when asked to verify a nil signed message - raises when asked to verify a bad signature - serializes to bytes - raises when asked to verify a bad signature, full version - verifies correct signatures - raises when asked to verify too short signed message - initializes from bytes - verifies correct signatures, 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 - equal keys are equal to the string - equal keys are equal - keys are not equal to zero - keys are not equal to another key - serialization - supports #to_s - supports #inspect - supports #to_str - -Finished in 1.69 seconds (files took 1.65 seconds to load) +Finished in 1.64 seconds (files took 1.6 seconds to load) 313 examples, 0 failures -Randomized with seed 43750 +Randomized with seed 39021 [Coveralls] Outside the CI environment, not sending data. @@ -1544,12 +1585,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/5170/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5170/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/30644 and its subdirectories -I: Current time: Mon May 22 00:13:48 -12 2023 -I: pbuilder-time-stamp: 1684757628 +I: removing directory /srv/workspace/pbuilder/5170 and its subdirectories +I: Current time: Mon Jun 24 08:38:17 +14 2024 +I: pbuilder-time-stamp: 1719167897