Diff of the two buildlogs: -- --- b1/build.log 2024-12-19 19:05:41.396665050 +0000 +++ b2/build.log 2024-12-19 19:06:34.486270554 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 19 07:03:57 -12 2024 -I: pbuilder-time-stamp: 1734635037 +I: Current time: Thu Jan 22 15:28:44 +14 2026 +I: pbuilder-time-stamp: 1769045324 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,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/38722/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4630/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-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 22 01:28 /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/4630/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4630/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=11 ' - DISTRIBUTION='unstable' - 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=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5bd6205cc0424776bf59a10f7bb7dec4' - 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='38722' - PS1='# ' - PS2='> ' + INVOCATION_ID=34423e69191d4e43918f8f11fe78175c + 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=4630 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.0au2H8dJ/pbuilderrc_dxk3 --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.0au2H8dJ/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://46.16.76.132: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.0au2H8dJ/pbuilderrc_NpfU --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.0au2H8dJ/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://213.165.73.152:3128 I: uname -a - Linux ionos12-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) 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/38722/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4630/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -168,7 +200,7 @@ Get: 44 http://deb.debian.org/debian unstable/main i386 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 45 http://deb.debian.org/debian unstable/main i386 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] -Fetched 73.4 MB in 1s (53.2 MB/s) +Fetched 73.4 MB in 1s (99.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19953 files and directories currently installed.) @@ -367,7 +399,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/4630/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4630/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 @@ -387,53 +423,53 @@ 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 11 -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/goarch + cd _build && go install -trimpath -v -p 21 -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/asan internal/byteorder -internal/coverage/rtcov -internal/profilerecord -internal/goos internal/godebugs -internal/runtime/atomic +internal/profilerecord +internal/itoa +internal/msan +crypto/internal/alias +unicode/utf8 internal/unsafeheader +internal/coverage/rtcov +internal/race +math/bits +internal/goos internal/runtime/syscall -internal/cpu internal/goexperiment -internal/race -runtime/internal/math -runtime/internal/sys -unicode/utf8 -internal/abi -unicode sync/atomic -internal/chacha8rand -math/bits -crypto/internal/alias +internal/runtime/atomic +internal/goarch crypto/internal/boring/sig -internal/asan -internal/itoa -internal/msan +internal/cpu +unicode cmp -internal/runtime/exithook golang.org/x/crypto/internal/alias unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace log/internal encoding -internal/bytealg +runtime/internal/math +internal/abi golang.org/x/crypto/cryptobyte/asn1 +runtime/internal/sys +internal/chacha8rand math +internal/bytealg +internal/runtime/exithook internal/stringslite runtime crypto/subtle iter -sync internal/reflectlite internal/weak +sync slices -internal/testlog internal/singleflight +internal/testlog internal/bisect runtime/cgo errors @@ -441,92 +477,92 @@ sort internal/oserror path -crypto/internal/edwards25519/field -math/rand -strconv io +strconv +crypto/internal/edwards25519/field +bytes vendor/golang.org/x/net/dns/dnsmessage +math/rand +strings math/rand/v2 crypto/internal/nistec/fiat -syscall -crypto/internal/edwards25519 -bytes hash -strings crypto/internal/randutil -internal/concurrent -unique -crypto/cipher -crypto crypto/rc4 -net/netip +bufio golang.org/x/crypto/blowfish +internal/concurrent +crypto/cipher +crypto/internal/edwards25519 +regexp/syntax +syscall reflect +crypto +unique crypto/md5 -bufio -regexp/syntax crypto/internal/boring crypto/des crypto/hmac crypto/sha256 crypto/sha512 crypto/aes -golang.org/x/crypto/hkdf +net/netip crypto/sha1 +golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -internal/syscall/unix -internal/syscall/execenv -time regexp crypto/internal/nistec -io/fs -context -internal/poll -internal/fmtsort -encoding/binary -internal/filepathlite +internal/syscall/execenv +internal/syscall/unix +time crypto/ecdh golang.org/x/crypto/curve25519 -os -encoding/base64 +internal/fmtsort +encoding/binary +context +io/fs +internal/poll golang.org/x/crypto/scrypt +encoding/base64 golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/chacha20 filippo.io/edwards25519/field golang.org/x/sys/unix +internal/filepathlite encoding/pem golang.org/x/crypto/chacha20poly1305 filippo.io/edwards25519 +os path/filepath fmt net os/exec encoding/hex -flag -net/url -golang.org/x/sys/execabs -log -filippo.io/age/internal/format filippo.io/age/internal/bech32 -math/big +net/url filippo.io/age/internal/stream +filippo.io/age/internal/format +log +golang.org/x/sys/execabs +flag runtime/debug +math/big filippo.io/age/armor golang.org/x/term crypto/internal/boring/bbig -crypto/internal/bigmod -crypto/elliptic crypto/dsa -encoding/asn1 crypto/rand +crypto/elliptic +crypto/internal/bigmod +encoding/asn1 crypto/ed25519 filippo.io/age crypto/rsa -filippo.io/age/plugin filippo.io/age/cmd/age-keygen -vendor/golang.org/x/crypto/cryptobyte +filippo.io/age/plugin crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte 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 11 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 21 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.54s) +--- PASS: TestEncryptDecryptScrypt (0.29s) === 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 (9.29s) +--- PASS: TestLabels (4.85s) === RUN TestX25519RoundTrip ---- PASS: TestX25519RoundTrip (0.01s) +--- PASS: TestX25519RoundTrip (0.00s) === RUN TestScryptRoundTrip ---- PASS: TestScryptRoundTrip (0.55s) +--- PASS: TestScryptRoundTrip (0.27s) === RUN TestVectors testkit_test.go:28: Skip c2sp until package in Debian --- SKIP: TestVectors (0.00s) @@ -568,17 +604,17 @@ === RUN ExampleGenerateX25519Identity --- PASS: ExampleGenerateX25519Identity (0.00s) PASS -ok filippo.io/age 10.485s +ok filippo.io/age 5.449s === RUN TestSSHRSARoundTrip ---- PASS: TestSSHRSARoundTrip (1.69s) +--- PASS: TestSSHRSARoundTrip (0.60s) === RUN TestSSHEd25519RoundTrip ---- PASS: TestSSHEd25519RoundTrip (0.04s) +--- PASS: TestSSHEd25519RoundTrip (0.02s) PASS -ok filippo.io/age/agessh 1.786s +ok filippo.io/age/agessh 0.629s === RUN TestArmor === RUN TestArmor/PartialLine === RUN TestArmor/FullLine ---- PASS: TestArmor (0.02s) +--- PASS: TestArmor (0.00s) --- PASS: TestArmor/PartialLine (0.00s) --- PASS: TestArmor/FullLine (0.00s) === RUN FuzzMalleability @@ -588,7 +624,7 @@ === RUN ExampleNewReader --- PASS: ExampleNewReader (0.00s) PASS -ok filippo.io/age/armor 0.057s +ok filippo.io/age/armor 0.007s === RUN TestScript === RUN TestScript/ed25519 === PAUSE TestScript/ed25519 @@ -612,39 +648,17 @@ === PAUSE TestScript/x25519 === CONT TestScript/ed25519 === CONT TestScript/rsa -=== CONT TestScript/plugin === CONT TestScript/usage -=== CONT TestScript/x25519 === CONT TestScript/terminal -=== CONT TestScript/scrypt -=== CONT TestScript/output_file +=== CONT TestScript/plugin === CONT TestScript/pkcs8 +=== CONT TestScript/x25519 +=== CONT TestScript/output_file +=== CONT TestScript/scrypt === CONT TestScript/encrypted_keys -=== NAME TestScript/pkcs8 - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/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.213s) - > age -e -i key.pem -o test.age input - > age -d -i key.pem test.age - [stdout] - test - > cmp stdout input - > ! stderr . - PASS - === NAME TestScript/usage testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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 +668,7 @@ $=$ exe= - # -help (0.024s) + # -help (0.008s) > age -p -help [stderr] Usage: @@ -698,7 +712,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # -h (0.141s) + # -h (0.015s) > age -p -h [stderr] Usage: @@ -742,7 +756,7 @@ $ age --decrypt -i key.txt -o data.tar.gz data.tar.gz.age > ! stdout . > stderr 'Usage:' - # unknown flag (0.059s) + # unknown flag (0.004s) > ! age -p -this-flag-does-not-exist [stderr] flag provided but not defined: -this-flag-does-not-exist @@ -789,7 +803,7 @@ > ! stdout . > stderr 'flag provided but not defined' > stderr 'Usage:' - # no arguments (0.014s) + # no arguments (0.004s) > ! age [stderr] Usage: @@ -836,9 +850,9 @@ > stderr 'Usage:' PASS -=== NAME TestScript/rsa +=== NAME TestScript/x25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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,23 +862,23 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.177s) - > age -R key.pem.pub -o test.age input - > age -d -i key.pem test.age + # encrypt and decrypt a file with -r (0.028s) + > 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.143s) - > age -e -i key.pem -o test.age input - > age -d -i key.pem test.age + # encrypt and decrypt a file with -i (0.014s) + > 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.026s) - > age -R otherkey.pem.pub -o test.age input - > ! age -d -i key.pem test.age + # encrypt and decrypt a file with the wrong key (0.010s) + > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input + > ! age -d -i key.txt test.age [stderr] age: error: no identity matched any of the recipients age: report unexpected or unhelpful errors at https://filippo.io/age/report @@ -874,7 +888,7 @@ === NAME TestScript/ed25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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 +898,21 @@ $=$ exe= - # encrypt and decrypt a file with -R (0.071s) + # encrypt and decrypt a file with -R (0.031s) > 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.173s) + # encrypt and decrypt a file with -i (0.014s) > 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.101s) + # encrypt and decrypt a file with the wrong key (0.011s) > age -R otherkey.pem.pub -o test.age input > ! age -d -i key.pem test.age [stderr] @@ -911,7 +925,7 @@ === NAME TestScript/plugin testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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,21 +935,21 @@ $=$ exe= - # encrypt and decrypt a file with a test plugin (0.174s) + # encrypt and decrypt a file with a test plugin (0.032s) > 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.179s) + # very long identity and recipient (0.016s) > 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.036s) + # check that path separators are rejected (0.011s) > chmod 755 age-plugin-pwn/pwn > mkdir $TMPDIR/age-plugin-pwn > cp age-plugin-pwn/pwn $TMPDIR/age-plugin-pwn/pwn @@ -957,9 +971,31 @@ > ! exists pwn PASS +=== NAME TestScript/pkcs8 + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main4092879757/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= + + # https://github.com/FiloSottile/age/discussions/428 + # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.060s) + > age -e -i key.pem -o test.age input + > age -d -i key.pem test.age + [stdout] + test + > cmp stdout input + > ! stderr . + PASS + === NAME TestScript/scrypt testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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 @@ -971,14 +1007,14 @@ > [!linux] [!darwin] skip # no pty support > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # encrypt with a provided passphrase (0.181s) + # encrypt with a provided passphrase (0.025s) > stdin input > ttyin terminal > age -p -o test.age > ttyout 'Enter passphrase' > ! stderr . > ! stdout . - # decrypt with a provided passphrase (0.028s) + # decrypt with a provided passphrase (0.013s) > ttyin terminal > age -d test.age [stdout] @@ -986,7 +1022,7 @@ > ttyout 'Enter passphrase' > ! stderr . > cmp stdout input - # decrypt with the wrong passphrase (0.021s) + # decrypt with the wrong passphrase (0.011s) > ttyin wrong > ! age -d test.age [stderr] @@ -994,7 +1030,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.070s) + # encrypt with a generated passphrase (0.017s) > stdin input > ttyin empty > age -p -o test.age @@ -1005,7 +1041,7 @@ [stdout] test > cmp stdout input - # fail when -i is present (0.010s) + # fail when -i is present (0.005s) > ttyin terminal > ! age -d -i key.txt test.age [stderr] @@ -1014,7 +1050,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.019s) + # fail when passphrases don't match (0.004s) > ttyin wrong > ! age -p -o fail.age [stderr] @@ -1025,45 +1061,9 @@ > ! exists fail.age PASS -=== NAME TestScript/x25519 - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/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.227s) - > 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.107s) - > 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.052s) - > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input - > ! age -d -i key.txt test.age - [stderr] - age: error: no identity matched any of the recipients - age: report unexpected or unhelpful errors at https://filippo.io/age/report - [exit status 1] - > stderr 'no identity matched any of the recipients' - PASS - === NAME TestScript/terminal testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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 @@ -1075,11 +1075,11 @@ > [!linux] [!darwin] skip # no pty support > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # controlling terminal is used instead of stdin/stderr (0.156s) + # controlling terminal is used instead of stdin/stderr (0.021s) > ttyin terminal > age -p -o test.age input > ! stderr . - # autogenerated passphrase is printed to terminal (0.082s) + # autogenerated passphrase is printed to terminal (0.050s) > ttyin empty > age -p -o test.age input > ttyout 'autogenerated passphrase' @@ -1097,7 +1097,7 @@ # noctty # ! age -p -o test.age input # stderr 'standard input is not a terminal' - # prompt for password before plaintext if stdin is the terminal (0.076s) + # prompt for password before plaintext if stdin is the terminal (0.011s) > exec cat terminal input # concatenated password + input [stdout] password @@ -1107,22 +1107,22 @@ > age -p -a -o test.age > ttyout 'Enter passphrase' > ! stderr . - # check the file was encrypted correctly (0.032s) + # 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.056s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.018s) > ttyin terminal > age -p -a -o test.age input > exec cat test.age terminal # concatenated ciphertext + password [stdout] -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBISEdVeTFwMDZ2Y3hLeVhm - ckQ4WnNRIDEwClVTMjR2Y0JPcTlRengyVzZxSGxzZlZtOVVHQmxtbDJ1NjZ6cGxl - Um5aTWcKLS0tIE1NYjlyZWFoZVAwcUJ5T1ZmUDdlUXZ6dkNZMXhjRFlFY0ZwWlhG - Q0RaaEUKXoO1XrGVEKqnAgq1G1L7kW6HMBGfZOs5xkylGD8n30c8m/k4BQ== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCB2WkJFcGVmYlNNajd6Mjdk + MEROVDdnIDEwClphYVVxcFliQ3VxV2xGNlJRQmVhRlI1NmxqaHZBMmF3cWk2aDFs + NWgyT0UKLS0tIC9tS0RFMmV4NnZUSHJCZXZ3L1lLdDJZQWg2TUw4NG8rY25RREdJ + VTdIUHMKFjYYyXjYj4eSihWmxSblnkyduhV77AiXM3wXZKSjPriiA1O5AQ== -----END AGE ENCRYPTED FILE----- password password @@ -1137,7 +1137,7 @@ === NAME TestScript/output_file testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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 +1147,7 @@ $=$ exe= - # https://github.com/FiloSottile/age/issues/57 (0.282s) + # https://github.com/FiloSottile/age/issues/57 (0.049s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o test.age input > ! age -o test.out -d -i wrong.txt test.age [stderr] @@ -1191,7 +1191,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.033s) + # https://github.com/FiloSottile/age/issues/555 (0.017s) > age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o empty.age empty > exists empty.age > age -d -i key.txt empty.age @@ -1200,7 +1200,7 @@ > age -d -i key.txt -o new empty.age > ! stderr . > cmp new empty - # https://github.com/FiloSottile/age/issues/491 (0.080s) + # https://github.com/FiloSottile/age/issues/491 (0.025s) > cp input inputcopy > ! age -r age1xmwwc06ly3ee5rytxm9mflaz2u56jjj36s0mypdrwsvlul66mv4q47ryef -o inputcopy inputcopy [stderr] @@ -1243,7 +1243,7 @@ [exit status 1] > stderr 'input and output file are the same' > cmp inputcopy input - # https://github.com/FiloSottile/age/issues/159 (0.048s) + # https://github.com/FiloSottile/age/issues/159 (0.018s) > ttyin terminal > age -p -a -o test.age input > ttyin terminalwrong @@ -1257,9 +1257,45 @@ > ! exists test.out PASS +=== NAME TestScript/rsa + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main4092879757/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.063s) + > 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.041s) + > 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.010s) + > 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-main1206392090/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4092879757/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.287s) + # use an encrypted OpenSSH private key without .pub file (0.231s) > 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.275s) + # -e -i with an encrypted OpenSSH private key (0.217s) > 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.021s) + # a file encrypted to the wrong key does not ask for the password (0.010s) > 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.095s) + # use an encrypted legacy PEM private key with a .pub file (0.049s) > 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.074s) + # -e -i with an encrypted legacy PEM private key (0.039s) > 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.007s) + # legacy PEM private key without a .pub file causes an error (0.004s) > 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.010s) + # 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 @@ -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.240s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.218s) > 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+IHNzaC1lZDI1NTE5IG5zRGRiZyA1M1Y0 - VFBLQmUwWGk1blBleWhiellJdVdnb2ZVVytKdGQ5cmEwWks1WERjClpKeVo1NHZD - bDA5STFheGxFVDBnU2NFYlRrN2ZFbzBtSUpzdGp4VWFQL0UKLS0tIFlNVFdOelJ6 - NWhEKzRtQS94cTR6d3B1OS90NkQvTW9EbnIrYVErYys2SmcKX0NYuOqNX064kRtc - NNCaCokORwjtL3gi8sQLrWWeOm5R1lc03Q== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IG5zRGRiZyBNYTJL + RjRzOFJaZ0dBTHNPUXRPK0ZwWlhrWURNQkExb3VXRmtXdldFNmlrCnY4dncvZ0pT + YXErU21Eb1BGalFSaTRSU0dISmtkNVBFdGxFaG9MVkFLbW8KLS0tIE45VVd2VTlW + V3RTWFQySHRmSzdOME9iYUtOZFVFME1UZ01XOWZzcTNyMjAKyu1LXIjC8AMcm2it + uX/c1eiatd7um11nZ8lgm0BvZ5WAqY1NHQ== -----END AGE ENCRYPTED FILE----- password > ttyin -stdin stdout @@ -1361,28 +1397,28 @@ PASS --- PASS: TestScript (0.00s) - --- PASS: TestScript/pkcs8 (0.22s) - --- PASS: TestScript/usage (0.25s) - --- PASS: TestScript/rsa (0.35s) - --- PASS: TestScript/ed25519 (0.35s) - --- PASS: TestScript/plugin (0.40s) - --- PASS: TestScript/scrypt (0.39s) - --- PASS: TestScript/x25519 (0.40s) - --- PASS: TestScript/terminal (0.42s) - --- PASS: TestScript/output_file (0.45s) - --- PASS: TestScript/encrypted_keys (1.13s) + --- PASS: TestScript/usage (0.03s) + --- PASS: TestScript/x25519 (0.05s) + --- PASS: TestScript/ed25519 (0.06s) + --- PASS: TestScript/plugin (0.06s) + --- PASS: TestScript/pkcs8 (0.06s) + --- PASS: TestScript/scrypt (0.08s) + --- PASS: TestScript/terminal (0.11s) + --- PASS: TestScript/output_file (0.11s) + --- PASS: TestScript/rsa (0.12s) + --- PASS: TestScript/encrypted_keys (0.77s) PASS -ok filippo.io/age/cmd/age 1.163s +ok filippo.io/age/cmd/age 0.782s === RUN TestBech32 --- PASS: TestBech32 (0.00s) PASS -ok filippo.io/age/internal/bech32 0.006s +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.006s +ok filippo.io/age/internal/format 0.003s === RUN TestRoundTrip === RUN TestRoundTrip/len=0,step=512 stream_test.go:72: buffer size: 16 @@ -1416,10 +1452,10 @@ stream_test.go:72: buffer size: 65552 === RUN TestRoundTrip/len=65636,step=65536 stream_test.go:72: buffer size: 65668 ---- PASS: TestRoundTrip (0.05s) +--- 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.01s) + --- 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) @@ -1431,14 +1467,14 @@ --- 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.01s) - --- PASS: TestRoundTrip/len=65636,step=65536 (0.01s) + --- PASS: TestRoundTrip/len=65536,step=65536 (0.00s) + --- PASS: TestRoundTrip/len=65636,step=65536 (0.00s) PASS -ok filippo.io/age/internal/stream 0.067s +ok filippo.io/age/internal/stream 0.042s === RUN TestLabels ---- PASS: TestLabels (0.12s) +--- PASS: TestLabels (0.03s) PASS -ok filippo.io/age/plugin 0.131s +ok filippo.io/age/plugin 0.035s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1467,9 +1503,9 @@ 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 'golang-filippo-age-dev' in '../golang-filippo-age-dev_1.2.1-1_all.deb'. dpkg-deb: building package 'age' in '../age_1.2.1-1_i386.deb'. dpkg-deb: building package 'age-dbgsym' in '../age-dbgsym_1.2.1-1_i386.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_i386.buildinfo dpkg-genchanges --build=binary -O../age_1.2.1-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1477,12 +1513,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4630/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4630/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/38722 and its subdirectories -I: Current time: Thu Dec 19 07:05:40 -12 2024 -I: pbuilder-time-stamp: 1734635140 +I: removing directory /srv/workspace/pbuilder/4630 and its subdirectories +I: Current time: Thu Jan 22 15:29:34 +14 2026 +I: pbuilder-time-stamp: 1769045374