Diff of the two buildlogs: -- --- b1/build.log 2025-02-19 14:09:18.334708305 +0000 +++ b2/build.log 2025-02-19 14:11:46.252077424 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 19 02:06:53 -12 2025 -I: pbuilder-time-stamp: 1739974013 +I: Current time: Wed Mar 25 10:32:20 +14 2026 +I: pbuilder-time-stamp: 1774384340 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,51 +24,83 @@ 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/970553/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/268157/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Mar 24 20:32 /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/268157/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/268157/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' + 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=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='a4805ef7dc8d40b9ac23b53a9dce714a' - 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='970553' - PS1='# ' - PS2='> ' + INVOCATION_ID=280fa65eb35d449db50b1a77c533affa + 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=268157 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.v9Ieqau3/pbuilderrc_zWyc --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.v9Ieqau3/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' + 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.v9Ieqau3/pbuilderrc_xuLE --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.v9Ieqau3/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' I: uname -a - Linux infom01-amd64 6.1.0-31-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/970553/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/268157/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -161,7 +193,7 @@ Get: 45 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 46 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] Get: 47 http://deb.debian.org/debian trixie/main amd64 golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] -Fetched 75.7 MB in 1s (58.8 MB/s) +Fetched 75.7 MB in 3s (23.7 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 ... 19809 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/268157/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/268157/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 @@ -388,31 +424,33 @@ internal/goarch internal/profilerecord internal/byteorder +internal/unsafeheader internal/coverage/rtcov -internal/godebugs +internal/race internal/goexperiment -internal/unsafeheader internal/goos -internal/race +internal/godebugs internal/runtime/atomic -internal/runtime/syscall internal/cpu +internal/runtime/syscall sync/atomic -unicode unicode/utf8 -runtime/internal/math +unicode internal/abi -runtime/internal/sys +runtime/internal/math math/bits +runtime/internal/sys crypto/internal/alias +internal/chacha8rand crypto/subtle crypto/internal/boring/sig -internal/chacha8rand internal/asan internal/itoa internal/msan cmp golang.org/x/crypto/internal/alias +internal/bytealg +math unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace @@ -420,112 +458,110 @@ encoding golang.org/x/crypto/cryptobyte/asn1 internal/runtime/exithook -internal/bytealg -math internal/stringslite runtime internal/reflectlite -internal/weak iter +internal/weak sync slices internal/bisect -internal/testlog internal/singleflight +internal/testlog runtime/cgo -errors internal/godebug +errors io -sort -strconv internal/oserror path +strconv math/rand +sort +hash +bytes +crypto/internal/randutil vendor/golang.org/x/net/dns/dnsmessage crypto/internal/edwards25519/field -crypto/internal/nistec/fiat math/rand/v2 -reflect -syscall -golang.org/x/crypto/blowfish -crypto/rc4 -bytes strings -hash -crypto/internal/randutil +crypto/internal/nistec/fiat +syscall +bufio crypto +reflect +crypto/rc4 internal/concurrent -unique -crypto/cipher -crypto/md5 +golang.org/x/crypto/blowfish crypto/internal/edwards25519 -bufio +crypto/cipher regexp/syntax -net/netip +unique +crypto/md5 crypto/internal/boring crypto/des +net/netip crypto/hmac +crypto/sha256 crypto/sha512 crypto/aes -crypto/sha256 crypto/sha1 -regexp golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 -internal/syscall/unix -time -internal/syscall/execenv +regexp golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -internal/fmtsort -encoding/binary +internal/syscall/execenv +time +internal/syscall/unix io/fs context internal/poll internal/filepathlite embed crypto/internal/nistec +internal/fmtsort +encoding/binary +os encoding/base64 -golang.org/x/crypto/scrypt golang.org/x/crypto/internal/poly1305 -golang.org/x/crypto/chacha20 filippo.io/edwards25519/field +golang.org/x/crypto/chacha20 +golang.org/x/crypto/scrypt golang.org/x/sys/unix -os +crypto/ecdh encoding/pem -filippo.io/edwards25519 +golang.org/x/crypto/curve25519 fmt path/filepath golang.org/x/sys/cpu -os/exec +filippo.io/edwards25519 golang.org/x/crypto/chacha20poly1305 -crypto/ecdh +os/exec net/url -flag filippo.io/age/internal/bech32 -encoding/hex +golang.org/x/sys/execabs +flag +runtime/debug filippo.io/age/internal/format +encoding/hex log math/big -golang.org/x/sys/execabs -runtime/debug -filippo.io/age/internal/stream -golang.org/x/crypto/curve25519 filippo.io/age/armor +filippo.io/age/internal/stream golang.org/x/term crypto/internal/boring/bbig -crypto/dsa +crypto/elliptic crypto/rand -crypto/internal/bigmod encoding/asn1 -crypto/elliptic +crypto/dsa +crypto/internal/bigmod crypto/ed25519 filippo.io/age +filippo.io/age/cmd/age-keygen +filippo.io/age/plugin vendor/golang.org/x/crypto/cryptobyte -golang.org/x/crypto/cryptobyte crypto/x509/pkix +golang.org/x/crypto/cryptobyte crypto/rsa -filippo.io/age/plugin -filippo.io/age/cmd/age-keygen crypto/ecdsa net crypto/x509 @@ -535,10 +571,11 @@ 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 12 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.17s) +--- PASS: TestEncryptDecryptScrypt (0.18s) === RUN TestParseIdentities === RUN TestParseIdentities/valid === RUN TestParseIdentities/invalid @@ -546,11 +583,11 @@ --- PASS: TestParseIdentities/valid (0.00s) --- PASS: TestParseIdentities/invalid (0.00s) === RUN TestLabels ---- PASS: TestLabels (2.79s) +--- PASS: TestLabels (3.76s) === RUN TestX25519RoundTrip --- PASS: TestX25519RoundTrip (0.00s) === RUN TestScryptRoundTrip ---- PASS: TestScryptRoundTrip (0.17s) +--- PASS: TestScryptRoundTrip (0.20s) === RUN TestVectors testkit_test.go:28: Skip c2sp until package in Debian --- SKIP: TestVectors (0.00s) @@ -566,13 +603,13 @@ === RUN ExampleGenerateX25519Identity --- PASS: ExampleGenerateX25519Identity (0.00s) PASS -ok filippo.io/age 3.145s +ok filippo.io/age 4.146s === RUN TestSSHRSARoundTrip ---- PASS: TestSSHRSARoundTrip (0.24s) +--- PASS: TestSSHRSARoundTrip (0.14s) === RUN TestSSHEd25519RoundTrip --- PASS: TestSSHEd25519RoundTrip (0.00s) PASS -ok filippo.io/age/agessh 0.241s +ok filippo.io/age/agessh 0.151s === RUN TestArmor === RUN TestArmor/PartialLine === RUN TestArmor/FullLine @@ -586,8 +623,7 @@ === RUN ExampleNewReader --- PASS: ExampleNewReader (0.00s) PASS -ok filippo.io/age/armor 0.003s -? filippo.io/age/cmd/age-keygen [no test files] +ok filippo.io/age/armor 0.004s === RUN TestScript === RUN TestScript/ed25519 === PAUSE TestScript/ed25519 @@ -610,40 +646,18 @@ === RUN TestScript/x25519 === PAUSE TestScript/x25519 === CONT TestScript/ed25519 -=== CONT TestScript/scrypt === CONT TestScript/pkcs8 === CONT TestScript/output_file -=== CONT TestScript/x25519 -=== CONT TestScript/encrypted_keys -=== CONT TestScript/terminal -=== CONT TestScript/rsa === CONT TestScript/plugin === CONT TestScript/usage -=== NAME TestScript/pkcs8 - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/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= - - # https://github.com/FiloSottile/age/discussions/428 - # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.014s) - > age -e -i key.pem -o test.age input - > age -d -i key.pem test.age - [stdout] - test - > cmp stdout input - > ! stderr . - PASS - +=== CONT TestScript/rsa +=== CONT TestScript/terminal +=== CONT TestScript/encrypted_keys +=== CONT TestScript/scrypt +=== CONT TestScript/x25519 === NAME TestScript/usage testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -788,7 +802,7 @@ > ! stdout . > stderr 'flag provided but not defined' > stderr 'Usage:' - # no arguments (0.003s) + # no arguments (0.004s) > ! age [stderr] Usage: @@ -835,9 +849,9 @@ > stderr 'Usage:' PASS -=== NAME TestScript/ed25519 +=== NAME TestScript/pkcs8 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -847,34 +861,19 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.010s) - > 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.177s) + # https://github.com/FiloSottile/age/discussions/428 + # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.081s) > 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.007s) - > 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' - > ! stdout . PASS === NAME TestScript/x25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -884,21 +883,21 @@ $=$ exe= - # encrypt and decrypt a file with -r (0.010s) + # encrypt and decrypt a file with -r (0.086s) > 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.177s) + # encrypt and decrypt a file with -i (0.019s) > 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.011s) > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input > ! age -d -i key.txt test.age [stderr] @@ -908,9 +907,9 @@ > stderr 'no identity matched any of the recipients' PASS -=== NAME TestScript/scrypt +=== NAME TestScript/ed25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -920,65 +919,70 @@ $=$ exe= - > [!linux] [!darwin] skip # no pty support - > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # encrypt with a provided passphrase (0.011s) - > stdin input - > ttyin terminal - > age -p -o test.age - > ttyout 'Enter passphrase' - > ! stderr . - > ! stdout . - # decrypt with a provided passphrase (0.010s) - > ttyin terminal - > age -d test.age + # encrypt and decrypt a file with -R (0.088s) + > age -R key.pem.pub -o test.age input + > age -d -i key.pem test.age [stdout] test - > ttyout 'Enter passphrase' + > cmp stdout input > ! stderr . + # encrypt and decrypt a file with -i (0.017s) + > age -e -i key.pem -o test.age input + > age -d -i key.pem test.age + [stdout] + test > cmp stdout input - # decrypt with the wrong passphrase (0.006s) - > ttyin wrong - > ! age -d test.age + > ! stderr . + # encrypt and decrypt a file with the wrong key (0.016s) + > age -R otherkey.pem.pub -o test.age input + > ! age -d -i key.pem test.age [stderr] - age: error: incorrect passphrase + 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 'incorrect passphrase' - # encrypt with a generated passphrase (0.164s) - > stdin input - > ttyin empty - > age -p -o test.age - > ! stderr . + > stderr 'no identity matched any of the recipients' > ! stdout . - > ttyin autogenerated - > age -d test.age + PASS + +=== NAME TestScript/rsa + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main3570322013/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.091s) + > age -R key.pem.pub -o test.age input + > age -d -i key.pem test.age [stdout] test > cmp stdout input - # fail when -i is present (0.004s) - > 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.003s) - > ttyin wrong - > ! age -p -o fail.age + > ! stderr . + # encrypt and decrypt a file with -i (0.022s) + > 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.015s) + > 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/plugin testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -988,21 +992,21 @@ $=$ exe= - # encrypt and decrypt a file with a test plugin (0.015s) + # encrypt and decrypt a file with a test plugin (0.023s) > 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.169s) + # very long identity and recipient (0.022s) > 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.009s) + # check that path separators are rejected (0.018s) > chmod 755 age-plugin-pwn/pwn > mkdir $TMPDIR/age-plugin-pwn > cp age-plugin-pwn/pwn $TMPDIR/age-plugin-pwn/pwn @@ -1024,9 +1028,9 @@ > ! exists pwn PASS -=== NAME TestScript/rsa +=== NAME TestScript/scrypt testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -1036,33 +1040,139 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.013s) - > 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 + # encrypt with a provided passphrase (0.079s) + > stdin input + > ttyin terminal + > age -p -o test.age + > ttyout 'Enter passphrase' + > ! stderr . + > ! stdout . + # decrypt with a provided passphrase (0.016s) + > ttyin terminal + > age -d test.age [stdout] test + > ttyout 'Enter passphrase' + > ! stderr . > cmp stdout input + # decrypt with the wrong passphrase (0.011s) + > 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.023s) + > stdin input + > ttyin empty + > age -p -o test.age > ! stderr . - # encrypt and decrypt a file with -i (0.175s) - > age -e -i key.pem -o test.age input - > age -d -i key.pem test.age + > ! stdout . + > ttyin autogenerated + > age -d test.age [stdout] test > cmp stdout input - > ! stderr . - # encrypt and decrypt a file with the wrong key (0.091s) - > age -R otherkey.pem.pub -o test.age input - > ! age -d -i key.pem test.age + # fail when -i is present (0.006s) + > ttyin terminal + > ! age -d -i key.txt test.age [stderr] - age: error: no identity matched any of the recipients + 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 'no identity matched any of the recipients' + > stderr 'file is passphrase-encrypted but identities were specified' + # fail when passphrases don't match (0.005s) + > 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/terminal + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main3570322013/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 + # controlling terminal is used instead of stdin/stderr (0.079s) + > ttyin terminal + > age -p -o test.age input + > ! stderr . + # autogenerated passphrase is printed to terminal (0.019s) + > 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.013s) + > 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.012s) + > ttyin terminal + > age -d test.age + [stdout] + test + > cmp stdout input + # buffer armored ciphertext before prompting if stdin is the terminal (0.020s) + > ttyin terminal + > age -p -a -o test.age input + > exec cat test.age terminal # concatenated ciphertext + password + [stdout] + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCA0c2FwZWlBaEE4d2Fldk1s + QnIzZHFBIDEwCkV6K3FTOXZoZmpuMmUvcG1FYmdhYkxsd2NSbmQvV0tNdkNHb2Ez + YmwyZGMKLS0tIGhtSkU3RkRQYmFyTklvazVmNkFEdkpYQzYzS3RRNVZiVU1yRXli + d1ovd0EKGJAXWjyGfZ5aXlkrEOqAd//WfEvjznteXYUSFL3Ct5vy+r+oGQ== + -----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-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -1072,7 +1182,7 @@ $=$ exe= - # https://github.com/FiloSottile/age/issues/57 (0.030s) + # https://github.com/FiloSottile/age/issues/57 (0.126s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o test.age input > ! age -o test.out -d -i wrong.txt test.age [stderr] @@ -1116,7 +1226,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.011s) + # https://github.com/FiloSottile/age/issues/555 (0.015s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o empty.age empty > exists empty.age > age -d -i key.txt empty.age @@ -1125,7 +1235,7 @@ > age -d -i key.txt -o new empty.age > ! stderr . > cmp new empty - # https://github.com/FiloSottile/age/issues/491 (0.149s) + # https://github.com/FiloSottile/age/issues/491 (0.028s) > cp input inputcopy > ! age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o inputcopy inputcopy [stderr] @@ -1168,7 +1278,7 @@ [exit status 1] > stderr 'input and output file are the same' > cmp inputcopy input - # https://github.com/FiloSottile/age/issues/159 (0.096s) + # https://github.com/FiloSottile/age/issues/159 (0.019s) > ttyin terminal > age -p -a -o test.age input > ttyin terminalwrong @@ -1182,83 +1292,9 @@ > ! exists test.out PASS -=== NAME TestScript/terminal - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/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.008s) - > ttyin terminal - > age -p -o test.age input - > ! stderr . - # autogenerated passphrase is printed to terminal (0.099s) - > 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.169s) - > 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.105s) - > ttyin terminal - > age -p -a -o test.age input - > exec cat test.age terminal # concatenated ciphertext + password - [stdout] - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBUVDIrOXNaakVQV2xqTmE2 - R094elB3IDEwCjBETUUrRVBoa1FubklFeWZQaUcwV21KTjJ4UVM2NU9sTUxRdmM3 - QTFYWXcKLS0tIDZRWW45akYyYnRzcXpONnRuRE14Q09JRk11NFR0c2dsc3FzcTlq - ckliWlEKXIcABnC8gKlnPXN8314GyUNvHGSo5JAubi85cEBfvmPrqOtQTQ== - -----END AGE ENCRYPTED FILE----- - password - password - > ttyin -stdin stdout - > age -d - [stdout] - test - > ttyout 'Enter passphrase' - > ! stderr . - > cmp stdout input - PASS - === NAME TestScript/encrypted_keys testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2707547123/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3570322013/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 @@ -1272,7 +1308,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.184s) + # use an encrypted OpenSSH private key without .pub file (0.310s) > age -R key_ed25519.pub -o ed25519.age input > rm key_ed25519.pub > ttyin terminal @@ -1281,14 +1317,14 @@ test > cmp stdout input > ! stderr . - # -e -i with an encrypted OpenSSH private key (0.157s) + # -e -i with an encrypted OpenSSH private key (0.191s) > 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.045s) + # a file encrypted to the wrong key does not ask for the password (0.009s) > age -R key_ed25519_other.pub -o ed25519_other.age input > ! age -d -i key_ed25519 ed25519_other.age [stderr] @@ -1296,7 +1332,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.017s) + # use an encrypted legacy PEM private key with a .pub file (0.025s) > age -R key_rsa_legacy.pub -o rsa_legacy.age input > ttyin terminal > age -d -i key_rsa_legacy rsa_legacy.age @@ -1311,14 +1347,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.088s) + # -e -i with an encrypted legacy PEM private key (0.014s) > 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.005s) > rm key_rsa_legacy.pub > ! age -d -i key_rsa_legacy rsa_legacy.age [stderr] @@ -1328,7 +1364,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.004s) + # mismatched .pub file causes an error (0.005s) > cp key_rsa_legacy key_rsa_other > ttyin terminal > ! age -d -i key_rsa_other rsa_other.age @@ -1337,17 +1373,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.156s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.198s) > 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+IHNzaC1lZDI1NTE5IG5zRGRiZyBkTm43 - Zk16cVEwVlhtaUVqeTgyUHg3aVdZVkM4QUJhbUdsK3U2VXQwbG1vClZTdk5PV2F2 - T0xvbzBka2NPdGNOYTludWdCcExzUzBkZ0xVblVtQnpSR28KLS0tIHNjc2toTGhW - MXE4Tnh4cGU2V1pLMTBxdFhWUzEyZHJMVnZLWmcxTlgrTDgKYVDWVDg2UGDAJW1A - rod7FV84MS6u3cFurptbxZ9PXaFhyl8rEg== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IG5zRGRiZyBGWDU1 + SjdLZDFCeGVpQnZ1cWs2L2thZmdMenpjK25XVU9HN2ZxTzVYcUdJCkFLVVVIZWxD + K2hYWDlUYWRtTitheVlQSjVQOXJtRmJWVkpFUjJPdjFzUlEKLS0tIG5nbVAvZkU2 + V3kwMUdFQ1QrR0M5UzhTYTRSN0tNTkRMWjIvMllabEgybDQKhGqthZYW9FHWieFF + 6TLo4TNGCFEUhW29D9WAOOUM2wFLLMObsA== -----END AGE ENCRYPTED FILE----- password > ttyin -stdin stdout @@ -1360,28 +1396,28 @@ PASS --- PASS: TestScript (0.00s) - --- PASS: TestScript/pkcs8 (0.01s) - --- PASS: TestScript/usage (0.02s) - --- PASS: TestScript/scrypt (0.20s) - --- PASS: TestScript/plugin (0.20s) - --- PASS: TestScript/x25519 (0.22s) - --- PASS: TestScript/ed25519 (0.28s) - --- PASS: TestScript/rsa (0.28s) - --- PASS: TestScript/output_file (0.29s) - --- PASS: TestScript/terminal (0.39s) - --- PASS: TestScript/encrypted_keys (0.69s) + --- PASS: TestScript/usage (0.08s) + --- PASS: TestScript/pkcs8 (0.09s) + --- PASS: TestScript/x25519 (0.12s) + --- PASS: TestScript/ed25519 (0.13s) + --- PASS: TestScript/rsa (0.13s) + --- PASS: TestScript/plugin (0.14s) + --- PASS: TestScript/scrypt (0.14s) + --- PASS: TestScript/output_file (0.21s) + --- PASS: TestScript/terminal (0.21s) + --- PASS: TestScript/encrypted_keys (0.76s) PASS -ok filippo.io/age/cmd/age 0.694s +ok filippo.io/age/cmd/age 0.768s === RUN TestBech32 --- PASS: TestBech32 (0.00s) PASS -ok filippo.io/age/internal/bech32 0.002s +ok filippo.io/age/internal/bech32 0.003s === RUN TestStanzaMarshal --- PASS: TestStanzaMarshal (0.00s) === RUN FuzzMalleability --- PASS: FuzzMalleability (0.00s) PASS -ok filippo.io/age/internal/format 0.002s +ok filippo.io/age/internal/format 0.003s === RUN TestRoundTrip === RUN TestRoundTrip/len=0,step=512 stream_test.go:72: buffer size: 16 @@ -1415,7 +1451,7 @@ stream_test.go:72: buffer size: 65552 === RUN TestRoundTrip/len=65636,step=65536 stream_test.go:72: buffer size: 65668 ---- PASS: TestRoundTrip (0.00s) +--- PASS: TestRoundTrip (0.01s) --- PASS: TestRoundTrip/len=0,step=512 (0.00s) --- PASS: TestRoundTrip/len=1000,step=512 (0.00s) --- PASS: TestRoundTrip/len=65536,step=512 (0.00s) @@ -1433,11 +1469,11 @@ --- PASS: TestRoundTrip/len=65536,step=65536 (0.00s) --- PASS: TestRoundTrip/len=65636,step=65536 (0.00s) PASS -ok filippo.io/age/internal/stream 0.006s +ok filippo.io/age/internal/stream 0.009s === RUN TestLabels ---- PASS: TestLabels (0.02s) +--- PASS: TestLabels (0.08s) PASS -ok filippo.io/age/plugin 0.020s +ok filippo.io/age/plugin 0.088s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1468,8 +1504,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-dbgsym' in '../age-dbgsym_1.2.1-1_amd64.deb'. 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-genbuildinfo --build=binary -O../age_1.2.1-1_amd64.buildinfo dpkg-genchanges --build=binary -O../age_1.2.1-1_amd64.changes @@ -1478,12 +1514,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/268157/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/268157/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/970553 and its subdirectories -I: Current time: Wed Feb 19 02:09:17 -12 2025 -I: pbuilder-time-stamp: 1739974157 +I: removing directory /srv/workspace/pbuilder/268157 and its subdirectories +I: Current time: Wed Mar 25 10:34:45 +14 2026 +I: pbuilder-time-stamp: 1774384485