Diff of the two buildlogs: -- --- b1/build.log 2025-01-29 11:21:47.156468967 +0000 +++ b2/build.log 2025-01-29 11:23:06.188936795 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 3 05:43:08 -12 2026 -I: pbuilder-time-stamp: 1772559788 +I: Current time: Thu Jan 30 01:21:49 +14 2025 +I: pbuilder-time-stamp: 1738149709 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,54 +25,86 @@ 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/96896/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31054/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 29 11:22 /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/31054/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31054/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5fe338227a914f989ca6199856b83b6b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='96896' - PS1='# ' - PS2='> ' + INVOCATION_ID=7f1ffe2dca85418e9fbc2293ae501956 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=31054 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.etJHmYXa/pbuilderrc_IFIo --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.etJHmYXa/b1 --logfile b1/build.log age_1.2.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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.etJHmYXa/pbuilderrc_Nwen --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.etJHmYXa/b2 --logfile b2/build.log age_1.2.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos6-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) 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/96896/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/31054/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: 45 http://deb.debian.org/debian trixie/main i386 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 46 http://deb.debian.org/debian trixie/main i386 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] Get: 47 http://deb.debian.org/debian trixie/main i386 golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] -Fetched 74.1 MB in 3s (29.3 MB/s) +Fetched 74.1 MB in 1s (73.5 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 ... 19841 files and directories currently installed.) @@ -368,7 +400,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/31054/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/31054/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,144 +424,144 @@ 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 22 -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 + cd _build && go install -trimpath -v -p 10 -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/profilerecord +internal/goos internal/goarch -internal/godebugs -unicode/utf8 -cmp -crypto/internal/alias internal/coverage/rtcov -internal/asan -internal/itoa internal/byteorder -internal/profilerecord -sync/atomic -internal/goos -internal/runtime/syscall -internal/msan +internal/godebugs internal/unsafeheader +internal/goexperiment +internal/cpu +internal/runtime/syscall internal/race -internal/abi +internal/runtime/atomic runtime/internal/math +runtime/internal/sys +sync/atomic +internal/abi unicode -internal/cpu -internal/goexperiment +unicode/utf8 +internal/chacha8rand math/bits -golang.org/x/crypto/internal/alias -internal/runtime/atomic +crypto/internal/alias crypto/internal/boring/sig -runtime/internal/sys +internal/asan +internal/itoa +internal/runtime/exithook +internal/msan +internal/bytealg +cmp +math unicode/utf16 +golang.org/x/crypto/internal/alias vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace log/internal encoding golang.org/x/crypto/cryptobyte/asn1 -internal/chacha8rand -math -internal/bytealg -internal/runtime/exithook internal/stringslite runtime crypto/subtle +internal/weak iter internal/reflectlite -internal/weak sync slices -internal/testlog internal/bisect +internal/testlog internal/singleflight runtime/cgo +internal/godebug errors +io sort -internal/godebug -internal/oserror +strconv path vendor/golang.org/x/net/dns/dnsmessage -io +math/rand crypto/internal/edwards25519/field -math/rand/v2 -strconv +internal/oserror crypto/internal/nistec/fiat syscall -math/rand -crypto/internal/edwards25519 -hash +math/rand/v2 +bytes strings +hash crypto/internal/randutil +crypto/internal/edwards25519 internal/concurrent -bytes -crypto/rc4 -golang.org/x/crypto/blowfish +unique crypto reflect -unique -crypto/md5 -net/netip crypto/cipher +crypto/md5 +crypto/rc4 bufio regexp/syntax +net/netip crypto/internal/boring crypto/des +golang.org/x/crypto/blowfish crypto/hmac -crypto/sha512 -crypto/aes -crypto/sha1 crypto/sha256 -internal/syscall/execenv -internal/syscall/unix -time golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 +crypto/sha512 +crypto/sha1 +crypto/aes golang.org/x/crypto/ssh/internal/bcrypt_pbkdf +internal/syscall/unix +internal/syscall/execenv +time regexp crypto/internal/nistec -context io/fs +context internal/poll +internal/fmtsort +encoding/binary crypto/ecdh internal/filepathlite golang.org/x/crypto/curve25519 -internal/fmtsort -encoding/binary 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/crypto/chacha20 golang.org/x/sys/unix encoding/pem -golang.org/x/crypto/chacha20poly1305 filippo.io/edwards25519 +golang.org/x/crypto/chacha20poly1305 path/filepath fmt net os/exec +encoding/hex filippo.io/age/internal/bech32 filippo.io/age/internal/format filippo.io/age/internal/stream net/url -encoding/hex log -flag -runtime/debug golang.org/x/sys/execabs math/big +flag +runtime/debug filippo.io/age/armor golang.org/x/term -crypto/dsa +crypto/internal/bigmod +crypto/rand crypto/internal/boring/bbig +crypto/dsa crypto/elliptic -crypto/rand -crypto/internal/bigmod encoding/asn1 crypto/ed25519 filippo.io/age crypto/rsa -filippo.io/age/cmd/age-keygen filippo.io/age/plugin +filippo.io/age/cmd/age-keygen crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte golang.org/x/crypto/cryptobyte @@ -536,12 +572,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 22 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 10 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.01s) === RUN TestEncryptDecryptScrypt ---- PASS: TestEncryptDecryptScrypt (0.30s) +--- PASS: TestEncryptDecryptScrypt (0.48s) === RUN TestParseIdentities === RUN TestParseIdentities/valid === RUN TestParseIdentities/invalid @@ -549,11 +585,11 @@ --- PASS: TestParseIdentities/valid (0.00s) --- PASS: TestParseIdentities/invalid (0.00s) === RUN TestLabels ---- PASS: TestLabels (5.33s) +--- PASS: TestLabels (7.42s) === RUN TestX25519RoundTrip ---- PASS: TestX25519RoundTrip (0.00s) +--- PASS: TestX25519RoundTrip (0.01s) === RUN TestScryptRoundTrip ---- PASS: TestScryptRoundTrip (0.29s) +--- PASS: TestScryptRoundTrip (0.46s) === RUN TestVectors testkit_test.go:28: Skip c2sp until package in Debian --- SKIP: TestVectors (0.00s) @@ -569,13 +605,13 @@ === RUN ExampleGenerateX25519Identity --- PASS: ExampleGenerateX25519Identity (0.00s) PASS -ok filippo.io/age 5.984s +ok filippo.io/age 8.459s === RUN TestSSHRSARoundTrip ---- PASS: TestSSHRSARoundTrip (2.51s) +--- PASS: TestSSHRSARoundTrip (1.95s) === RUN TestSSHEd25519RoundTrip ---- PASS: TestSSHEd25519RoundTrip (0.02s) +--- PASS: TestSSHEd25519RoundTrip (0.03s) PASS -ok filippo.io/age/agessh 2.540s +ok filippo.io/age/agessh 1.985s === RUN TestArmor === RUN TestArmor/PartialLine === RUN TestArmor/FullLine @@ -589,7 +625,7 @@ === RUN ExampleNewReader --- PASS: ExampleNewReader (0.00s) PASS -ok filippo.io/age/armor 0.007s +ok filippo.io/age/armor 0.013s === RUN TestScript === RUN TestScript/ed25519 === PAUSE TestScript/ed25519 @@ -612,18 +648,18 @@ === RUN TestScript/x25519 === PAUSE TestScript/x25519 === CONT TestScript/ed25519 -=== CONT TestScript/rsa -=== CONT TestScript/pkcs8 +=== CONT TestScript/x25519 +=== CONT TestScript/usage === CONT TestScript/plugin === CONT TestScript/output_file -=== CONT TestScript/usage -=== CONT TestScript/terminal -=== CONT TestScript/x25519 === CONT TestScript/encrypted_keys +=== CONT TestScript/pkcs8 === CONT TestScript/scrypt +=== CONT TestScript/rsa +=== CONT TestScript/terminal === NAME TestScript/usage testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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= - # -help (0.032s) + # -help (0.010s) > age -p -help [stderr] Usage: @@ -677,7 +713,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # -h (0.004s) + # -h (0.019s) > age -p -h [stderr] Usage: @@ -721,7 +757,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # unknown flag (0.005s) + # unknown flag (0.013s) > ! age -p -this-flag-does-not-exist [stderr] flag provided but not defined: -this-flag-does-not-exist @@ -768,7 +804,7 @@ > ! stdout . > stderr 'flag provided but not defined' > stderr 'Usage:' - # no arguments (0.004s) + # no arguments (0.011s) > ! age [stderr] Usage: @@ -815,9 +851,9 @@ > stderr 'Usage:' PASS -=== NAME TestScript/pkcs8 +=== NAME TestScript/ed25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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 @@ -827,19 +863,34 @@ $=$ exe= - # https://github.com/FiloSottile/age/discussions/428 - # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.064s) + # encrypt and decrypt a file with -R (0.043s) + > 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.027s) > 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.022s) + > 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-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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 @@ -849,21 +900,21 @@ $=$ exe= - # encrypt and decrypt a file with -r (0.039s) + # encrypt and decrypt a file with -r (0.052s) > 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.014s) + # encrypt and decrypt a file with -i (0.028s) > 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.013s) + # encrypt and decrypt a file with the wrong key (0.027s) > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input > ! age -d -i key.txt test.age [stderr] @@ -873,9 +924,9 @@ > stderr 'no identity matched any of the recipients' PASS -=== NAME TestScript/ed25519 +=== NAME TestScript/pkcs8 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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,34 +936,19 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.041s) - > 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.016s) + # https://github.com/FiloSottile/age/discussions/428 + # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.114s) > 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.013s) - > 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/plugin testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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 @@ -922,21 +958,21 @@ $=$ exe= - # encrypt and decrypt a file with a test plugin (0.042s) + # encrypt and decrypt a file with a test plugin (0.064s) > 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.018s) + # very long identity and recipient (0.039s) > 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.012s) + # check that path separators are rejected (0.029s) > chmod 755 age-plugin-pwn/pwn > mkdir $TMPDIR/age-plugin-pwn > cp age-plugin-pwn/pwn $TMPDIR/age-plugin-pwn/pwn @@ -958,9 +994,83 @@ > ! exists pwn PASS +=== NAME TestScript/terminal + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main211355476/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.020s) + > ttyin terminal + > age -p -o test.age input + > ! stderr . + # autogenerated passphrase is printed to terminal (0.023s) + > 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.026s) + > 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.018s) + > ttyin terminal + > age -d test.age + [stdout] + test + > cmp stdout input + # buffer armored ciphertext before prompting if stdin is the terminal (0.048s) + > ttyin terminal + > age -p -a -o test.age input + > exec cat test.age terminal # concatenated ciphertext + password + [stdout] + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBrSHRwZ3lMbGYrUjR6NmVw + Zyt6dSt3IDEwCkJzNWlQV3lHTHN4YWMrZnNjZnFHSVZSdnY1RURHeGsxd0xTY0Yy + WFJlTlEKLS0tIDBPbjNJS2d1VG1LMHhNR0xXT0xSR2RTSUVJV2x3YllhYXFJQlF6 + NnFmT3cKwsTDfEwVLFl/RjG6TwWexgwlCh4mLQT2kz5rOQOsDVGi3OyJIQ== + -----END AGE ENCRYPTED FILE----- + password + password + > ttyin -stdin stdout + > age -d + [stdout] + test + > ttyout 'Enter passphrase' + > ! stderr . + > cmp stdout input + PASS + === NAME TestScript/scrypt testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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 @@ -972,14 +1082,14 @@ > [!linux] [!darwin] skip # no pty support > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # encrypt with a provided passphrase (0.033s) + # encrypt with a provided passphrase (0.048s) > stdin input > ttyin terminal > age -p -o test.age > ttyout 'Enter passphrase' > ! stderr . > ! stdout . - # decrypt with a provided passphrase (0.014s) + # decrypt with a provided passphrase (0.021s) > ttyin terminal > age -d test.age [stdout] @@ -987,7 +1097,7 @@ > ttyout 'Enter passphrase' > ! stderr . > cmp stdout input - # decrypt with the wrong passphrase (0.009s) + # decrypt with the wrong passphrase (0.031s) > ttyin wrong > ! age -d test.age [stderr] @@ -995,7 +1105,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.018s) + # encrypt with a generated passphrase (0.037s) > stdin input > ttyin empty > age -p -o test.age @@ -1006,7 +1116,7 @@ [stdout] test > cmp stdout input - # fail when -i is present (0.005s) + # fail when -i is present (0.009s) > ttyin terminal > ! age -d -i key.txt test.age [stderr] @@ -1015,7 +1125,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.004s) + # fail when passphrases don't match (0.006s) > ttyin wrong > ! age -p -o fail.age [stderr] @@ -1026,9 +1136,9 @@ > ! exists fail.age PASS -=== NAME TestScript/terminal +=== NAME TestScript/rsa testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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 @@ -1038,71 +1148,33 @@ $=$ 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.041s) - > 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.012s) - > exec cat terminal input # concatenated password + input + # encrypt and decrypt a file with -R (0.090s) + > age -R key.pem.pub -o test.age input + > age -d -i key.pem test.age [stdout] - password - password test - > ttyin -stdin stdout - > age -p -a -o test.age - > ttyout 'Enter passphrase' + > cmp stdout input > ! stderr . - # check the file was encrypted correctly (0.010s) - > ttyin terminal - > age -d test.age + # 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 - # buffer armored ciphertext before prompting if stdin is the terminal (0.019s) - > ttyin terminal - > age -p -a -o test.age input - > exec cat test.age terminal # concatenated ciphertext + password - [stdout] - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBQZXBhMlVQTmJsS1NjK1Ri - aDRoT0J3IDEwClJ1NjMzR25yWW81S3BqbXlPbk5zVk1TaWdXaEJMTlJuZ3BzcVVF - a3ZMek0KLS0tIExaM0UwajFia2NiWkNFNnU5ODVnd05lRDg4VEtub1Y5THA1OVhU - cFdVNjAKuAOBmJrO3bWsWDxjM5EHnhl6SU4P0Ql8m7dEUYfud8V/FAJ+bw== - -----END AGE ENCRYPTED FILE----- - password - password - > ttyin -stdin stdout - > age -d - [stdout] - test - > ttyout 'Enter passphrase' > ! stderr . - > cmp stdout input + # 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: 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/output_file testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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 @@ -1112,7 +1184,7 @@ $=$ exe= - # https://github.com/FiloSottile/age/issues/57 (0.064s) + # https://github.com/FiloSottile/age/issues/57 (0.103s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o test.age input > ! age -o test.out -d -i wrong.txt test.age [stderr] @@ -1156,7 +1228,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.017s) + # https://github.com/FiloSottile/age/issues/555 (0.029s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o empty.age empty > exists empty.age > age -d -i key.txt empty.age @@ -1165,7 +1237,7 @@ > age -d -i key.txt -o new empty.age > ! stderr . > cmp new empty - # https://github.com/FiloSottile/age/issues/491 (0.025s) + # https://github.com/FiloSottile/age/issues/491 (0.041s) > cp input inputcopy > ! age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o inputcopy inputcopy [stderr] @@ -1208,7 +1280,7 @@ [exit status 1] > stderr 'input and output file are the same' > cmp inputcopy input - # https://github.com/FiloSottile/age/issues/159 (0.017s) + # https://github.com/FiloSottile/age/issues/159 (0.030s) > ttyin terminal > age -p -a -o test.age input > ttyin terminalwrong @@ -1222,45 +1294,9 @@ > ! exists test.out PASS -=== NAME TestScript/rsa - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/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.073s) - > 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.043s) - > 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) - > 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/encrypted_keys testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2224879751/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main211355476/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 @@ -1274,7 +1310,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.245s) + # use an encrypted OpenSSH private key without .pub file (0.246s) > age -R key_ed25519.pub -o ed25519.age input > rm key_ed25519.pub > ttyin terminal @@ -1283,14 +1319,14 @@ test > cmp stdout input > ! stderr . - # -e -i with an encrypted OpenSSH private key (0.217s) + # -e -i with an encrypted OpenSSH private key (0.238s) > 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.010s) + # a file encrypted to the wrong key does not ask for the password (0.020s) > age -R key_ed25519_other.pub -o ed25519_other.age input > ! age -d -i key_ed25519 ed25519_other.age [stderr] @@ -1298,7 +1334,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.049s) + # use an encrypted legacy PEM private key with a .pub file (0.074s) > age -R key_rsa_legacy.pub -o rsa_legacy.age input > ttyin terminal > age -d -i key_rsa_legacy rsa_legacy.age @@ -1313,14 +1349,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.042s) + # -e -i with an encrypted legacy PEM private key (0.059s) > 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.004s) + # legacy PEM private key without a .pub file causes an error (0.006s) > rm key_rsa_legacy.pub > ! age -d -i key_rsa_legacy rsa_legacy.age [stderr] @@ -1330,7 +1366,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.007s) > cp key_rsa_legacy key_rsa_other > ttyin terminal > ! age -d -i key_rsa_other rsa_other.age @@ -1339,17 +1375,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.334s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.241s) > 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+IHNzaC1lZDI1NTE5IG5zRGRiZyBaYWNa - U2l0SXVCT0QxTFZITHVnRGd3U1BLeWlGTzEyWklxUitmM21IUHg4CnRjTHFzb1B4 - R2R0Wkx4NFNxcVdTcVltckhoOTJkejNLOGFoV041RENaNU0KLS0tIE5wTUxETnBM - ek9LOEhQSEZaeGdxQ1BVaVNDY1JyOWY5YW5NMzN4WWhnVHMKMWgJKB9LsY1wdrWj - FXEUxqB4ZH2MQc/D8pcJSUFbtSdAaUBlsw== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IG5zRGRiZyA0V1RZ + aU92ZnVOQkRkNlZoT0EzT2ppM0pJUjFMcUkrMmZMakZ5Q09hWEg4CnBmamExOXBp + REM5NnZSeEIzZEhhZmpOUkpDSFBCT0ZCSHNObW1PeTdXaUkKLS0tIDE3TlpxVmlQ + RlZvSWVOVW0rY3ZnUVUyeDNHU2pYNGtiSkxmQi8wWjFiSlUKACp5aI1k78PRugnM + FYhmg2UeCYqFm6sAgxJV2tT9MIwzKBXqJg== -----END AGE ENCRYPTED FILE----- password > ttyin -stdin stdout @@ -1362,28 +1398,28 @@ PASS --- PASS: TestScript (0.00s) - --- PASS: TestScript/usage (0.05s) - --- PASS: TestScript/pkcs8 (0.06s) - --- PASS: TestScript/x25519 (0.07s) - --- PASS: TestScript/ed25519 (0.07s) - --- PASS: TestScript/plugin (0.07s) - --- PASS: TestScript/scrypt (0.09s) - --- PASS: TestScript/terminal (0.09s) - --- PASS: TestScript/output_file (0.12s) - --- PASS: TestScript/rsa (0.13s) - --- PASS: TestScript/encrypted_keys (0.91s) + --- PASS: TestScript/usage (0.06s) + --- PASS: TestScript/ed25519 (0.09s) + --- PASS: TestScript/x25519 (0.11s) + --- PASS: TestScript/pkcs8 (0.12s) + --- PASS: TestScript/plugin (0.13s) + --- PASS: TestScript/terminal (0.14s) + --- PASS: TestScript/scrypt (0.15s) + --- PASS: TestScript/rsa (0.18s) + --- PASS: TestScript/output_file (0.21s) + --- PASS: TestScript/encrypted_keys (0.90s) PASS -ok filippo.io/age/cmd/age 0.914s +ok filippo.io/age/cmd/age 0.913s === RUN TestBech32 --- PASS: TestBech32 (0.00s) PASS -ok filippo.io/age/internal/bech32 0.003s +ok filippo.io/age/internal/bech32 0.004s === RUN TestStanzaMarshal --- PASS: TestStanzaMarshal (0.00s) === RUN FuzzMalleability --- PASS: FuzzMalleability (0.00s) PASS -ok filippo.io/age/internal/format 0.003s +ok filippo.io/age/internal/format 0.008s === RUN TestRoundTrip === RUN TestRoundTrip/len=0,step=512 stream_test.go:72: buffer size: 16 @@ -1417,29 +1453,29 @@ stream_test.go:72: buffer size: 65552 === RUN TestRoundTrip/len=65636,step=65536 stream_test.go:72: buffer size: 65668 ---- PASS: TestRoundTrip (0.03s) +--- PASS: TestRoundTrip (0.04s) --- 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=0,step=600 (0.00s) --- PASS: TestRoundTrip/len=1000,step=600 (0.00s) - --- PASS: TestRoundTrip/len=65536,step=600 (0.00s) + --- PASS: TestRoundTrip/len=65536,step=600 (0.01s) --- 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=65636,step=1000 (0.00s) + --- PASS: TestRoundTrip/len=65536,step=1000 (0.01s) + --- PASS: TestRoundTrip/len=65636,step=1000 (0.01s) --- 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=65536,step=65536 (0.01s) --- PASS: TestRoundTrip/len=65636,step=65536 (0.00s) PASS -ok filippo.io/age/internal/stream 0.028s +ok filippo.io/age/internal/stream 0.049s === RUN TestLabels ---- PASS: TestLabels (0.02s) +--- PASS: TestLabels (0.05s) PASS -ok filippo.io/age/plugin 0.020s +ok filippo.io/age/plugin 0.061s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -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/31054/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31054/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/96896 and its subdirectories -I: Current time: Tue Mar 3 05:44:42 -12 2026 -I: pbuilder-time-stamp: 1772559882 +I: removing directory /srv/workspace/pbuilder/31054 and its subdirectories +I: Current time: Thu Jan 30 01:23:05 +14 2025 +I: pbuilder-time-stamp: 1738149785