Diff of the two buildlogs: -- --- b1/build.log 2025-01-29 09:12:18.373046696 +0000 +++ b2/build.log 2025-01-29 09:14:08.728069172 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 3 03:34:23 -12 2026 -I: pbuilder-time-stamp: 1772552063 +I: Current time: Wed Jan 29 23:12:21 +14 2025 +I: pbuilder-time-stamp: 1738141941 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/73970/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/51398/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-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 09:12 /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/51398/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/51398/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='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=10 ' + 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='6a9467e736c4419291e561319ff9d74d' - 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='73970' - PS1='# ' - PS2='> ' + INVOCATION_ID=f060eb43c44e4e799b9a8fadfa68564c + 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=51398 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.KklGlXud/pbuilderrc_U3dV --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.KklGlXud/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.KklGlXud/pbuilderrc_WhkJ --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.KklGlXud/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 ionos16-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/73970/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/51398/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 unstable/main i386 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] -Fetched 74.1 MB in 2s (41.8 MB/s) +Fetched 74.1 MB in 1s (89.8 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 ... 19829 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/51398/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/51398/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,107 +424,107 @@ 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 -math/bits -internal/msan + 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/unsafeheader +internal/goexperiment +internal/coverage/rtcov +internal/godebugs +internal/goos +internal/goarch +internal/byteorder +internal/profilerecord +internal/cpu +internal/runtime/syscall +internal/runtime/atomic +sync/atomic internal/race +unicode +internal/abi +runtime/internal/math +internal/chacha8rand +runtime/internal/sys +unicode/utf8 +math/bits crypto/internal/alias +crypto/internal/boring/sig internal/asan -internal/goarch -internal/unsafeheader +internal/bytealg internal/itoa -unicode/utf8 -internal/profilerecord -sync/atomic -internal/runtime/syscall cmp -crypto/internal/boring/sig -internal/byteorder -internal/cpu -internal/goexperiment +internal/msan golang.org/x/crypto/internal/alias -internal/runtime/atomic -unicode +internal/runtime/exithook unicode/utf16 -internal/goos -internal/coverage/rtcov -internal/godebugs +math vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/nettrace log/internal encoding golang.org/x/crypto/cryptobyte/asn1 -internal/abi -internal/nettrace -runtime/internal/math -runtime/internal/sys -internal/chacha8rand -math -internal/bytealg -internal/runtime/exithook internal/stringslite runtime -internal/weak crypto/subtle +internal/weak +sync iter internal/reflectlite -sync slices -internal/bisect -internal/singleflight internal/testlog +internal/singleflight +internal/bisect runtime/cgo -errors internal/godebug -internal/oserror -path +errors io sort -math/rand strconv vendor/golang.org/x/net/dns/dnsmessage -math/rand/v2 +path +math/rand crypto/internal/edwards25519/field -syscall +internal/oserror crypto/internal/nistec/fiat +syscall +math/rand/v2 crypto/internal/edwards25519 -hash -crypto/internal/randutil bytes strings +hash +crypto/internal/randutil internal/concurrent unique crypto -crypto/rc4 -crypto/cipher reflect -golang.org/x/crypto/blowfish -net/netip crypto/md5 +crypto/rc4 +golang.org/x/crypto/blowfish +crypto/cipher bufio regexp/syntax +net/netip crypto/des crypto/internal/boring crypto/hmac -crypto/sha256 crypto/sha512 -crypto/sha1 -crypto/aes +crypto/sha256 golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 +crypto/aes +crypto/sha1 golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -regexp -internal/syscall/execenv internal/syscall/unix time +internal/syscall/execenv +regexp crypto/internal/nistec -context io/fs +context internal/poll -crypto/ecdh internal/filepathlite -golang.org/x/crypto/curve25519 internal/fmtsort encoding/binary +crypto/ecdh +golang.org/x/crypto/curve25519 os encoding/base64 golang.org/x/crypto/scrypt @@ -496,39 +532,39 @@ golang.org/x/crypto/chacha20 filippo.io/edwards25519/field golang.org/x/sys/unix -golang.org/x/crypto/chacha20poly1305 encoding/pem +golang.org/x/crypto/chacha20poly1305 filippo.io/edwards25519 -path/filepath fmt +path/filepath net os/exec -filippo.io/age/internal/bech32 encoding/hex -golang.org/x/sys/execabs +filippo.io/age/internal/bech32 +filippo.io/age/internal/format log +golang.org/x/sys/execabs net/url -flag -filippo.io/age/internal/format filippo.io/age/internal/stream -runtime/debug math/big +flag +runtime/debug filippo.io/age/armor golang.org/x/term crypto/internal/boring/bbig -crypto/dsa crypto/rand crypto/internal/bigmod -encoding/asn1 +crypto/dsa crypto/elliptic +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 -golang.org/x/crypto/cryptobyte vendor/golang.org/x/crypto/cryptobyte +golang.org/x/crypto/cryptobyte crypto/ecdsa crypto/x509 golang.org/x/crypto/ssh @@ -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.29s) +--- PASS: TestEncryptDecryptScrypt (0.57s) === 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 (4.88s) +--- PASS: TestLabels (8.27s) === RUN TestX25519RoundTrip ---- PASS: TestX25519RoundTrip (0.00s) +--- PASS: TestX25519RoundTrip (0.01s) === RUN TestScryptRoundTrip ---- PASS: TestScryptRoundTrip (0.29s) +--- PASS: TestScryptRoundTrip (0.56s) === 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.512s +ok filippo.io/age 9.508s === RUN TestSSHRSARoundTrip ---- PASS: TestSSHRSARoundTrip (0.61s) +--- PASS: TestSSHRSARoundTrip (1.01s) === RUN TestSSHEd25519RoundTrip ---- PASS: TestSSHEd25519RoundTrip (0.02s) +--- PASS: TestSSHEd25519RoundTrip (0.04s) PASS -ok filippo.io/age/agessh 0.637s +ok filippo.io/age/agessh 1.055s === 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.012s === RUN TestScript === RUN TestScript/ed25519 === PAUSE TestScript/ed25519 @@ -612,18 +648,18 @@ === RUN TestScript/x25519 === PAUSE TestScript/x25519 === CONT TestScript/ed25519 -=== CONT TestScript/scrypt -=== CONT TestScript/pkcs8 === CONT TestScript/rsa -=== CONT TestScript/x25519 +=== CONT TestScript/output_file +=== CONT TestScript/pkcs8 +=== CONT TestScript/plugin === CONT TestScript/usage === CONT TestScript/terminal -=== CONT TestScript/output_file +=== CONT TestScript/scrypt +=== CONT TestScript/x25519 === CONT TestScript/encrypted_keys -=== CONT TestScript/plugin === NAME TestScript/usage testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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.004s) + # -help (0.019s) > 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.018s) > 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.034s) + # unknown flag (0.017s) > ! 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.010s) > ! age [stderr] Usage: @@ -817,7 +853,7 @@ === NAME TestScript/x25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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,21 +863,21 @@ $=$ exe= - # encrypt and decrypt a file with -r (0.038s) + # encrypt and decrypt a file with -r (0.037s) > 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.016s) + # encrypt and decrypt a file with -i (0.039s) > 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.014s) + # encrypt and decrypt a file with the wrong key (0.033s) > age -r age12phkzssndd5axajas2h74vtge62c86xjhd6u9anyanqhzvdg6sps0xthgl -o test.age input > ! age -d -i key.txt test.age [stderr] @@ -851,9 +887,9 @@ > stderr 'no identity matched any of the recipients' PASS -=== NAME TestScript/pkcs8 +=== NAME TestScript/ed25519 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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 @@ -863,19 +899,34 @@ $=$ exe= - # https://github.com/FiloSottile/age/discussions/428 - # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.069s) + # encrypt and decrypt a file with -R (0.040s) + > 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.046s) > 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.027s) + > 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/ed25519 +=== NAME TestScript/pkcs8 testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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.045s) - > 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.017s) + # https://github.com/FiloSottile/age/discussions/428 + # encrypt and decrypt a file with an Ed25519 key encoded with PKCS#8 (0.118s) > 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.014s) - > 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-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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.051s) + # encrypt and decrypt a file with a test plugin (0.057s) > 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.038s) > age -R long-recipient.txt -o test.age input > age -d -i long-key.txt test.age [stdout] test > cmp stdout input > ! stderr . - # check that path separators are rejected (0.011s) + # check that path separators are rejected (0.024s) > chmod 755 age-plugin-pwn/pwn > mkdir $TMPDIR/age-plugin-pwn > cp age-plugin-pwn/pwn $TMPDIR/age-plugin-pwn/pwn @@ -960,7 +996,7 @@ === NAME TestScript/scrypt testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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 +1008,14 @@ > [!linux] [!darwin] skip # no pty support > [darwin] [go1.20] skip # https://go.dev/issue/61779 - # encrypt with a provided passphrase (0.038s) + # encrypt with a provided passphrase (0.052s) > stdin input > ttyin terminal > age -p -o test.age > ttyout 'Enter passphrase' > ! stderr . > ! stdout . - # decrypt with a provided passphrase (0.012s) + # decrypt with a provided passphrase (0.024s) > ttyin terminal > age -d test.age [stdout] @@ -987,7 +1023,7 @@ > ttyout 'Enter passphrase' > ! stderr . > cmp stdout input - # decrypt with the wrong passphrase (0.014s) + # decrypt with the wrong passphrase (0.023s) > ttyin wrong > ! age -d test.age [stderr] @@ -995,7 +1031,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.019s) + # encrypt with a generated passphrase (0.045s) > stdin input > ttyin empty > age -p -o test.age @@ -1006,7 +1042,7 @@ [stdout] test > cmp stdout input - # fail when -i is present (0.006s) + # fail when -i is present (0.011s) > ttyin terminal > ! age -d -i key.txt test.age [stderr] @@ -1015,7 +1051,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.010s) > ttyin wrong > ! age -p -o fail.age [stderr] @@ -1028,7 +1064,7 @@ === NAME TestScript/terminal testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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 @@ -1040,11 +1076,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.038s) + # controlling terminal is used instead of stdin/stderr (0.022s) > ttyin terminal > age -p -o test.age input > ! stderr . - # autogenerated passphrase is printed to terminal (0.013s) + # autogenerated passphrase is printed to terminal (0.036s) > ttyin empty > age -p -o test.age input > ttyout 'autogenerated passphrase' @@ -1062,7 +1098,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.012s) + # prompt for password before plaintext if stdin is the terminal (0.047s) > exec cat terminal input # concatenated password + input [stdout] password @@ -1072,22 +1108,22 @@ > age -p -a -o test.age > ttyout 'Enter passphrase' > ! stderr . - # check the file was encrypted correctly (0.011s) + # check the file was encrypted correctly (0.028s) > ttyin terminal > age -d test.age [stdout] test > cmp stdout input - # buffer armored ciphertext before prompting if stdin is the terminal (0.019s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.047s) > ttyin terminal > age -p -a -o test.age input > exec cat test.age terminal # concatenated ciphertext + password [stdout] -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBORDFOL1pteVc3YnhWaEM1 - WWt0ZjdnIDEwClNobjBXRTN3NlY5QmdoYU11dFl0Y3QxTElpYlQ2L0pRdUpuSnRQ - VkZCQzQKLS0tIFRNMzMrQ0dGUnBZVms5a3RiOWpXb1RUeGVsc2tIRk50YXV6K05l - dW1NeVUKPySfxWtSYXkrJlpJmgvXuW+AzlXX+GgC6Ii/TRaR0goz51bBaA== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCB3bW5DWE5aRmJldTRWZlBO + V3hkc0NnIDEwCjNmWnA2Z0c4TlVDQXd6ZXpnRHR4Q0xIN29sczNlc3dhWUl4OWJv + eDRQZ2cKLS0tIEtFck1UM2RlaVZma295WUFwMDBhc2xvRTZwZXA1TU54OXltanZQ + QmFRQkUKlJXWgxVYudECtdDX4Zz0OIVR6xOiKxwmOn2pwhn3XaNk8l1l8A== -----END AGE ENCRYPTED FILE----- password password @@ -1100,9 +1136,45 @@ > cmp stdout input PASS +=== NAME TestScript/rsa + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main4180158041/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.099s) + > 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.075s) + > 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.021s) + > 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-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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.068s) + # https://github.com/FiloSottile/age/issues/57 (0.124s) > 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.037s) > 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.054s) > 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.032s) > 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-main4035881326/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.082s) - > 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.044s) - > 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-main4035881326/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4180158041/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.256s) + # use an encrypted OpenSSH private key without .pub file (0.283s) > 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.229s) > 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.019s) > 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.085s) > 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.040s) + # -e -i with an encrypted legacy PEM private key (0.074s) > 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.008s) > 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.012s) > 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.219s) + # buffer armored ciphertext before prompting if stdin is the terminal (0.222s) > 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+IHNzaC1lZDI1NTE5IG5zRGRiZyBybHhm - RlBjbmtCQVk5TGN2TXV0RHZHTjVzVHRkMEZ2eFo5OWpRcVYxVGdnCnFhR2ZKWmRW - ODBicEpQZ0QzUzJGTkVUdFV2bDBka0wxRll5RUlodzlUbmMKLS0tIEtZbWpCUVhR - MTVGV0FlRk1ZckdRa2xJZkhndENYUDloc0VQYnNYc1IwSGMKeeSHlj8cyAZUL4gu - /ANYWSXYkh4oNAh1gpAS50un9pNMgdSiBQ== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IG5zRGRiZyBzeHBY + L1NNNUt5VFNGQjB6ZWE5cGduRnlKM09HWFl6L0lxL2hmQVZDNW1FCjBpd1V1cHdX + VHJwNUl4U01oeEtXMjdRUGNNTmt3OG9hc3FVMzhPQm1HbTQKLS0tIGNBR0RVejlx + RFJRTjlPUmtnbDVYQTRzSnhJbENEOHp4clZWaCtsenVEWGsKaYi5NEFW9lZNYkB3 + nfhjmSgqAaD1OYfDICJHO6AqkA38KT5WGQ== -----END AGE ENCRYPTED FILE----- password > ttyin -stdin stdout @@ -1362,28 +1398,28 @@ PASS --- PASS: TestScript (0.00s) - --- PASS: TestScript/usage (0.05s) - --- PASS: TestScript/x25519 (0.07s) - --- PASS: TestScript/pkcs8 (0.07s) - --- PASS: TestScript/ed25519 (0.08s) - --- PASS: TestScript/plugin (0.08s) - --- PASS: TestScript/scrypt (0.10s) - --- PASS: TestScript/terminal (0.10s) - --- PASS: TestScript/output_file (0.13s) - --- PASS: TestScript/rsa (0.14s) - --- PASS: TestScript/encrypted_keys (0.80s) + --- PASS: TestScript/usage (0.06s) + --- PASS: TestScript/x25519 (0.11s) + --- PASS: TestScript/ed25519 (0.12s) + --- PASS: TestScript/pkcs8 (0.12s) + --- PASS: TestScript/plugin (0.13s) + --- PASS: TestScript/scrypt (0.17s) + --- PASS: TestScript/terminal (0.18s) + --- PASS: TestScript/rsa (0.20s) + --- PASS: TestScript/output_file (0.25s) + --- PASS: TestScript/encrypted_keys (0.93s) PASS -ok filippo.io/age/cmd/age 0.808s +ok filippo.io/age/cmd/age 0.950s === RUN TestBech32 --- PASS: TestBech32 (0.00s) PASS -ok filippo.io/age/internal/bech32 0.003s +ok filippo.io/age/internal/bech32 0.005s === 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.05s) --- PASS: TestRoundTrip/len=0,step=512 (0.00s) --- PASS: TestRoundTrip/len=1000,step=512 (0.00s) - --- PASS: TestRoundTrip/len=65536,step=512 (0.00s) + --- PASS: TestRoundTrip/len=65536,step=512 (0.01s) --- 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.056s === RUN TestLabels ---- PASS: TestLabels (0.02s) +--- PASS: TestLabels (0.07s) PASS -ok filippo.io/age/plugin 0.018s +ok filippo.io/age/plugin 0.078s 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/51398/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/51398/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/73970 and its subdirectories -I: Current time: Tue Mar 3 03:35:17 -12 2026 -I: pbuilder-time-stamp: 1772552117 +I: removing directory /srv/workspace/pbuilder/51398 and its subdirectories +I: Current time: Wed Jan 29 23:14:07 +14 2025 +I: pbuilder-time-stamp: 1738142047