Diff of the two buildlogs: -- --- b1/build.log 2024-12-19 17:30:49.057540990 +0000 +++ b2/build.log 2024-12-19 17:32:20.897410979 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 19 05:29:13 -12 2024 -I: pbuilder-time-stamp: 1734629353 +I: Current time: Thu Jan 22 13:53:51 +14 2026 +I: pbuilder-time-stamp: 1769039631 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying 0001-Skip-c2sp.org-CCTV-age-usage-until-packaged.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1633907/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3683840/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Jan 21 23:54 /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/3683840/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3683840/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + 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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='282ff64189f44d6ea2ab40c9cc80082b' - 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='1633907' - PS1='# ' - PS2='> ' + INVOCATION_ID=3a402d7eb9c54afeb5fff42fc82de5d3 + 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=3683840 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.w5HH9zkv/pbuilderrc_oKLY --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.w5HH9zkv/b1 --logfile b1/build.log age_1.2.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.w5HH9zkv/pbuilderrc_akVp --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.w5HH9zkv/b2 --logfile b2/build.log age_1.2.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1633907/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3683840/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -165,7 +197,7 @@ Get: 44 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 45 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] Get: 46 http://deb.debian.org/debian unstable/main arm64 golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] -Fetched 71.1 MB in 1s (130 MB/s) +Fetched 71.1 MB in 1s (116 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 20084 files and directories currently installed.) @@ -364,7 +396,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/age-1.2.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 > ../age_1.2.1-1_source.changes +I: user script /srv/workspace/pbuilder/3683840/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3683840/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/age-1.2.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 > ../age_1.2.1-1_source.changes dpkg-buildpackage: info: source package age dpkg-buildpackage: info: source version 1.2.1-1 dpkg-buildpackage: info: source distribution unstable @@ -385,82 +421,82 @@ make[1]: Entering directory '/build/reproducible-path/age-1.2.1' dh_auto_build -- -buildmode=pie -ldflags "-X main.Version=1.2.1" cd _build && go install -trimpath -v -p 12 -buildmode=pie -ldflags "-X main.Version=1.2.1" filippo.io/age filippo.io/age/agessh filippo.io/age/armor filippo.io/age/cmd/age filippo.io/age/cmd/age-keygen filippo.io/age/internal/bech32 filippo.io/age/internal/format filippo.io/age/internal/stream filippo.io/age/plugin -internal/unsafeheader -internal/coverage/rtcov internal/goarch -internal/godebugs -internal/race internal/goos -internal/byteorder -sync/atomic +internal/coverage/rtcov internal/profilerecord -internal/runtime/syscall -unicode +internal/byteorder internal/goexperiment +internal/unsafeheader +internal/race +sync/atomic +internal/godebugs +runtime/internal/math internal/cpu -unicode/utf8 +runtime/internal/sys +unicode +internal/runtime/syscall math/bits +unicode/utf8 +crypto/internal/boring/sig +internal/asan internal/abi -runtime/internal/math -runtime/internal/sys internal/chacha8rand -crypto/internal/alias crypto/subtle -crypto/internal/boring/sig -internal/asan -math +crypto/internal/alias internal/itoa internal/msan +internal/bytealg +internal/runtime/atomic cmp +math golang.org/x/crypto/internal/alias unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace log/internal -golang.org/x/crypto/cryptobyte/asn1 encoding -internal/bytealg -internal/runtime/atomic +golang.org/x/crypto/cryptobyte/asn1 internal/runtime/exithook internal/stringslite runtime internal/reflectlite sync -iter internal/weak +iter slices internal/bisect internal/testlog internal/singleflight runtime/cgo -internal/godebug errors sort +internal/godebug io -strconv internal/oserror path -math/rand +strconv crypto/internal/edwards25519/field crypto/internal/nistec/fiat +vendor/golang.org/x/net/dns/dnsmessage +math/rand/v2 +syscall +math/rand bytes strings -vendor/golang.org/x/net/dns/dnsmessage hash crypto/internal/randutil -math/rand/v2 -syscall -crypto/internal/edwards25519 reflect +crypto crypto/rc4 +crypto/internal/edwards25519 internal/concurrent -crypto -golang.org/x/crypto/blowfish -bufio crypto/cipher -regexp/syntax crypto/md5 +golang.org/x/crypto/blowfish unique +bufio +regexp/syntax crypto/internal/boring crypto/des net/netip @@ -471,26 +507,26 @@ crypto/sha1 golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 -regexp -golang.org/x/crypto/ssh/internal/bcrypt_pbkdf internal/syscall/unix time internal/syscall/execenv +golang.org/x/crypto/ssh/internal/bcrypt_pbkdf +regexp io/fs internal/poll context internal/filepathlite embed -internal/fmtsort encoding/binary +internal/fmtsort crypto/internal/nistec os encoding/base64 golang.org/x/crypto/chacha20 golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/scrypt -filippo.io/edwards25519/field golang.org/x/sys/unix +filippo.io/edwards25519/field encoding/pem golang.org/x/crypto/chacha20poly1305 filippo.io/edwards25519 @@ -498,28 +534,28 @@ golang.org/x/crypto/curve25519 fmt path/filepath -net os/exec +net math/big -filippo.io/age/internal/bech32 encoding/hex +filippo.io/age/internal/bech32 filippo.io/age/internal/format filippo.io/age/internal/stream -log net/url +log golang.org/x/sys/execabs flag runtime/debug filippo.io/age/armor golang.org/x/term crypto/rand -crypto/internal/bigmod crypto/internal/boring/bbig crypto/dsa crypto/elliptic encoding/asn1 -crypto/ed25519 +crypto/internal/bigmod filippo.io/age +crypto/ed25519 crypto/rsa filippo.io/age/plugin filippo.io/age/cmd/age-keygen @@ -538,7 +574,7 @@ === RUN TestEncryptDecryptX25519 --- PASS: TestEncryptDecryptX25519 (0.00s) === RUN TestEncryptDecryptScrypt ---- PASS: TestEncryptDecryptScrypt (0.42s) +--- PASS: TestEncryptDecryptScrypt (0.40s) === RUN TestParseIdentities === RUN TestParseIdentities/valid === RUN TestParseIdentities/invalid @@ -546,11 +582,11 @@ --- PASS: TestParseIdentities/valid (0.00s) --- PASS: TestParseIdentities/invalid (0.00s) === RUN TestLabels ---- PASS: TestLabels (5.27s) +--- PASS: TestLabels (3.75s) === RUN TestX25519RoundTrip --- PASS: TestX25519RoundTrip (0.00s) === RUN TestScryptRoundTrip ---- PASS: TestScryptRoundTrip (0.30s) +--- PASS: TestScryptRoundTrip (0.22s) === RUN TestVectors testkit_test.go:28: Skip c2sp until package in Debian --- SKIP: TestVectors (0.00s) @@ -566,13 +602,13 @@ === RUN ExampleGenerateX25519Identity --- PASS: ExampleGenerateX25519Identity (0.00s) PASS -ok filippo.io/age 6.028s +ok filippo.io/age 4.402s === RUN TestSSHRSARoundTrip ---- PASS: TestSSHRSARoundTrip (1.77s) +--- PASS: TestSSHRSARoundTrip (0.39s) === RUN TestSSHEd25519RoundTrip --- PASS: TestSSHEd25519RoundTrip (0.01s) PASS -ok filippo.io/age/agessh 1.825s +ok filippo.io/age/agessh 0.409s === RUN TestArmor === RUN TestArmor/PartialLine === RUN TestArmor/FullLine @@ -586,7 +622,7 @@ === RUN ExampleNewReader --- PASS: ExampleNewReader (0.00s) PASS -ok filippo.io/age/armor 0.040s +ok filippo.io/age/armor 0.033s === RUN TestScript === RUN TestScript/ed25519 === PAUSE TestScript/ed25519 @@ -611,16 +647,16 @@ === CONT TestScript/ed25519 === CONT TestScript/scrypt === CONT TestScript/x25519 +=== CONT TestScript/usage +=== CONT TestScript/terminal === CONT TestScript/pkcs8 === CONT TestScript/rsa === CONT TestScript/plugin === CONT TestScript/output_file -=== CONT TestScript/terminal === CONT TestScript/encrypted_keys -=== CONT TestScript/usage === NAME TestScript/pkcs8 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -631,7 +667,7 @@ exe= # https://github.com/FiloSottile/age/discussions/428 - # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.140s) + # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.176s) > age -e -i key.pem -o test.age input > age -d -i key.pem test.age [stdout] @@ -640,45 +676,9 @@ > ! stderr . PASS -=== NAME TestScript/x25519 - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - GOTRACEBACK=system - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - exe= - - # encrypt and decrypt a file with -r (0.141s) - > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o test.age input - > age -d -i key.txt test.age - [stdout] - test - > cmp stdout input - > ! stderr . - # encrypt and decrypt a file with -i (0.071s) - > age -e -i key.txt -o test.age input - > age -d -i key.txt test.age - [stdout] - test - > cmp stdout input - > ! stderr . - # encrypt and decrypt a file with the wrong key (0.061s) - > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input - > ! age -d -i key.txt test.age - [stderr] - age: error: no identity matched any of the recipients - age: report unexpected or unhelpful errors at https://filippo.io/age/report - [exit status 1] - > stderr 'no identity matched any of the recipients' - PASS - === NAME TestScript/usage testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -688,7 +688,7 @@ $=$ exe= - # -help (0.052s) + # -help (0.090s) > age -p -help [stderr] Usage: @@ -732,7 +732,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # -h (0.069s) + # -h (0.040s) > age -p -h [stderr] Usage: @@ -776,7 +776,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # unknown flag (0.087s) + # unknown flag (0.049s) > ! age -p -this-flag-does-not-exist [stderr] flag provided but not defined: -this-flag-does-not-exist @@ -823,7 +823,7 @@ > ! stdout . > stderr 'flag provided but not defined' > stderr 'Usage:' - # no arguments (0.053s) + # no arguments (0.028s) > ! age [stderr] Usage: @@ -872,7 +872,7 @@ === NAME TestScript/ed25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -882,21 +882,21 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.161s) + # encrypt and decrypt a file with -R (0.110s) > age -R key.pem.pub -o test.age input > age -d -i key.pem test.age [stdout] test > cmp stdout input > ! stderr . - # encrypt and decrypt a file with -i (0.088s) + # encrypt and decrypt a file with -i (0.076s) > age -e -i key.pem -o test.age input > age -d -i key.pem test.age [stdout] test > cmp stdout input > ! stderr . - # encrypt and decrypt a file with the wrong key (0.076s) + # encrypt and decrypt a file with the wrong key (0.064s) > age -R otherkey.pem.pub -o test.age input > ! age -d -i key.pem test.age [stderr] @@ -907,9 +907,9 @@ > ! stdout . PASS -=== NAME TestScript/rsa +=== NAME TestScript/x25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -919,23 +919,23 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.138s) - > age -R key.pem.pub -o test.age input - > age -d -i key.pem test.age + # encrypt and decrypt a file with -r (0.103s) + > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o test.age input + > age -d -i key.txt test.age [stdout] test > cmp stdout input > ! stderr . - # encrypt and decrypt a file with -i (0.138s) - > age -e -i key.pem -o test.age input - > age -d -i key.pem test.age + # encrypt and decrypt a file with -i (0.102s) + > age -e -i key.txt -o test.age input + > age -d -i key.txt test.age [stdout] test > cmp stdout input > ! stderr . - # encrypt and decrypt a file with the wrong key (0.104s) - > age -R otherkey.pem.pub -o test.age input - > ! age -d -i key.pem test.age + # encrypt and decrypt a file with the wrong key (0.074s) + > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input + > ! age -d -i key.txt test.age [stderr] age: error: no identity matched any of the recipients age: report unexpected or unhelpful errors at https://filippo.io/age/report @@ -943,9 +943,9 @@ > stderr 'no identity matched any of the recipients' PASS -=== NAME TestScript/scrypt +=== NAME TestScript/rsa testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -955,65 +955,33 @@ $=$ exe= - > [!linux] [!darwin] skip # no pty support - > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # encrypt with a provided passphrase (0.114s) - > stdin input - > ttyin terminal - > age -p -o test.age - > ttyout 'Enter passphrase' - > ! stderr . - > ! stdout . - # decrypt with a provided passphrase (0.048s) - > ttyin terminal - > age -d test.age + # encrypt and decrypt a file with -R (0.155s) + > age -R key.pem.pub -o test.age input + > age -d -i key.pem test.age [stdout] test - > ttyout 'Enter passphrase' - > ! stderr . > cmp stdout input - # decrypt with the wrong passphrase (0.050s) - > ttyin wrong - > ! age -d test.age - [stderr] - age: error: incorrect passphrase - age: report unexpected or unhelpful errors at https://filippo.io/age/report - [exit status 1] - > stderr 'incorrect passphrase' - # encrypt with a generated passphrase (0.102s) - > stdin input - > ttyin empty - > age -p -o test.age > ! stderr . - > ! stdout . - > ttyin autogenerated - > age -d test.age + # encrypt and decrypt a file with -i (0.088s) + > age -e -i key.pem -o test.age input + > age -d -i key.pem test.age [stdout] test > cmp stdout input - # fail when -i is present (0.086s) - > ttyin terminal - > ! age -d -i key.txt test.age - [stderr] - age: error: file is passphrase-encrypted but identities were specified with -i/--identity or -j - age: hint: remove all -i/--identity/-j flags to decrypt passphrase-encrypted files - age: report unexpected or unhelpful errors at https://filippo.io/age/report - [exit status 1] - > stderr 'file is passphrase-encrypted but identities were specified' - # fail when passphrases don't match (0.057s) - > ttyin wrong - > ! age -p -o fail.age + > ! stderr . + # encrypt and decrypt a file with the wrong key (0.053s) + > age -R otherkey.pem.pub -o test.age input + > ! age -d -i key.pem test.age [stderr] - age: error: passphrases didn't match + age: error: no identity matched any of the recipients age: report unexpected or unhelpful errors at https://filippo.io/age/report [exit status 1] - > stderr 'passphrases didn''t match' - > ! exists fail.age + > stderr 'no identity matched any of the recipients' PASS === NAME TestScript/terminal testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1025,11 +993,11 @@ > [!linux] [!darwin] skip # no pty support > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # controlling terminal is used instead of stdin/stderr (0.152s) + # controlling terminal is used instead of stdin/stderr (0.102s) > ttyin terminal > age -p -o test.age input > ! stderr . - # autogenerated passphrase is printed to terminal (0.091s) + # autogenerated passphrase is printed to terminal (0.049s) > ttyin empty > age -p -o test.age input > ttyout 'autogenerated passphrase' @@ -1047,7 +1015,7 @@ # noctty # ! age -p -o test.age input # stderr 'standard input is not a terminal' - # prompt for password before plaintext if stdin is the terminal (0.069s) + # prompt for password before plaintext if stdin is the terminal (0.072s) > exec cat terminal input # concatenated password + input [stdout] password @@ -1057,22 +1025,22 @@ > age -p -a -o test.age > ttyout 'Enter passphrase' > ! stderr . - # check the file was encrypted correctly (0.048s) + # check the file was encrypted correctly (0.052s) > ttyin terminal > age -d test.age [stdout] test > cmp stdout input - # buffer armored ciphertext before prompting if stdin is the terminal (0.128s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.103s) > ttyin terminal > age -p -a -o test.age input > exec cat test.age terminal # concatenated ciphertext + password [stdout] -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBrTmw4M0h5OEF5NGpCVktC - bHZFT2NnIDEwCjk2dnZWK2xaMHNQOTQxemVVUUU3QXNrSFpzNUtuNWZTak5mSU1u - NEVxUk0KLS0tIHZvMm8zdndXcmJ5NTNFbmgvTTB4dVFtNEp6WDRMMGl3K2puSjVm - dE1GQ28Km+1naPreR5aeG9er3Lr1wPe9xSfNexe1WBOxZJ2/ywZA7JMD9A== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBaQS9GcnBCTTN6V25KMTZm + Rm5iS0ZnIDEwCjZONjVzaWxrYy92ZkpJb0s5ZGRnZm5BazQ0WEhkTXpMazZmSFUz + SVhxOVUKLS0tIGpFa1BMdmxxVnRrZFJ5REphamo5cUdtc0pvTjM4NDYxT3U4NW1w + RE81RDAKls+CuYXpePd7OoAkKJ3MT8HEgtKB4i9AtM8zeCm/LTvKn3JEGA== -----END AGE ENCRYPTED FILE----- password password @@ -1085,9 +1053,77 @@ > cmp stdout input PASS +=== NAME TestScript/scrypt + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + GOTRACEBACK=system + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + exe= + + > [!linux] [!darwin] skip # no pty support + > [darwin] [go1.20] skip # https://go.dev/issue/61779 + # encrypt with a provided passphrase (0.128s) + > stdin input + > ttyin terminal + > age -p -o test.age + > ttyout 'Enter passphrase' + > ! stderr . + > ! stdout . + # decrypt with a provided passphrase (0.076s) + > ttyin terminal + > age -d test.age + [stdout] + test + > ttyout 'Enter passphrase' + > ! stderr . + > cmp stdout input + # decrypt with the wrong passphrase (0.060s) + > ttyin wrong + > ! age -d test.age + [stderr] + age: error: incorrect passphrase + age: report unexpected or unhelpful errors at https://filippo.io/age/report + [exit status 1] + > stderr 'incorrect passphrase' + # encrypt with a generated passphrase (0.091s) + > stdin input + > ttyin empty + > age -p -o test.age + > ! stderr . + > ! stdout . + > ttyin autogenerated + > age -d test.age + [stdout] + test + > cmp stdout input + # fail when -i is present (0.014s) + > ttyin terminal + > ! age -d -i key.txt test.age + [stderr] + age: error: file is passphrase-encrypted but identities were specified with -i/--identity or -j + age: hint: remove all -i/--identity/-j flags to decrypt passphrase-encrypted files + age: report unexpected or unhelpful errors at https://filippo.io/age/report + [exit status 1] + > stderr 'file is passphrase-encrypted but identities were specified' + # fail when passphrases don't match (0.015s) + > ttyin wrong + > ! age -p -o fail.age + [stderr] + age: error: passphrases didn't match + age: report unexpected or unhelpful errors at https://filippo.io/age/report + [exit status 1] + > stderr 'passphrases didn''t match' + > ! exists fail.age + PASS + === NAME TestScript/plugin testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1104,14 +1140,14 @@ test > cmp stdout input > ! stderr . - # very long identity and recipient (0.176s) + # very long identity and recipient (0.121s) > age -R long-recipient.txt -o test.age input > age -d -i long-key.txt test.age [stdout] test > cmp stdout input > ! stderr . - # check that path separators are rejected (0.131s) + # check that path separators are rejected (0.075s) > chmod 755 age-plugin-pwn/pwn > mkdir $TMPDIR/age-plugin-pwn > cp age-plugin-pwn/pwn $TMPDIR/age-plugin-pwn/pwn @@ -1135,7 +1171,7 @@ === NAME TestScript/output_file testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1145,7 +1181,7 @@ $=$ exe= - # https://github.com/FiloSottile/age/issues/57 (0.383s) + # https://github.com/FiloSottile/age/issues/57 (0.367s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o test.age input > ! age -o test.out -d -i wrong.txt test.age [stderr] @@ -1189,7 +1225,7 @@ age: report unexpected or unhelpful errors at https://filippo.io/age/report [exit status 1] > ! exists test.out - # https://github.com/FiloSottile/age/issues/555 (0.152s) + # https://github.com/FiloSottile/age/issues/555 (0.092s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o empty.age empty > exists empty.age > age -d -i key.txt empty.age @@ -1198,7 +1234,7 @@ > age -d -i key.txt -o new empty.age > ! stderr . > cmp new empty - # https://github.com/FiloSottile/age/issues/491 (0.259s) + # https://github.com/FiloSottile/age/issues/491 (0.124s) > cp input inputcopy > ! age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o inputcopy inputcopy [stderr] @@ -1241,7 +1277,7 @@ [exit status 1] > stderr 'input and output file are the same' > cmp inputcopy input - # https://github.com/FiloSottile/age/issues/159 (0.058s) + # https://github.com/FiloSottile/age/issues/159 (0.084s) > ttyin terminal > age -p -a -o test.age input > ttyin terminalwrong @@ -1257,7 +1293,7 @@ === NAME TestScript/encrypted_keys testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main921045249/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3468292473/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1271,7 +1307,7 @@ # age file password prompt during encryption (0.000s) > [!linux] [!darwin] skip # no pty support > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # use an encrypted OpenSSH private key without .pub file (0.455s) + # use an encrypted OpenSSH private key without .pub file (0.287s) > age -R key_ed25519.pub -o ed25519.age input > rm key_ed25519.pub > ttyin terminal @@ -1280,14 +1316,14 @@ test > cmp stdout input > ! stderr . - # -e -i with an encrypted OpenSSH private key (0.376s) + # -e -i with an encrypted OpenSSH private key (0.188s) > age -e -i key_ed25519 -o ed25519.age input > ttyin terminal > age -d -i key_ed25519 ed25519.age [stdout] test > cmp stdout input - # a file encrypted to the wrong key does not ask for the password (0.072s) + # a file encrypted to the wrong key does not ask for the password (0.032s) > age -R key_ed25519_other.pub -o ed25519_other.age input > ! age -d -i key_ed25519 ed25519_other.age [stderr] @@ -1295,7 +1331,7 @@ age: report unexpected or unhelpful errors at https://filippo.io/age/report [exit status 1] > stderr 'no identity matched any of the recipients' - # use an encrypted legacy PEM private key with a .pub file (0.184s) + # use an encrypted legacy PEM private key with a .pub file (0.136s) > age -R key_rsa_legacy.pub -o rsa_legacy.age input > ttyin terminal > age -d -i key_rsa_legacy rsa_legacy.age @@ -1310,14 +1346,14 @@ age: report unexpected or unhelpful errors at https://filippo.io/age/report [exit status 1] > stderr 'no identity matched any of the recipients' - # -e -i with an encrypted legacy PEM private key (0.100s) + # -e -i with an encrypted legacy PEM private key (0.033s) > age -e -i key_rsa_legacy -o rsa_legacy.age input > ttyin terminal > age -d -i key_rsa_legacy rsa_legacy.age [stdout] test > cmp stdout input - # legacy PEM private key without a .pub file causes an error (0.028s) + # legacy PEM private key without a .pub file causes an error (0.012s) > rm key_rsa_legacy.pub > ! age -d -i key_rsa_legacy rsa_legacy.age [stderr] @@ -1327,7 +1363,7 @@ age: report unexpected or unhelpful errors at https://filippo.io/age/report [exit status 1] > stderr 'key_rsa_legacy.pub' - # mismatched .pub file causes an error (0.060s) + # mismatched .pub file causes an error (0.012s) > cp key_rsa_legacy key_rsa_other > ttyin terminal > ! age -d -i key_rsa_other rsa_other.age @@ -1336,17 +1372,17 @@ age: report unexpected or unhelpful errors at https://filippo.io/age/report [exit status 1] > stderr 'mismatched private and public SSH key' - # buffer armored ciphertext before prompting if stdin is the terminal (0.305s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.212s) > ttyin terminal > age -e -i key_ed25519 -a -o test.age input > exec cat test.age terminal # concatenated ciphertext + password [stdout] -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IG5zRGRiZyA1UHph - ckRsZG90OWpzTjFCSmVoSzg3S1NUYlpTSzJOdGVtZ0xWSXB6NG1BClFaMkV2VW9N - ODdDVjRqNzE2dWpSWWlQKy9lZnJRNm9sd3krSjZueEdqOFUKLS0tIGg5ZFpLWUN0 - SkhFeDlFT2ZVMjBqK01qNHdpMDVMZUJoNC85UzdOVS9zZncKRMkLsud8Fi2Em7+P - oOcmr44ng+zZ0EqbNq8eYZIH7gyJl1a69Q== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IG5zRGRiZyBWV1hU + bjZEelRzaHVneHZFU0xXRzJXTDNvbTFUYW5NNkhCR3J0eTJQaVE4Ckd2ZUUxTDh6 + NnlaRXRsU1AvVXdSWXUwa0xqUUtpMlZtb3RIeFA2KytPZk0KLS0tIFhxK2x1emM1 + aUZVRWNUcFEwcXpmSWdlZGltT01oM05sa2U5TDJZaGVGTWcKG7mW5pTQE/M9Xmi7 + KWVXu/dXhIeggVxPns4xpH6OqFF5VI6Sbg== -----END AGE ENCRYPTED FILE----- password > ttyin -stdin stdout @@ -1359,18 +1395,18 @@ PASS --- PASS: TestScript (0.00s) - --- PASS: TestScript/pkcs8 (0.14s) - --- PASS: TestScript/x25519 (0.27s) - --- PASS: TestScript/usage (0.29s) - --- PASS: TestScript/ed25519 (0.33s) - --- PASS: TestScript/rsa (0.38s) - --- PASS: TestScript/scrypt (0.46s) - --- PASS: TestScript/terminal (0.49s) - --- PASS: TestScript/plugin (0.56s) - --- PASS: TestScript/output_file (0.85s) - --- PASS: TestScript/encrypted_keys (1.58s) + --- PASS: TestScript/pkcs8 (0.18s) + --- PASS: TestScript/usage (0.21s) + --- PASS: TestScript/ed25519 (0.25s) + --- PASS: TestScript/x25519 (0.28s) + --- PASS: TestScript/rsa (0.30s) + --- PASS: TestScript/terminal (0.38s) + --- PASS: TestScript/scrypt (0.38s) + --- PASS: TestScript/plugin (0.44s) + --- PASS: TestScript/output_file (0.67s) + --- PASS: TestScript/encrypted_keys (0.95s) PASS -ok filippo.io/age/cmd/age 1.624s +ok filippo.io/age/cmd/age 1.000s === RUN TestBech32 --- PASS: TestBech32 (0.00s) PASS @@ -1380,7 +1416,7 @@ === RUN FuzzMalleability --- PASS: FuzzMalleability (0.00s) PASS -ok filippo.io/age/internal/format 0.045s +ok filippo.io/age/internal/format 0.030s === RUN TestRoundTrip === RUN TestRoundTrip/len=0,step=512 stream_test.go:72: buffer size: 16 @@ -1414,7 +1450,7 @@ stream_test.go:72: buffer size: 65552 === RUN TestRoundTrip/len=65636,step=65536 stream_test.go:72: buffer size: 65668 ---- PASS: TestRoundTrip (0.02s) +--- PASS: TestRoundTrip (0.03s) --- PASS: TestRoundTrip/len=0,step=512 (0.00s) --- PASS: TestRoundTrip/len=1000,step=512 (0.00s) --- PASS: TestRoundTrip/len=65536,step=512 (0.00s) @@ -1426,17 +1462,17 @@ --- PASS: TestRoundTrip/len=0,step=1000 (0.00s) --- PASS: TestRoundTrip/len=1000,step=1000 (0.00s) --- PASS: TestRoundTrip/len=65536,step=1000 (0.00s) - --- PASS: TestRoundTrip/len=65636,step=1000 (0.00s) + --- PASS: TestRoundTrip/len=65636,step=1000 (0.01s) --- PASS: TestRoundTrip/len=0,step=65536 (0.00s) --- PASS: TestRoundTrip/len=1000,step=65536 (0.01s) --- PASS: TestRoundTrip/len=65536,step=65536 (0.00s) --- PASS: TestRoundTrip/len=65636,step=65536 (0.00s) PASS -ok filippo.io/age/internal/stream 0.064s +ok filippo.io/age/internal/stream 0.057s === RUN TestLabels ---- PASS: TestLabels (0.30s) +--- PASS: TestLabels (0.21s) PASS -ok filippo.io/age/plugin 0.344s +ok filippo.io/age/plugin 0.233s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1467,8 +1503,8 @@ dpkg-gencontrol: warning: package age: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'age' in '../age_1.2.1-1_arm64.deb'. dpkg-deb: building package 'age-dbgsym' in '../age-dbgsym_1.2.1-1_arm64.deb'. +dpkg-deb: building package 'age' in '../age_1.2.1-1_arm64.deb'. dpkg-deb: building package 'golang-filippo-age-dev' in '../golang-filippo-age-dev_1.2.1-1_all.deb'. dpkg-genbuildinfo --build=binary -O../age_1.2.1-1_arm64.buildinfo dpkg-genchanges --build=binary -O../age_1.2.1-1_arm64.changes @@ -1477,12 +1513,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/3683840/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3683840/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/1633907 and its subdirectories -I: Current time: Thu Dec 19 05:30:47 -12 2024 -I: pbuilder-time-stamp: 1734629447 +I: removing directory /srv/workspace/pbuilder/3683840 and its subdirectories +I: Current time: Thu Jan 22 13:55:19 +14 2026 +I: pbuilder-time-stamp: 1769039719