Diff of the two buildlogs: -- --- b1/build.log 2025-02-14 08:20:45.728604576 +0000 +++ b2/build.log 2025-02-14 08:26:43.080490971 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Mar 19 02:42:42 -12 2026 -I: pbuilder-time-stamp: 1773931362 +I: Current time: Fri Feb 14 22:20:48 +14 2025 +I: pbuilder-time-stamp: 1739521248 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,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/3072499/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3187703/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 Feb 14 08:21 /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/3187703/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3187703/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='7095f86717ae4aa2ab5808bd3244a57f' - 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='3072499' - PS1='# ' - PS2='> ' + INVOCATION_ID=61f95f4994424883aac889e72d938d81 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3187703 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.BeOPB0qB/pbuilderrc_IH8S --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.BeOPB0qB/b1 --logfile b1/build.log age_1.2.1-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.BeOPB0qB/pbuilderrc_ijsI --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.BeOPB0qB/b2 --logfile b2/build.log age_1.2.1-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3072499/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3187703/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -162,7 +194,7 @@ Get: 45 http://deb.debian.org/debian unstable/main amd64 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 46 http://deb.debian.org/debian unstable/main amd64 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] Get: 47 http://deb.debian.org/debian unstable/main amd64 golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] -Fetched 75.7 MB in 1s (113 MB/s) +Fetched 75.7 MB in 3s (22.6 MB/s) Preconfiguring packages ... 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 ... 19808 files and directories currently installed.) @@ -365,7 +397,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/3187703/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3187703/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,101 +421,101 @@ debian/rules override_dh_auto_build 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 42 -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 -log/internal -vendor/golang.org/x/crypto/cryptobyte/asn1 -cmp -golang.org/x/crypto/cryptobyte/asn1 -encoding -unicode/utf8 -internal/byteorder -golang.org/x/crypto/internal/alias -math/bits -crypto/internal/alias -internal/asan + cd _build && go install -trimpath -v -p 20 -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/goos -internal/godebugs -internal/itoa -internal/msan -internal/unsafeheader -internal/race internal/coverage/rtcov -internal/nettrace -internal/profilerecord +internal/asan +internal/godebugs internal/goarch +unicode/utf8 +internal/profilerecord +internal/runtime/syscall +math/bits +internal/race +internal/unsafeheader +internal/itoa internal/cpu -crypto/internal/boring/sig -internal/goexperiment -unicode/utf16 crypto/subtle +internal/msan unicode sync/atomic +crypto/internal/boring/sig +crypto/internal/alias internal/runtime/atomic -internal/runtime/syscall +internal/goexperiment +internal/byteorder +cmp +golang.org/x/crypto/internal/alias runtime/internal/math -internal/abi runtime/internal/sys +unicode/utf16 +vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/nettrace +log/internal +encoding +internal/abi +golang.org/x/crypto/cryptobyte/asn1 internal/chacha8rand +internal/runtime/exithook internal/bytealg math -internal/runtime/exithook internal/stringslite runtime -internal/weak -iter internal/reflectlite +iter sync +internal/weak slices -internal/testlog internal/bisect +internal/testlog internal/singleflight runtime/cgo -internal/godebug -errors sort -internal/oserror +errors io -strconv +internal/oserror path +internal/godebug +crypto/internal/edwards25519/field vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 -crypto/internal/edwards25519/field +strconv crypto/internal/nistec/fiat -syscall math/rand -hash -crypto/internal/randutil +internal/concurrent +syscall bytes +crypto/internal/randutil +hash +crypto/internal/edwards25519 strings +unique crypto crypto/rc4 golang.org/x/crypto/blowfish reflect -internal/concurrent -crypto/cipher crypto/md5 -crypto/internal/edwards25519 -unique +net/netip +crypto/cipher +bufio +regexp/syntax crypto/internal/boring crypto/des -net/netip -crypto/sha1 -crypto/sha512 crypto/hmac crypto/sha256 +crypto/sha512 crypto/aes +crypto/sha1 golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 -bufio -regexp/syntax golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -internal/syscall/execenv +regexp internal/syscall/unix +internal/syscall/execenv time -regexp +internal/poll context io/fs -internal/poll internal/fmtsort encoding/binary internal/filepathlite @@ -487,46 +523,46 @@ crypto/internal/nistec os encoding/base64 -golang.org/x/crypto/scrypt 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 encoding/pem filippo.io/edwards25519 crypto/ecdh golang.org/x/crypto/curve25519 +fmt golang.org/x/sys/cpu path/filepath -fmt net -os/exec golang.org/x/crypto/chacha20poly1305 +os/exec encoding/hex -log +filippo.io/age/internal/bech32 +math/big +filippo.io/age/internal/stream filippo.io/age/internal/format net/url -golang.org/x/sys/execabs -filippo.io/age/internal/bech32 -runtime/debug +log flag -math/big +runtime/debug +golang.org/x/sys/execabs filippo.io/age/armor -filippo.io/age/internal/stream golang.org/x/term crypto/rand -crypto/dsa -crypto/internal/boring/bbig -encoding/asn1 crypto/internal/bigmod +crypto/internal/boring/bbig +crypto/dsa crypto/elliptic -crypto/ed25519 +encoding/asn1 filippo.io/age +crypto/ed25519 crypto/rsa filippo.io/age/plugin filippo.io/age/cmd/age-keygen -crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix golang.org/x/crypto/cryptobyte crypto/ecdsa crypto/x509 @@ -535,12 +571,12 @@ filippo.io/age/cmd/age make[1]: Leaving directory '/build/reproducible-path/age-1.2.1' dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 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 + cd _build && go test -vet=off -v -p 20 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 ? filippo.io/age/cmd/age-keygen [no test files] === RUN TestEncryptDecryptX25519 --- PASS: TestEncryptDecryptX25519 (0.00s) === RUN TestEncryptDecryptScrypt ---- PASS: TestEncryptDecryptScrypt (0.23s) +--- PASS: TestEncryptDecryptScrypt (1.56s) === RUN TestParseIdentities === RUN TestParseIdentities/valid === RUN TestParseIdentities/invalid @@ -548,11 +584,11 @@ --- PASS: TestParseIdentities/valid (0.00s) --- PASS: TestParseIdentities/invalid (0.00s) === RUN TestLabels ---- PASS: TestLabels (3.63s) +--- PASS: TestLabels (28.04s) === RUN TestX25519RoundTrip ---- PASS: TestX25519RoundTrip (0.00s) +--- PASS: TestX25519RoundTrip (0.01s) === RUN TestScryptRoundTrip ---- PASS: TestScryptRoundTrip (0.21s) +--- PASS: TestScryptRoundTrip (1.39s) === RUN TestVectors testkit_test.go:28: Skip c2sp until package in Debian --- SKIP: TestVectors (0.00s) @@ -564,17 +600,17 @@ === RUN ExampleDecrypt --- PASS: ExampleDecrypt (0.00s) === RUN ExampleParseIdentities ---- PASS: ExampleParseIdentities (0.00s) +--- PASS: ExampleParseIdentities (0.01s) === RUN ExampleGenerateX25519Identity --- PASS: ExampleGenerateX25519Identity (0.00s) PASS -ok filippo.io/age 4.078s +ok filippo.io/age 31.112s === RUN TestSSHRSARoundTrip ---- PASS: TestSSHRSARoundTrip (0.18s) +--- PASS: TestSSHRSARoundTrip (2.04s) === RUN TestSSHEd25519RoundTrip ---- PASS: TestSSHEd25519RoundTrip (0.00s) +--- PASS: TestSSHEd25519RoundTrip (0.01s) PASS -ok filippo.io/age/agessh 0.190s +ok filippo.io/age/agessh 2.111s === RUN TestArmor === RUN TestArmor/PartialLine === RUN TestArmor/FullLine @@ -588,7 +624,7 @@ === RUN ExampleNewReader --- PASS: ExampleNewReader (0.00s) PASS -ok filippo.io/age/armor 0.006s +ok filippo.io/age/armor 0.048s === RUN TestScript === RUN TestScript/ed25519 === PAUSE TestScript/ed25519 @@ -611,18 +647,18 @@ === RUN TestScript/x25519 === PAUSE TestScript/x25519 === CONT TestScript/ed25519 -=== CONT TestScript/rsa -=== CONT TestScript/usage +=== CONT TestScript/scrypt === CONT TestScript/pkcs8 +=== CONT TestScript/rsa === CONT TestScript/plugin -=== CONT TestScript/output_file -=== CONT TestScript/encrypted_keys -=== CONT TestScript/scrypt === CONT TestScript/x25519 === CONT TestScript/terminal +=== CONT TestScript/output_file +=== CONT TestScript/usage +=== CONT TestScript/encrypted_keys === NAME TestScript/pkcs8 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -633,7 +669,7 @@ exe= # https://github.com/FiloSottile/age/discussions/428 - # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.058s) + # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.252s) > age -e -i key.pem -o test.age input > age -d -i key.pem test.age [stdout] @@ -644,7 +680,7 @@ === NAME TestScript/usage testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -654,7 +690,7 @@ $=$ exe= - # -help (0.005s) + # -help (0.096s) > age -p -help [stderr] Usage: @@ -698,7 +734,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # -h (0.004s) + # -h (0.120s) > age -p -h [stderr] Usage: @@ -742,7 +778,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # unknown flag (0.047s) + # unknown flag (0.072s) > ! age -p -this-flag-does-not-exist [stderr] flag provided but not defined: -this-flag-does-not-exist @@ -789,7 +825,7 @@ > ! stdout . > stderr 'flag provided but not defined' > stderr 'Usage:' - # no arguments (0.004s) + # no arguments (0.059s) > ! age [stderr] Usage: @@ -836,9 +872,45 @@ > stderr 'Usage:' PASS +=== NAME TestScript/rsa + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main511055525/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= + + # encrypt and decrypt a file with -R (0.238s) + > 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.196s) + > 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.100s) + > age -R otherkey.pem.pub -o test.age input + > ! age -d -i key.pem 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/ed25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -848,21 +920,21 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.010s) + # encrypt and decrypt a file with -R (0.249s) > 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.053s) + # encrypt and decrypt a file with -i (0.192s) > 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.009s) + # encrypt and decrypt a file with the wrong key (0.108s) > age -R otherkey.pem.pub -o test.age input > ! age -d -i key.pem test.age [stderr] @@ -875,7 +947,7 @@ === NAME TestScript/x25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -885,21 +957,21 @@ $=$ exe= - # encrypt and decrypt a file with -r (0.055s) + # encrypt and decrypt a file with -r (0.251s) > 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.009s) + # encrypt and decrypt a file with -i (0.175s) > 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.008s) + # encrypt and decrypt a file with the wrong key (0.108s) > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input > ! age -d -i key.txt test.age [stderr] @@ -909,9 +981,9 @@ > stderr 'no identity matched any of the recipients' PASS -=== NAME TestScript/rsa +=== NAME TestScript/terminal testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -921,33 +993,71 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.053s) - > age -R key.pem.pub -o test.age input - > age -d -i key.pem test.age + > [!linux] [!darwin] skip # no pty support + > [darwin] [go1.20] skip # https://go.dev/issue/61779 + # controlling terminal is used instead of stdin/stderr (0.205s) + > ttyin terminal + > age -p -o test.age input + > ! stderr . + # autogenerated passphrase is printed to terminal (0.116s) + > ttyin empty + > age -p -o test.age input + > ttyout 'autogenerated passphrase' + > ! stderr . + # with no controlling terminal, stdin terminal is used + ## TODO: enable once https://golang.org/issue/53601 is fixed + ## and Noctty is added to testscript. + # noctty + # ttyin -stdin terminal + # age -p -o test.age input + # ! stderr . + # no terminal causes an error + ## TODO: enable once https://golang.org/issue/53601 is fixed + ## and Noctty is added to testscript. + # 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.128s) + > exec cat terminal input # concatenated password + input [stdout] + password + password test - > cmp stdout input + > ttyin -stdin stdout + > age -p -a -o test.age + > ttyout 'Enter passphrase' > ! stderr . - # encrypt and decrypt a file with -i (0.018s) - > age -e -i key.pem -o test.age input - > age -d -i key.pem test.age + # check the file was encrypted correctly (0.080s) + > ttyin terminal + > age -d test.age [stdout] test > cmp stdout input + # buffer armored ciphertext before prompting if stdin is the terminal (0.244s) + > ttyin terminal + > age -p -a -o test.age input + > exec cat test.age terminal # concatenated ciphertext + password + [stdout] + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBEdkczNFBIWXFoU3hmb0dp + cStRUDRBIDEwCnljU1ZoRGdDN2s2YnY5RVR1UG9LVmFTRDg1b2Zzd0ZJR2J2SGNP + YWRpb0kKLS0tIDRIZFhGSEp6OUV2OUR4NlgzTUxsL2M1SWpWQXFKZGIyRVVQdlZj + SDJaMGMK7wAarjsnI9E1iY4GfHkvQPFzTEchmRDQiqX82SUOM2zukIzppA== + -----END AGE ENCRYPTED FILE----- + password + password + > ttyin -stdin stdout + > age -d + [stdout] + test + > ttyout 'Enter passphrase' > ! stderr . - # encrypt and decrypt a file with the wrong key (0.008s) - > age -R otherkey.pem.pub -o test.age input - > ! age -d -i key.pem 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' + > cmp stdout input PASS === NAME TestScript/plugin testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -957,21 +1067,21 @@ $=$ exe= - # encrypt and decrypt a file with a test plugin (0.061s) + # encrypt and decrypt a file with a test plugin (0.322s) > age -r age1test10qdmzv9q -o test.age input > age -d -i key.txt test.age [stdout] test > cmp stdout input > ! stderr . - # very long identity and recipient (0.016s) + # very long identity and recipient (0.276s) > 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.011s) + # check that path separators are rejected (0.208s) > chmod 755 age-plugin-pwn/pwn > mkdir $TMPDIR/age-plugin-pwn > cp age-plugin-pwn/pwn $TMPDIR/age-plugin-pwn/pwn @@ -995,7 +1105,7 @@ === NAME TestScript/scrypt testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -1007,14 +1117,14 @@ > [!linux] [!darwin] skip # no pty support > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # encrypt with a provided passphrase (0.051s) + # encrypt with a provided passphrase (0.170s) > stdin input > ttyin terminal > age -p -o test.age > ttyout 'Enter passphrase' > ! stderr . > ! stdout . - # decrypt with a provided passphrase (0.010s) + # decrypt with a provided passphrase (0.147s) > ttyin terminal > age -d test.age [stdout] @@ -1022,7 +1132,7 @@ > ttyout 'Enter passphrase' > ! stderr . > cmp stdout input - # decrypt with the wrong passphrase (0.008s) + # decrypt with the wrong passphrase (0.137s) > ttyin wrong > ! age -d test.age [stderr] @@ -1030,7 +1140,7 @@ age: report unexpected or unhelpful errors at https://filippo.io/age/report [exit status 1] > stderr 'incorrect passphrase' - # encrypt with a generated passphrase (0.016s) + # encrypt with a generated passphrase (0.204s) > stdin input > ttyin empty > age -p -o test.age @@ -1041,7 +1151,7 @@ [stdout] test > cmp stdout input - # fail when -i is present (0.006s) + # fail when -i is present (0.101s) > ttyin terminal > ! age -d -i key.txt test.age [stderr] @@ -1050,7 +1160,7 @@ 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.005s) + # fail when passphrases don't match (0.084s) > ttyin wrong > ! age -p -o fail.age [stderr] @@ -1061,83 +1171,9 @@ > ! exists fail.age PASS -=== NAME TestScript/terminal - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/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= - - > [!linux] [!darwin] skip # no pty support - > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # controlling terminal is used instead of stdin/stderr (0.051s) - > ttyin terminal - > age -p -o test.age input - > ! stderr . - # autogenerated passphrase is printed to terminal (0.010s) - > ttyin empty - > age -p -o test.age input - > ttyout 'autogenerated passphrase' - > ! stderr . - # with no controlling terminal, stdin terminal is used - ## TODO: enable once https://golang.org/issue/53601 is fixed - ## and Noctty is added to testscript. - # noctty - # ttyin -stdin terminal - # age -p -o test.age input - # ! stderr . - # no terminal causes an error - ## TODO: enable once https://golang.org/issue/53601 is fixed - ## and Noctty is added to testscript. - # 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.010s) - > exec cat terminal input # concatenated password + input - [stdout] - password - password - test - > ttyin -stdin stdout - > age -p -a -o test.age - > ttyout 'Enter passphrase' - > ! stderr . - # check the file was encrypted correctly (0.008s) - > ttyin terminal - > age -d test.age - [stdout] - test - > cmp stdout input - # buffer armored ciphertext before prompting if stdin is the terminal (0.017s) - > ttyin terminal - > age -p -a -o test.age input - > exec cat test.age terminal # concatenated ciphertext + password - [stdout] - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBKc1FwLysrbU41V3MxZ0Fw - R2s1Q2pRIDEwCkE0TWIxNlhoSjdiTWlHVE45T0V2SlRtenZWUmRLS010ZmxoK1FO - cUh1UnMKLS0tIEluL3ljVFdJZndzVFAwUGlTaUdncURwRDVBWG1YcGhLam5saUU0 - WUMrQ28KZDShtyqKRx9x26uvDjTn4wBWYksZcUyX9Qh6dmoluXkICYwgFA== - -----END AGE ENCRYPTED FILE----- - password - password - > ttyin -stdin stdout - > age -d - [stdout] - test - > ttyout 'Enter passphrase' - > ! stderr . - > cmp stdout input - PASS - === NAME TestScript/output_file testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -1147,7 +1183,7 @@ $=$ exe= - # https://github.com/FiloSottile/age/issues/57 (0.078s) + # https://github.com/FiloSottile/age/issues/57 (0.647s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o test.age input > ! age -o test.out -d -i wrong.txt test.age [stderr] @@ -1191,7 +1227,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.012s) + # https://github.com/FiloSottile/age/issues/555 (0.184s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o empty.age empty > exists empty.age > age -d -i key.txt empty.age @@ -1200,7 +1236,7 @@ > age -d -i key.txt -o new empty.age > ! stderr . > cmp new empty - # https://github.com/FiloSottile/age/issues/491 (0.021s) + # https://github.com/FiloSottile/age/issues/491 (0.390s) > cp input inputcopy > ! age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o inputcopy inputcopy [stderr] @@ -1243,7 +1279,7 @@ [exit status 1] > stderr 'input and output file are the same' > cmp inputcopy input - # https://github.com/FiloSottile/age/issues/159 (0.015s) + # https://github.com/FiloSottile/age/issues/159 (0.237s) > ttyin terminal > age -p -a -o test.age input > ttyin terminalwrong @@ -1259,7 +1295,7 @@ === NAME TestScript/encrypted_keys testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main965786483/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main511055525/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 @@ -1273,7 +1309,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.160s) + # use an encrypted OpenSSH private key without .pub file (1.255s) > age -R key_ed25519.pub -o ed25519.age input > rm key_ed25519.pub > ttyin terminal @@ -1282,14 +1318,14 @@ test > cmp stdout input > ! stderr . - # -e -i with an encrypted OpenSSH private key (0.159s) + # -e -i with an encrypted OpenSSH private key (0.788s) > 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.008s) + # a file encrypted to the wrong key does not ask for the password (0.108s) > age -R key_ed25519_other.pub -o ed25519_other.age input > ! age -d -i key_ed25519 ed25519_other.age [stderr] @@ -1297,7 +1333,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.023s) + # use an encrypted legacy PEM private key with a .pub file (0.288s) > age -R key_rsa_legacy.pub -o rsa_legacy.age input > ttyin terminal > age -d -i key_rsa_legacy rsa_legacy.age @@ -1312,14 +1348,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.014s) + # -e -i with an encrypted legacy PEM private key (0.140s) > 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.003s) + # legacy PEM private key without a .pub file causes an error (0.044s) > rm key_rsa_legacy.pub > ! age -d -i key_rsa_legacy rsa_legacy.age [stderr] @@ -1329,7 +1365,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.005s) + # mismatched .pub file causes an error (0.060s) > cp key_rsa_legacy key_rsa_other > ttyin terminal > ! age -d -i key_rsa_other rsa_other.age @@ -1338,17 +1374,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.159s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.732s) > 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+IHNzaC1lZDI1NTE5IG5zRGRiZyBXc0JR - KzBwbHhGWkhxTW00V3V1TjdiRmlWWUJtYllwUmxtYkFXTE12dUJBClpzV3FIYnIr - bytjU3JLWE1jRThBT2owN3VTbmxYYkRoWGJzcE50b3VmWEkKLS0tIFNzL2RDdTVs - TG1PVzdQSEFDL05NQ3ZNcVlreVplOXZkMXhSQzVCQ041bG8K20olUxZFEOXlRWRX - uBW6c1FrKHbyI5H+0AtJltQ8Fb4Ohwcugg== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IG5zRGRiZyAvV3Y0 + dUhUWlptT1luMDFOblRsaUZaL2VGeGxNdVpTNkhsVHp1eTNnMXhrCktKdzJUb1Yz + UERTcFI3WTJVS3JYSkZDMEFVeFlTQ0JNUXladEJXNmpLVGcKLS0tIHJhSVZtTS9Y + bVQvV0xucTc4bTRsRDJhQWRhT3B0UWVHWWtJWERwbGxzSXcKT6YLipAvtnWs+gM+ + ZNwhm7UKOwGBM9KAdRHlEa6xIYJ6Nyxc5g== -----END AGE ENCRYPTED FILE----- password > ttyin -stdin stdout @@ -1361,28 +1397,28 @@ PASS --- PASS: TestScript (0.00s) - --- PASS: TestScript/pkcs8 (0.06s) - --- PASS: TestScript/usage (0.06s) - --- PASS: TestScript/ed25519 (0.07s) - --- PASS: TestScript/x25519 (0.07s) - --- PASS: TestScript/rsa (0.08s) - --- PASS: TestScript/plugin (0.09s) - --- PASS: TestScript/scrypt (0.10s) - --- PASS: TestScript/terminal (0.10s) - --- PASS: TestScript/output_file (0.13s) - --- PASS: TestScript/encrypted_keys (0.53s) + --- PASS: TestScript/pkcs8 (0.25s) + --- PASS: TestScript/usage (0.41s) + --- PASS: TestScript/rsa (0.54s) + --- PASS: TestScript/ed25519 (0.55s) + --- PASS: TestScript/x25519 (0.54s) + --- PASS: TestScript/terminal (0.77s) + --- PASS: TestScript/plugin (0.81s) + --- PASS: TestScript/scrypt (0.84s) + --- PASS: TestScript/output_file (1.60s) + --- PASS: TestScript/encrypted_keys (3.42s) PASS -ok filippo.io/age/cmd/age 0.541s +ok filippo.io/age/cmd/age 3.560s === RUN TestBech32 --- PASS: TestBech32 (0.00s) PASS -ok filippo.io/age/internal/bech32 0.004s +ok filippo.io/age/internal/bech32 0.052s === RUN TestStanzaMarshal --- PASS: TestStanzaMarshal (0.00s) === RUN FuzzMalleability --- PASS: FuzzMalleability (0.00s) PASS -ok filippo.io/age/internal/format 0.004s +ok filippo.io/age/internal/format 0.048s === RUN TestRoundTrip === RUN TestRoundTrip/len=0,step=512 stream_test.go:72: buffer size: 16 @@ -1416,29 +1452,29 @@ stream_test.go:72: buffer size: 65552 === RUN TestRoundTrip/len=65636,step=65536 stream_test.go:72: buffer size: 65668 ---- PASS: TestRoundTrip (0.01s) +--- PASS: TestRoundTrip (0.05s) --- PASS: TestRoundTrip/len=0,step=512 (0.00s) --- PASS: TestRoundTrip/len=1000,step=512 (0.00s) --- PASS: TestRoundTrip/len=65536,step=512 (0.00s) - --- PASS: TestRoundTrip/len=65636,step=512 (0.00s) + --- PASS: TestRoundTrip/len=65636,step=512 (0.01s) --- PASS: TestRoundTrip/len=0,step=600 (0.00s) --- PASS: TestRoundTrip/len=1000,step=600 (0.00s) --- PASS: TestRoundTrip/len=65536,step=600 (0.00s) --- PASS: TestRoundTrip/len=65636,step=600 (0.00s) --- 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=65536,step=1000 (0.01s) --- PASS: TestRoundTrip/len=65636,step=1000 (0.00s) --- PASS: TestRoundTrip/len=0,step=65536 (0.00s) --- PASS: TestRoundTrip/len=1000,step=65536 (0.00s) --- PASS: TestRoundTrip/len=65536,step=65536 (0.00s) --- PASS: TestRoundTrip/len=65636,step=65536 (0.00s) PASS -ok filippo.io/age/internal/stream 0.012s +ok filippo.io/age/internal/stream 0.104s === RUN TestLabels ---- PASS: TestLabels (0.02s) +--- PASS: TestLabels (0.40s) PASS -ok filippo.io/age/plugin 0.024s +ok filippo.io/age/plugin 0.460s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1470,8 +1506,8 @@ 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_amd64.deb'. -dpkg-deb: building package 'age-dbgsym' in '../age-dbgsym_1.2.1-1_amd64.deb'. dpkg-deb: building package 'golang-filippo-age-dev' in '../golang-filippo-age-dev_1.2.1-1_all.deb'. +dpkg-deb: building package 'age-dbgsym' in '../age-dbgsym_1.2.1-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../age_1.2.1-1_amd64.buildinfo dpkg-genchanges --build=binary -O../age_1.2.1-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1479,12 +1515,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/3187703/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3187703/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/3072499 and its subdirectories -I: Current time: Thu Mar 19 02:43:44 -12 2026 -I: pbuilder-time-stamp: 1773931424 +I: removing directory /srv/workspace/pbuilder/3187703 and its subdirectories +I: Current time: Fri Feb 14 22:26:42 +14 2025 +I: pbuilder-time-stamp: 1739521602