Diff of the two buildlogs: -- --- b1/build.log 2025-09-09 15:47:51.826344365 +0000 +++ b2/build.log 2025-09-09 15:51:57.538663284 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Oct 12 10:05:44 -12 2026 -I: pbuilder-time-stamp: 1791842744 +I: Current time: Wed Sep 10 05:47:53 +14 2025 +I: pbuilder-time-stamp: 1757432873 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,53 +24,85 @@ dpkg-source: info: applying fix-32bit.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2506112/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1441349/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 9 15:48 /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/1441349/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1441349/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='0e884df823f04075a6640b02c6586b48' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2506112' - PS1='# ' - PS2='> ' + INVOCATION_ID=70691d518476457296e21fac013c8f28 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1441349 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.mg7G1K0o/pbuilderrc_w9d4 --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.mg7G1K0o/b1 --logfile b1/build.log opkssh_0.8.0-2.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.mg7G1K0o/pbuilderrc_unaO --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.mg7G1K0o/b2 --logfile b2/build.log opkssh_0.8.0-2.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2506112/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1441349/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -309,7 +341,7 @@ Get: 175 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-ini.v1-dev all 1.67.0-1 [39.9 kB] Get: 176 http://deb.debian.org/debian unstable/main amd64 golang-github-spf13-viper-dev all 1.12.0-1 [68.9 kB] Get: 177 http://deb.debian.org/debian unstable/main amd64 golang-github-spf13-cobra-dev all 1.8.1-1 [75.2 kB] -Fetched 143 MB in 17s (8462 kB/s) +Fetched 143 MB in 16s (9053 kB/s) Preconfiguring packages ... Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19917 files and directories currently installed.) @@ -890,8 +922,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Oct 12 22:09:37 UTC 2026. -Universal Time is now: Mon Oct 12 22:09:37 UTC 2026. +Local time is now: Tue Sep 9 15:50:58 UTC 2025. +Universal Time is now: Tue Sep 9 15:50:58 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-cespare-xxhash-dev (2.3.0-1) ... @@ -1038,7 +1070,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/opkssh-0.8.0/ && 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 > ../opkssh_0.8.0-2_source.changes +I: user script /srv/workspace/pbuilder/1441349/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1441349/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/opkssh-0.8.0/ && 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 > ../opkssh_0.8.0-2_source.changes dpkg-buildpackage: info: source package opkssh dpkg-buildpackage: info: source version 0.8.0-2 dpkg-buildpackage: info: source distribution unstable @@ -1056,51 +1092,51 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 42 github.com/openpubkey/opkssh github.com/openpubkey/opkssh/commands github.com/openpubkey/opkssh/commands/config github.com/openpubkey/opkssh/internal/projectpath github.com/openpubkey/opkssh/policy github.com/openpubkey/opkssh/policy/files github.com/openpubkey/opkssh/policy/plugins github.com/openpubkey/opkssh/sshcert -vendor/golang.org/x/crypto/internal/alias -internal/nettrace -internal/goos + cd _build && go install -trimpath -v -p 40 github.com/openpubkey/opkssh github.com/openpubkey/opkssh/commands github.com/openpubkey/opkssh/commands/config github.com/openpubkey/opkssh/internal/projectpath github.com/openpubkey/opkssh/policy github.com/openpubkey/opkssh/policy/files github.com/openpubkey/opkssh/policy/plugins github.com/openpubkey/opkssh/sshcert +internal/profilerecord internal/itoa -github.com/openpubkey/openpubkey/cosigner/msgs -unicode/utf8 -go.opentelemetry.io/otel/trace/embedded -internal/msan +cmp vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/byteorder -go.opentelemetry.io/otel/metric/embedded -crypto/internal/fips140/alias -internal/profilerecord -golang.org/x/exp/maps -encoding -internal/unsafeheader +internal/godebugs internal/asan +internal/goarch +math/bits +internal/goos +internal/unsafeheader log/slog/internal -cmp -unicode/utf16 -container/list -unicode -github.com/zitadel/oidc/pkg/oidc/grants/tokenexchange +internal/msan +internal/cpu crypto/internal/boring/sig -math/bits -golang.org/x/exp/constraints -internal/goarch -internal/runtime/atomic -internal/godebugs +unicode +unicode/utf16 +crypto/internal/fips140/alias +internal/coverage/rtcov +github.com/openpubkey/openpubkey/cosigner/msgs log/internal +vendor/golang.org/x/crypto/internal/alias +sync/atomic +golang.org/x/exp/maps internal/runtime/syscall +internal/runtime/atomic internal/goexperiment -internal/cpu -internal/coverage/rtcov -sync/atomic +go.opentelemetry.io/otel/metric/embedded +go.opentelemetry.io/otel/trace/embedded +golang.org/x/exp/constraints +github.com/zitadel/oidc/pkg/oidc/grants/tokenexchange golang.org/x/crypto/internal/alias +unicode/utf8 +container/list +internal/byteorder crypto/internal/fips140/subtle +internal/nettrace +encoding internal/runtime/math -internal/runtime/sys -internal/chacha8rand internal/abi -crypto/internal/fips140deps/byteorder +internal/runtime/sys golang.org/x/exp/slices golang.org/x/crypto/salsa20/salsa +internal/chacha8rand +crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu internal/bytealg internal/runtime/exithook @@ -1111,204 +1147,204 @@ internal/runtime/maps go.opentelemetry.io/otel/internal runtime -internal/reflectlite -crypto/subtle weak iter +crypto/subtle +internal/reflectlite sync maps slices internal/singleflight internal/testlog -unique log/slog/internal/buffer internal/bisect +unique runtime/cgo -internal/godebug errors sort -golang.org/x/text/internal/tag +internal/oserror +internal/godebug +strconv path -vendor/golang.org/x/net/dns/dnsmessage io math/rand/v2 -internal/oserror -crypto/internal/fips140deps/godebug -math/rand -strconv -hash +vendor/golang.org/x/net/dns/dnsmessage +syscall +reflect +internal/syscall/execenv crypto/internal/randutil -internal/saferio +golang.org/x/text/internal/tag +math/rand net/netip -bytes -golang.org/x/crypto/blowfish +internal/saferio strings -reflect -syscall +golang.org/x/crypto/blowfish +time +hash +crypto/internal/fips140deps/godebug +bytes +internal/syscall/unix crypto hash/crc32 vendor/golang.org/x/text/transform golang.org/x/text/transform +crypto/internal/impl +crypto/internal/fips140 +bufio net/http/internal/ascii net/http/internal/testcert -bufio -crypto/internal/fips140 -crypto/internal/impl github.com/kballard/go-shellquote html regexp/syntax +golang.org/x/text/runes crypto/tls/internal/fips140tls crypto/internal/fips140/sha256 crypto/internal/fips140/sha512 crypto/internal/fips140/sha3 -golang.org/x/text/runes -crypto/sha3 -internal/syscall/execenv -internal/syscall/unix -time -regexp -crypto/internal/fips140hash crypto/internal/fips140/hmac +crypto/sha3 crypto/internal/fips140/check +crypto/internal/fips140hash +crypto/internal/fips140/nistec/fiat crypto/internal/fips140/edwards25519/field +crypto/internal/fips140/bigmod +crypto/internal/fips140/aes crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 -crypto/internal/fips140/aes -crypto/internal/fips140/bigmod -crypto/internal/fips140/nistec/fiat -crypto/internal/fips140/tls13 -internal/fmtsort -go.opentelemetry.io/otel/internal/attribute -encoding/binary context io/fs internal/poll +crypto/internal/fips140/tls13 +regexp crypto/internal/fips140/edwards25519 -internal/filepathlite +go.opentelemetry.io/otel/internal/baggage github.com/spf13/afero/internal/common embed -go.opentelemetry.io/otel/internal/baggage -crypto/internal/fips140/nistec +internal/filepathlite os +go.opentelemetry.io/otel/internal/attribute +encoding/binary +internal/fmtsort +crypto/internal/fips140/nistec encoding/base64 -golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/internal/poly1305 +golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix encoding/pem golang.org/x/crypto/nacl/secretbox -crypto/internal/sysrand -path/filepath vendor/golang.org/x/sys/cpu +path/filepath +fmt +crypto/internal/sysrand internal/sysinfo io/ioutil -os/signal -fmt golang.org/x/sys/cpu +os/signal +net crypto/internal/entropy -github.com/openpubkey/opkssh/internal/projectpath -github.com/spf13/afero/mem +crypto/internal/fips140/drbg golang.org/x/crypto/sha3 golang.org/x/crypto/blake2b -os/exec -crypto/internal/fips140/drbg crypto/internal/fips140only -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 crypto/internal/fips140/rsa -crypto/internal/fips140/mlkem crypto/internal/fips140/aes/gcm -crypto/rc4 +crypto/internal/fips140/mlkem +github.com/openpubkey/opkssh/internal/projectpath +github.com/spf13/afero/mem +os/exec crypto/md5 +crypto/rc4 +crypto/cipher +vendor/golang.org/x/crypto/chacha20 +crypto/internal/boring +golang.org/x/crypto/chacha20 +crypto/des +encoding/hex github.com/lestrrat-go/iter/arrayiter -github.com/lestrrat-go/jwx/internal/base64 github.com/lestrrat-go/iter/mapiter -github.com/lestrrat-go/httpcc log -net/url +github.com/lestrrat-go/jwx/internal/base64 +mime/quotedprintable +mime +encoding/json +vendor/golang.org/x/net/http2/hpack net/http/internal +github.com/lestrrat-go/blackmagic +github.com/lestrrat-go/option +database/sql/driver +net/url +github.com/lestrrat-go/httpcc +vendor/golang.org/x/text/unicode/norm github.com/pmezard/go-difflib/difflib runtime/trace flag -encoding/gob +github.com/muhlemmer/gu runtime/debug text/template/parse -encoding/csv -github.com/zitadel/schema -encoding/hex -github.com/lestrrat-go/option -database/sql/driver -mime -encoding/json -vendor/golang.org/x/net/http2/hpack -compress/flate +os/user gopkg.in/yaml.v3 -github.com/muhlemmer/gu -github.com/lestrrat-go/blackmagic -golang.org/x/text/unicode/norm golang.org/x/text/internal/language +encoding/csv github.com/go-jose/go-jose/json -mime/quotedprintable +encoding/gob math/big -vendor/golang.org/x/text/unicode/norm -github.com/lestrrat-go/jwx/jwa -github.com/davecgh/go-spew/spew -github.com/lestrrat-go/jwx/internal/iter -go.opentelemetry.io/otel/baggage -crypto/cipher -vendor/golang.org/x/text/unicode/bidi -compress/gzip -github.com/awnumar/memcall -testing -os/user -net -vendor/golang.org/x/text/secure/bidirule -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 -golang.org/x/crypto/chacha20 -golang.org/x/text/internal/language/compact -text/template +compress/flate +golang.org/x/text/unicode/norm +github.com/zitadel/schema crypto/sha512 crypto/aes -crypto/ecdh crypto/hmac +github.com/lestrrat-go/jwx/jwa crypto/sha256 crypto/sha1 -golang.org/x/crypto/pbkdf2 golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -golang.org/x/text/language +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa +github.com/davecgh/go-spew/spew vendor/golang.org/x/crypto/chacha20poly1305 +golang.org/x/crypto/pbkdf2 +github.com/lestrrat-go/jwx/internal/iter +crypto/ecdh +vendor/golang.org/x/text/unicode/bidi +testing +go.opentelemetry.io/otel/baggage golang.org/x/crypto/curve25519 +compress/gzip +vendor/golang.org/x/text/secure/bidirule +text/template +golang.org/x/text/internal/language/compact +golang.org/x/text/language vendor/golang.org/x/net/idna +github.com/awnumar/memcall go.opentelemetry.io/otel/codes -github.com/lestrrat-go/jwx/internal/json log/slog -github.com/sirupsen/logrus go.opentelemetry.io/otel/attribute -github.com/stretchr/testify/assert/yaml -html/template -crypto/rand +github.com/sirupsen/logrus +github.com/lestrrat-go/jwx/internal/json crypto/internal/boring/bbig -crypto/dsa -crypto/elliptic +crypto/rand encoding/asn1 +crypto/dsa github.com/lestrrat-go/jwx/internal/pool filippo.io/bigmod -github.com/lestrrat-go/jwx/x25519 -crypto/internal/hpke +crypto/elliptic crypto/ed25519 -github.com/awnumar/memguard/core -github.com/gorilla/securecookie crypto/rsa +crypto/internal/hpke +github.com/lestrrat-go/jwx/x25519 +github.com/awnumar/memguard/core +github.com/stretchr/testify/assert/yaml go.opentelemetry.io/otel/metric go.opentelemetry.io/otel/trace -github.com/lestrrat-go/jwx/internal/ecutil +github.com/gorilla/securecookie +html/template golang.org/x/crypto/ed25519 github.com/awnumar/memguard +github.com/lestrrat-go/jwx/internal/ecutil +github.com/go-logr/logr crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte -github.com/go-logr/logr github.com/go-logr/logr/funcr crypto/ecdsa github.com/go-logr/stdr @@ -1320,22 +1356,22 @@ github.com/spf13/pflag vendor/golang.org/x/net/http/httpguts mime/multipart -github.com/spf13/cobra github.com/lestrrat-go/jwx/jwk/internal/x509 github.com/lestrrat-go/jwx/cert github.com/openpubkey/openpubkey/util +github.com/spf13/cobra github.com/go-jose/go-jose -golang.org/x/crypto/ssh crypto/tls +golang.org/x/crypto/ssh github.com/openpubkey/openpubkey/oidc github.com/zitadel/oidc/pkg/crypto net/http/httptrace net/http -go.opentelemetry.io/otel/propagation -github.com/zitadel/logging -golang.org/x/oauth2/internal github.com/lestrrat-go/httprc +go.opentelemetry.io/otel/propagation net/http/httptest +golang.org/x/oauth2/internal +github.com/zitadel/logging github.com/spf13/afero golang.org/x/oauth2 go.opentelemetry.io/otel/internal/global @@ -1343,13 +1379,13 @@ github.com/lestrrat-go/jwx/jwk golang.org/x/oauth2/clientcredentials github.com/zitadel/oidc/pkg/oidc +github.com/openpubkey/opkssh/policy/files go.opentelemetry.io/otel github.com/zitadel/oidc/internal/otel github.com/zitadel/oidc/pkg/http -github.com/openpubkey/opkssh/policy/files github.com/zitadel/oidc/pkg/client -github.com/zitadel/oidc/pkg/client/rp github.com/stretchr/testify/require +github.com/zitadel/oidc/pkg/client/rp github.com/lestrrat-go/jwx/internal/keyconv github.com/lestrrat-go/jwx/jws github.com/openpubkey/openpubkey/pktoken/clientinstance @@ -1362,14 +1398,14 @@ github.com/openpubkey/openpubkey/verifier github.com/openpubkey/openpubkey/providers github.com/openpubkey/opkssh/sshcert -github.com/openpubkey/openpubkey/client github.com/openpubkey/opkssh/commands/config -github.com/openpubkey/openpubkey/client/choosers github.com/openpubkey/opkssh/policy +github.com/openpubkey/openpubkey/client +github.com/openpubkey/openpubkey/client/choosers github.com/openpubkey/opkssh/commands github.com/openpubkey/opkssh dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 github.com/openpubkey/opkssh github.com/openpubkey/opkssh/commands github.com/openpubkey/opkssh/commands/config github.com/openpubkey/opkssh/internal/projectpath github.com/openpubkey/opkssh/policy github.com/openpubkey/opkssh/policy/files github.com/openpubkey/opkssh/policy/plugins github.com/openpubkey/opkssh/sshcert + cd _build && go test -vet=off -v -p 40 github.com/openpubkey/opkssh github.com/openpubkey/opkssh/commands github.com/openpubkey/opkssh/commands/config github.com/openpubkey/opkssh/internal/projectpath github.com/openpubkey/opkssh/policy github.com/openpubkey/opkssh/policy/files github.com/openpubkey/opkssh/policy/plugins github.com/openpubkey/opkssh/sshcert === RUN TestIsOpenSSHVersion8Dot1OrGreater === RUN TestIsOpenSSHVersion8Dot1OrGreater/Exact_8.1 === RUN TestIsOpenSSHVersion8Dot1OrGreater/Above_8.1_(8.4) @@ -1441,74 +1477,74 @@ --- PASS: TestWithEnvVars/Set_OPKSSH_PROVIDERS_with_bad_provider (0.00s) --- PASS: TestWithEnvVars/Set_OPKSSH_PROVIDERS_with_good_provider_but_asking_for_wrong_alias (0.00s) PASS -ok github.com/openpubkey/opkssh 0.026s +ok github.com/openpubkey/opkssh 0.029s === RUN TestAddErrors -2026/10/12 10:10:21 Successfully added user with email alice@example.com with principal foo to the policy file +2025/09/10 05:51:33 Successfully added user with email alice@example.com with principal foo to the policy file --- PASS: TestAddErrors (0.00s) === RUN TestAddUniqueness -2026/10/12 10:10:21 Successfully added user with email alice@example.com with principal user1 to the policy file -2026/10/12 10:10:21 User with email alice@example.com already has access under the principal user1, skipping... -2026/10/12 10:10:21 Successfully added user with email alice@example.com with principal user2 to the policy file -2026/10/12 10:10:21 User with email alice@example.com already has access under the principal user2, skipping... +2025/09/10 05:51:33 Successfully added user with email alice@example.com with principal user1 to the policy file +2025/09/10 05:51:33 User with email alice@example.com already has access under the principal user1, skipping... +2025/09/10 05:51:33 Successfully added user with email alice@example.com with principal user2 to the policy file +2025/09/10 05:51:33 User with email alice@example.com already has access under the principal user2, skipping... --- PASS: TestAddUniqueness (0.00s) === RUN TestLoginCmd === RUN TestLoginCmd/Good_path_with_no_vars -2026/10/12 10:10:22 DEBUG: running login command with args: {Fs:0xc00034dce0 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:false DisableBrowserOpenArg:false PrintIdTokenArg:true KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc0002bfb70 Config:0xc0001f4de0 pkt: signer: alg: client: principals:[]} -2026/10/12 10:10:22 Warning: could not find issuer https://accounts.example.com in client config providers +2025/09/10 05:51:34 DEBUG: running login command with args: {Fs:0xc0002befc0 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:false DisableBrowserOpenArg:false PrintIdTokenArg:true KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc0002cfc40 Config:0xc0001b8de0 pkt: signer: alg: client: principals:[]} +2025/09/10 05:51:34 Warning: could not find issuer https://accounts.example.com in client config providers Writing opk ssh public key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa-cert.pub and corresponding secret key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa id_token: { "iss": "https://accounts.example.com", "sub": "me", - "exp": 1791850222, - "iat": 1791843022, + "exp": 1757440294, + "iat": 1757433094, "email": "arthur.aardvark@example.com", - "nonce": "ULar8kRCGE1c3ZClhU0IpU7p-8CYJHDYRMXoAb48nY8" + "nonce": "jIY7qA901HLMUfW_suGu1Jdt_CDFpjzHoNja8nRNBj4" } Keys generated for identity Email, sub, issuer, audience: arthur.aardvark@example.com me https://accounts.example.com test_client_id === RUN TestLoginCmd/Good_path_(load_config) -2026/10/12 10:10:22 DEBUG: running login command with args: {Fs:0xc00032a060 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:false DisableBrowserOpenArg:false PrintIdTokenArg:true KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc000238720 Config: pkt: signer: alg: client: principals:[]} -2026/10/12 10:10:22 failed to find client config file to generate a default config, run `opkssh login --create-config` to create a default config file -2026/10/12 10:10:22 Warning: could not find issuer https://accounts.example.com in client config providers +2025/09/10 05:51:35 DEBUG: running login command with args: {Fs:0xc000386c60 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:false DisableBrowserOpenArg:false PrintIdTokenArg:true KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc000045d10 Config: pkt: signer: alg: client: principals:[]} +2025/09/10 05:51:35 failed to find client config file to generate a default config, run `opkssh login --create-config` to create a default config file +2025/09/10 05:51:35 Warning: could not find issuer https://accounts.example.com in client config providers Writing opk ssh public key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa-cert.pub and corresponding secret key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa id_token: { "iss": "https://accounts.example.com", "sub": "me", - "exp": 1791850222, - "iat": 1791843022, + "exp": 1757440295, + "iat": 1757433095, "email": "arthur.aardvark@example.com", - "nonce": "kBNvBNHc6dQBbKCXvi9fGLV3zWsXQpJukgmQxZm41SQ" + "nonce": "mf5GSZxPc5XfNs8x_xmTDbxp1z-AUcpak9Pg2OYe9ag" } Keys generated for identity Email, sub, issuer, audience: arthur.aardvark@example.com me https://accounts.example.com test_client_id === RUN TestLoginCmd/Good_path_with_SendAccessToken_set_in_arg_and_config -2026/10/12 10:10:23 DEBUG: running login command with args: {Fs:0xc00034e0f0 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:true DisableBrowserOpenArg:false PrintIdTokenArg:false KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc00033ad70 Config:0xc000379050 pkt: signer: alg: client: principals:[]} +2025/09/10 05:51:35 DEBUG: running login command with args: {Fs:0xc0003aedb0 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:true DisableBrowserOpenArg:false PrintIdTokenArg:false KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc0002ce770 Config:0xc0003ae5d0 pkt: signer: alg: client: principals:[]} Writing opk ssh public key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa-cert.pub and corresponding secret key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa Keys generated for identity Email, sub, issuer, audience: arthur.aardvark@example.com me https://accounts.example.com test_client_id === RUN TestLoginCmd/Good_path_with_SendAccessToken_set_in_config_but_not_in_arg -2026/10/12 10:10:25 DEBUG: running login command with args: {Fs:0xc0002f3860 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:false DisableBrowserOpenArg:false PrintIdTokenArg:false KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc0002be7e0 Config:0xc000379050 pkt: signer: alg: client: principals:[]} +2025/09/10 05:51:36 DEBUG: running login command with args: {Fs:0xc0003d1950 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:false DisableBrowserOpenArg:false PrintIdTokenArg:false KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc000044710 Config:0xc0003ae5d0 pkt: signer: alg: client: principals:[]} Writing opk ssh public key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa-cert.pub and corresponding secret key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa Keys generated for identity Email, sub, issuer, audience: arthur.aardvark@example.com me https://accounts.example.com test_client_id === RUN TestLoginCmd/Good_path_with_SendAccessToken_Arg_(issuer_not_found_in_config) -2026/10/12 10:10:26 DEBUG: running login command with args: {Fs:0xc0002f3890 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:true DisableBrowserOpenArg:false PrintIdTokenArg:false KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc00041fd70 Config:0xc0001f4de0 pkt: signer: alg: client: principals:[]} +2025/09/10 05:51:37 DEBUG: running login command with args: {Fs:0xc0003aad80 AutoRefreshArg:false ConfigPathArg: CreateConfigArg:false ConfigureArg:false LogDirArg:./logs SendAccessTokenArg:true DisableBrowserOpenArg:false PrintIdTokenArg:false KeyPathArg: ProviderArg: ProviderAliasArg: SSHConfigured:false Verbosity:2 overrideProvider:0xc00041fcb0 Config:0xc0001b8de0 pkt: signer: alg: client: principals:[]} Writing opk ssh public key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa-cert.pub and corresponding secret key to /build/reproducible-path/opkssh-0.8.0/debian/.debhelper/generated/_source/home/.ssh/id_ecdsa Keys generated for identity Email, sub, issuer, audience: arthur.aardvark@example.com me https://accounts.example.com test_client_id ---- PASS: TestLoginCmd (5.26s) - --- PASS: TestLoginCmd/Good_path_with_no_vars (0.53s) - --- PASS: TestLoginCmd/Good_path_(load_config) (0.25s) - --- PASS: TestLoginCmd/Good_path_with_SendAccessToken_set_in_arg_and_config (0.71s) - --- PASS: TestLoginCmd/Good_path_with_SendAccessToken_set_in_config_but_not_in_arg (2.13s) - --- PASS: TestLoginCmd/Good_path_with_SendAccessToken_Arg_(issuer_not_found_in_config) (1.18s) +--- PASS: TestLoginCmd (3.86s) + --- PASS: TestLoginCmd/Good_path_with_no_vars (0.64s) + --- PASS: TestLoginCmd/Good_path_(load_config) (0.76s) + --- PASS: TestLoginCmd/Good_path_with_SendAccessToken_set_in_arg_and_config (0.64s) + --- PASS: TestLoginCmd/Good_path_with_SendAccessToken_set_in_config_but_not_in_arg (0.40s) + --- PASS: TestLoginCmd/Good_path_with_SendAccessToken_Arg_(issuer_not_found_in_config) (0.85s) === RUN TestDetermineProvider === RUN TestDetermineProvider/Good_path_with_env_vars === RUN TestDetermineProvider/Good_path_with_env_vars_and_provider_arg_(provider_arg_takes_precedence) @@ -1528,11 +1564,11 @@ === RUN TestNewLogin --- PASS: TestNewLogin (0.00s) === RUN TestCreateSSHCert ---- PASS: TestCreateSSHCert (0.91s) +--- PASS: TestCreateSSHCert (0.24s) === RUN TestIdentityString ---- PASS: TestIdentityString (1.95s) +--- PASS: TestIdentityString (0.28s) === RUN TestPrettyPrintIdToken ---- PASS: TestPrettyPrintIdToken (0.39s) +--- PASS: TestPrettyPrintIdToken (0.59s) === RUN TestAuthorizedKeysCommand === PAUSE TestAuthorizedKeysCommand === RUN TestEnvFromConfig @@ -1551,12 +1587,12 @@ === RUN TestAuthorizedKeysCommand/Happy_Path === RUN TestAuthorizedKeysCommand/Happy_Path_(with_auth_token) === RUN TestAuthorizedKeysCommand/Wrong_auth_token ---- PASS: TestAuthorizedKeysCommand (1.69s) - --- PASS: TestAuthorizedKeysCommand/Happy_Path (0.01s) - --- PASS: TestAuthorizedKeysCommand/Happy_Path_(with_auth_token) (0.01s) - --- PASS: TestAuthorizedKeysCommand/Wrong_auth_token (0.01s) +--- PASS: TestAuthorizedKeysCommand (0.45s) + --- PASS: TestAuthorizedKeysCommand/Happy_Path (0.00s) + --- PASS: TestAuthorizedKeysCommand/Happy_Path_(with_auth_token) (0.00s) + --- PASS: TestAuthorizedKeysCommand/Wrong_auth_token (0.00s) PASS -ok github.com/openpubkey/opkssh/commands 10.217s +ok github.com/openpubkey/opkssh/commands 5.431s === RUN TestParseConfig --- PASS: TestParseConfig (0.00s) === RUN TestParseConfigWithSendAccessToken @@ -1588,7 +1624,7 @@ --- PASS: TestProviderConfigFromString/Alias_set_but_no_alias_expected (0.00s) --- PASS: TestProviderConfigFromString/No_alias_set_but_alias_expected (0.00s) PASS -ok github.com/openpubkey/opkssh/commands/config 0.009s +ok github.com/openpubkey/opkssh/commands/config 0.007s ? github.com/openpubkey/opkssh/internal/projectpath [no test files] === RUN TestProvidersPolicyRow_GetExpirationPolicy --- PASS: TestProvidersPolicyRow_GetExpirationPolicy (0.00s) @@ -1657,138 +1693,139 @@ === RUN TestDump_Success === PAUSE TestDump_Success === CONT TestPolicyApproved -=== CONT TestLoad -=== CONT TestDump_Success -=== CONT TestLoadSystemDefaultPolicy_ErrorFile -=== CONT TestPolicyDeniedNoUserEntry -=== RUN TestLoad/both_policies_are_missing -=== CONT TestPolicyApprovedOidcGroups -=== CONT TestLoadPolicyAtPath_ReadError -=== NAME TestLoad/both_policies_are_missing - multipolicyloader_test.go:189: Root policy: (*policy.Policy)(nil) -=== CONT TestLoadPolicyAtPath_BadPermissions +=== CONT TestAddAllowedPrincipal === CONT TestLoadPolicyAtPath_FileMissing === CONT TestPolicyDeniedOidcGroups -=== CONT TestLoadUserPolicy_Success_SkipInvalidEntries -=== CONT TestPolicyApprovedOidcGroupWithAtSign -=== CONT TestLoadUserPolicy_NoUserHomeDir +=== CONT TestLoadSystemDefaultPolicy_ErrorFile +--- PASS: TestLoadPolicyAtPath_FileMissing (0.00s) +=== RUN TestAddAllowedPrincipal/empty_policy +--- PASS: TestLoadSystemDefaultPolicy_ErrorFile (0.00s) +=== CONT TestPolicySub +=== NAME TestAddAllowedPrincipal/empty_policy + policy_test.go:263: AddAllowedPrincipal(principal=test, userEmail=alice@example.com) + policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User(nil)} +2025/09/10 05:51:33 Successfully added user with email alice@example.com with principal test to the policy file +=== RUN TestAddAllowedPrincipal/non-empty_policy._user_not_found + policy_test.go:263: AddAllowedPrincipal(principal=test, userEmail=bob@example.com) + policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test", "test2"}, Issuer:"https://example.com"}}} +2025/09/10 05:51:33 Successfully added user with email bob@example.com with principal test to the policy file +=== RUN TestAddAllowedPrincipal/user_already_exists._new_principal +=== CONT TestPolicyEmailDifferentCase === CONT TestLoadUserPolicy_Success +--- PASS: TestLoadUserPolicy_Success (0.00s) === CONT TestLoadUserPolicy_ErrorFile +--- PASS: TestLoadUserPolicy_ErrorFile (0.00s) +=== CONT TestLoadUserPolicy_NoUserHomeDir +--- PASS: TestLoadUserPolicy_NoUserHomeDir (0.00s) === CONT TestLoadUserPolicy_FailUserLookup +--- PASS: TestLoadUserPolicy_FailUserLookup (0.00s) +=== CONT TestLoadPolicyAtPath_ReadError +--- PASS: TestLoadPolicyAtPath_ReadError (0.00s) +=== CONT TestPolicyApprovedOidcGroups +=== CONT TestLoad === CONT TestEnforceTableTest -=== CONT TestAddAllowedPrincipal -=== CONT TestPolicyDeniedBadUser ---- PASS: TestDump_Success (0.00s) -=== CONT TestPolicyDeniedWrongIssuer -=== CONT TestPolicySub -=== CONT TestPolicyEmailDifferentCase -=== CONT TestLoadSystemDefaultPolicy_Success +=== RUN TestLoad/both_policies_are_missing === CONT TestPolicyDeniedMissingOidcGroupsClaim ---- PASS: TestLoadSystemDefaultPolicy_ErrorFile (0.00s) ---- PASS: TestLoadPolicyAtPath_ReadError (0.00s) ---- PASS: TestLoadUserPolicy_ErrorFile (0.00s) ---- PASS: TestLoadUserPolicy_FailUserLookup (0.00s) ---- PASS: TestLoadUserPolicy_Success_SkipInvalidEntries (0.00s) ---- PASS: TestLoadPolicyAtPath_BadPermissions (0.00s) === NAME TestLoad/both_policies_are_missing + multipolicyloader_test.go:189: Root policy: (*policy.Policy)(nil) multipolicyloader_test.go:190: User policy: (*policy.Policy)(nil) -2026/10/12 10:10:21 warning: failed to load system default policy: failed to read system default policy file /etc/opk/auth_id: failed to describe the file at path: open /etc/opk/auth_id: file does not exist -2026/10/12 10:10:21 warning: failed to load user policy: failed to read user policy file /home/foo/.opk/auth_id: mock error +2025/09/10 05:51:33 warning: failed to load system default policy: failed to read system default policy file /etc/opk/auth_id: failed to describe the file at path: open /etc/opk/auth_id: file does not exist +2025/09/10 05:51:33 warning: failed to load user policy: failed to read user policy file /home/foo/.opk/auth_id: mock error === RUN TestLoad/only_root_policy_exists +=== CONT TestLoadPolicyAtPath_BadPermissions +=== CONT TestLoadUserPolicy_Success_SkipInvalidEntries +--- PASS: TestLoadPolicyAtPath_BadPermissions (0.00s) +=== CONT TestDump_Success +=== CONT TestLoadSystemDefaultPolicy_Success +=== CONT TestPolicyDeniedBadUser +=== CONT TestPolicyDeniedWrongIssuer +=== CONT TestPolicyDeniedNoUserEntry +=== CONT TestPolicyApprovedOidcGroupWithAtSign +=== NAME TestAddAllowedPrincipal/user_already_exists._new_principal + policy_test.go:263: AddAllowedPrincipal(principal=test3, userEmail=alice@example.com) +=== NAME TestLoad/only_root_policy_exists multipolicyloader_test.go:189: Root policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}}} +--- PASS: TestLoadUserPolicy_Success_SkipInvalidEntries (0.00s) +--- PASS: TestLoadSystemDefaultPolicy_Success (0.00s) +--- PASS: TestDump_Success (0.00s) +=== NAME TestLoad/only_root_policy_exists multipolicyloader_test.go:190: User policy: (*policy.Policy)(nil) -2026/10/12 10:10:21 warning: failed to load user policy: failed to read user policy file /home/foo/.opk/auth_id: mock error -=== RUN TestLoad/only_user_policy_exists ---- PASS: TestLoadUserPolicy_NoUserHomeDir (0.00s) ---- PASS: TestLoadPolicyAtPath_FileMissing (0.00s) -=== RUN TestAddAllowedPrincipal/empty_policy - policy_test.go:263: AddAllowedPrincipal(principal=test, userEmail=alice@example.com) - policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User(nil)} -2026/10/12 10:10:21 Successfully added user with email alice@example.com with principal test to the policy file -=== RUN TestAddAllowedPrincipal/non-empty_policy._user_not_found - policy_test.go:263: AddAllowedPrincipal(principal=test, userEmail=bob@example.com) - policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test", "test2"}, Issuer:"https://example.com"}}} -2026/10/12 10:10:21 Successfully added user with email bob@example.com with principal test to the policy file -=== RUN TestAddAllowedPrincipal/user_already_exists._new_principal - policy_test.go:263: AddAllowedPrincipal(principal=test3, userEmail=alice@example.com) +=== NAME TestAddAllowedPrincipal/user_already_exists._new_principal policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test", "test2"}, Issuer:"https://example.com"}}} -2026/10/12 10:10:21 Successfully added user with email alice@example.com with principal test3 to the policy file +2025/09/10 05:51:33 warning: failed to load user policy: failed to read user policy file /home/foo/.opk/auth_id: mock error +2025/09/10 05:51:33 Successfully added user with email alice@example.com with principal test3 to the policy file +=== RUN TestLoad/only_user_policy_exists +=== RUN TestAddAllowedPrincipal/user_already_exists._principal_not_new. === NAME TestLoad/only_user_policy_exists multipolicyloader_test.go:189: Root policy: (*policy.Policy)(nil) -=== RUN TestAddAllowedPrincipal/user_already_exists._principal_not_new. +=== NAME TestAddAllowedPrincipal/user_already_exists._principal_not_new. policy_test.go:263: AddAllowedPrincipal(principal=test, userEmail=alice@example.com) - policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}}} -2026/10/12 10:10:21 User with email alice@example.com already has access under the principal test, skipping... ---- PASS: TestLoadUserPolicy_Success (0.00s) -=== RUN TestAddAllowedPrincipal/policy_has_duplicate_entries,_then_add_a_duplicate_entry === NAME TestLoad/only_user_policy_exists multipolicyloader_test.go:190: User policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"foo", "bob"}, Issuer:"https://example.com"}}} ---- PASS: TestLoadSystemDefaultPolicy_Success (0.00s) -2026/10/12 10:10:21 warning: failed to load system default policy: failed to read system default policy file /etc/opk/auth_id: failed to describe the file at path: open /etc/opk/auth_id: file does not exist -=== NAME TestAddAllowedPrincipal/policy_has_duplicate_entries,_then_add_a_duplicate_entry +=== NAME TestAddAllowedPrincipal/user_already_exists._principal_not_new. + policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}}} +2025/09/10 05:51:33 User with email alice@example.com already has access under the principal test, skipping... +2025/09/10 05:51:33 warning: failed to load system default policy: failed to read system default policy file /etc/opk/auth_id: failed to describe the file at path: open /etc/opk/auth_id: file does not exist +=== RUN TestAddAllowedPrincipal/policy_has_duplicate_entries,_then_add_a_duplicate_entry policy_test.go:263: AddAllowedPrincipal(principal=test, userEmail=alice@example.com) -=== RUN TestLoad/both_user_and_root_policy_exist -=== NAME TestAddAllowedPrincipal/policy_has_duplicate_entries,_then_add_a_duplicate_entry policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}}} +2025/09/10 05:51:33 User with email alice@example.com already has access under the principal test, skipping... +=== RUN TestLoad/both_user_and_root_policy_exist +=== RUN TestAddAllowedPrincipal/add_the_same_user_but_new_principal === NAME TestLoad/both_user_and_root_policy_exist multipolicyloader_test.go:189: Root policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"charlie@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}}} multipolicyloader_test.go:190: User policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"foo"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"bob@example.com", Principals:[]string{"foo"}, Issuer:"https://example.com"}}} -2026/10/12 10:10:21 User with email alice@example.com already has access under the principal test, skipping... -=== RUN TestAddAllowedPrincipal/add_the_same_user_but_new_principal === RUN TestLoad/both_user_and_root_policy_exist_but_no_valid_user_policy_entries -=== NAME TestAddAllowedPrincipal/add_the_same_user_but_new_principal - policy_test.go:263: AddAllowedPrincipal(principal=test2, userEmail=alice@example.com) -=== NAME TestLoad/both_user_and_root_policy_exist_but_no_valid_user_policy_entries multipolicyloader_test.go:189: Root policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"charlie@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}}} multipolicyloader_test.go:190: User policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"bob@example.com", Principals:[]string{"test", "test2"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"charlie@example.com", Principals:[]string{"test", "test2", "test3"}, Issuer:"https://example.com"}}} -=== NAME TestAddAllowedPrincipal/add_the_same_user_but_new_principal - policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1"}, Issuer:"https://example.com"}}} -2026/10/12 10:10:21 Successfully added user with email alice@example.com with principal test2 to the policy file -=== RUN TestAddAllowedPrincipal/add_duplicate_entry_with_complex_policy - policy_test.go:263: AddAllowedPrincipal(principal=test2, userEmail=alice@example.com) - policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"bob@example.com", Principals:[]string{"test2"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1", "test2", "test3"}, Issuer:"https://example.com"}}} -2026/10/12 10:10:21 User with email alice@example.com already has access under the principal test2, skipping... -2026/10/12 10:10:21 warning: user policy /home/foo/.opk/auth_id has no valid user entries; an entry is considered valid if it gives foo access. -=== RUN TestAddAllowedPrincipal/add_matching_user_but_new_principal_with_complex_policy +2025/09/10 05:51:33 warning: user policy /home/foo/.opk/auth_id has no valid user entries; an entry is considered valid if it gives foo access. --- PASS: TestLoad (0.01s) --- PASS: TestLoad/both_policies_are_missing (0.00s) --- PASS: TestLoad/only_root_policy_exists (0.00s) --- PASS: TestLoad/only_user_policy_exists (0.00s) --- PASS: TestLoad/both_user_and_root_policy_exist (0.00s) --- PASS: TestLoad/both_user_and_root_policy_exist_but_no_valid_user_policy_entries (0.00s) -=== NAME TestAddAllowedPrincipal/add_matching_user_but_new_principal_with_complex_policy +=== NAME TestAddAllowedPrincipal/add_the_same_user_but_new_principal + policy_test.go:263: AddAllowedPrincipal(principal=test2, userEmail=alice@example.com) + policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1"}, Issuer:"https://example.com"}}} +2025/09/10 05:51:33 Successfully added user with email alice@example.com with principal test2 to the policy file +=== RUN TestAddAllowedPrincipal/add_duplicate_entry_with_complex_policy + policy_test.go:263: AddAllowedPrincipal(principal=test2, userEmail=alice@example.com) + policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"bob@example.com", Principals:[]string{"test2"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1", "test2", "test3"}, Issuer:"https://example.com"}}} +2025/09/10 05:51:33 User with email alice@example.com already has access under the principal test2, skipping... +=== RUN TestAddAllowedPrincipal/add_matching_user_but_new_principal_with_complex_policy policy_test.go:263: AddAllowedPrincipal(principal=test4, userEmail=alice@example.com) policy_test.go:264: Initial policy: &policy.Policy{Users:[]policy.User{policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"bob@example.com", Principals:[]string{"test2"}, Issuer:"https://example.com"}, policy.User{IdentityAttribute:"alice@example.com", Principals:[]string{"test1", "test2", "test3"}, Issuer:"https://example.com"}}} -2026/10/12 10:10:21 Successfully added user with email alice@example.com with principal test4 to the policy file +2025/09/10 05:51:33 Successfully added user with email alice@example.com with principal test4 to the policy file --- PASS: TestAddAllowedPrincipal (0.01s) --- PASS: TestAddAllowedPrincipal/empty_policy (0.00s) --- PASS: TestAddAllowedPrincipal/non-empty_policy._user_not_found (0.00s) - --- PASS: TestAddAllowedPrincipal/user_already_exists._new_principal (0.00s) + --- PASS: TestAddAllowedPrincipal/user_already_exists._new_principal (0.01s) --- PASS: TestAddAllowedPrincipal/user_already_exists._principal_not_new. (0.00s) --- PASS: TestAddAllowedPrincipal/policy_has_duplicate_entries,_then_add_a_duplicate_entry (0.00s) --- PASS: TestAddAllowedPrincipal/add_the_same_user_but_new_principal (0.00s) --- PASS: TestAddAllowedPrincipal/add_duplicate_entry_with_complex_policy (0.00s) --- PASS: TestAddAllowedPrincipal/add_matching_user_but_new_principal_with_complex_policy (0.00s) -2026/10/12 10:10:21 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyDeniedBadUser (0.35s) -2026/10/12 10:10:21 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyApproved (0.41s) -2026/10/12 10:10:21 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicySub (0.43s) -2026/10/12 10:10:22 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyDeniedWrongIssuer (0.58s) -2026/10/12 10:10:22 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyEmailDifferentCase (0.62s) -2026/10/12 10:10:22 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyDeniedNoUserEntry (0.63s) -2026/10/12 10:10:22 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyApprovedOidcGroupWithAtSign (0.66s) -2026/10/12 10:10:22 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyDeniedOidcGroups (0.92s) -2026/10/12 10:10:22 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyApprovedOidcGroups (0.97s) -2026/10/12 10:10:22 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestPolicyDeniedMissingOidcGroupsClaim (1.47s) +2025/09/10 05:51:33 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyApprovedOidcGroups (0.23s) +2025/09/10 05:51:33 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyApproved (0.25s) +2025/09/10 05:51:33 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyDeniedWrongIssuer (0.26s) +2025/09/10 05:51:33 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyDeniedMissingOidcGroupsClaim (0.31s) +2025/09/10 05:51:33 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyDeniedBadUser (0.52s) +2025/09/10 05:51:33 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyEmailDifferentCase (0.65s) +2025/09/10 05:51:33 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyDeniedNoUserEntry (0.69s) +2025/09/10 05:51:34 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyApprovedOidcGroupWithAtSign (0.73s) +2025/09/10 05:51:34 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicySub (0.94s) +2025/09/10 05:51:34 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestPolicyDeniedOidcGroups (1.42s) === RUN TestEnforceTableTest/Happy_path_(No_userinfo_supplied_but_ID_Token_has_groups_claim) === PAUSE TestEnforceTableTest/Happy_path_(No_userinfo_supplied_but_ID_Token_has_groups_claim) === RUN TestEnforceTableTest/No_groups_claim_in_ID_Token @@ -1807,31 +1844,31 @@ === PAUSE TestEnforceTableTest/policy_loader_failure === CONT TestEnforceTableTest/Happy_path_(No_userinfo_supplied_but_ID_Token_has_groups_claim) === CONT TestEnforceTableTest/Wrong_groups_claim_in_userinfo -=== CONT TestEnforceTableTest/Happy_path_(Valid_user_info) -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d -=== CONT TestEnforceTableTest/policy_loader_failure === CONT TestEnforceTableTest/corrupted_userinfo +=== CONT TestEnforceTableTest/policy_loader_failure +=== CONT TestEnforceTableTest/Happy_path_(Valid_user_info) === CONT TestEnforceTableTest/Missing_groups_claim_in_userinfo === CONT TestEnforceTableTest/No_groups_claim_in_ID_Token -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d === CONT TestEnforceTableTest/sub_in_userinfo_does_not_match_sub_in_ID_Token_does_not_match -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d -2026/10/12 10:10:28 Skipping policy plugins: no plugins found at /etc/opk/policy.d ---- PASS: TestEnforceTableTest (6.58s) - --- PASS: TestEnforceTableTest/Wrong_groups_claim_in_userinfo (0.01s) - --- PASS: TestEnforceTableTest/Happy_path_(No_userinfo_supplied_but_ID_Token_has_groups_claim) (0.01s) - --- PASS: TestEnforceTableTest/corrupted_userinfo (0.01s) - --- PASS: TestEnforceTableTest/No_groups_claim_in_ID_Token (0.01s) +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +2025/09/10 05:51:39 Skipping policy plugins: no plugins found at /etc/opk/policy.d +--- PASS: TestEnforceTableTest (5.87s) + --- PASS: TestEnforceTableTest/policy_loader_failure (0.00s) + --- PASS: TestEnforceTableTest/corrupted_userinfo (0.00s) + --- PASS: TestEnforceTableTest/Wrong_groups_claim_in_userinfo (0.00s) + --- PASS: TestEnforceTableTest/Happy_path_(No_userinfo_supplied_but_ID_Token_has_groups_claim) (0.00s) --- PASS: TestEnforceTableTest/Missing_groups_claim_in_userinfo (0.01s) - --- PASS: TestEnforceTableTest/Happy_path_(Valid_user_info) (0.02s) - --- PASS: TestEnforceTableTest/policy_loader_failure (0.01s) - --- PASS: TestEnforceTableTest/sub_in_userinfo_does_not_match_sub_in_ID_Token_does_not_match (0.02s) + --- PASS: TestEnforceTableTest/No_groups_claim_in_ID_Token (0.01s) + --- PASS: TestEnforceTableTest/Happy_path_(Valid_user_info) (0.01s) + --- PASS: TestEnforceTableTest/sub_in_userinfo_does_not_match_sub_in_ID_Token_does_not_match (0.01s) PASS -ok github.com/openpubkey/opkssh/policy 6.632s +ok github.com/openpubkey/opkssh/policy 5.888s === RUN TestLog === RUN TestLog/empty === RUN TestLog/single_entry @@ -1917,19 +1954,19 @@ === RUN TestPluginUnsetsEnvVar --- PASS: TestPluginUnsetsEnvVar (0.00s) === RUN TestPublicCheckPolicy ---- PASS: TestPublicCheckPolicy (0.61s) +--- PASS: TestPublicCheckPolicy (1.19s) === RUN TestNewTokens === RUN TestNewTokens/Happy_path_(all_tokens) === RUN TestNewTokens/Happy_path_(minimal_tokens) === RUN TestNewTokens/Happy_path_(string_list_audience) === RUN TestNewTokens/Wrong_type_for_email_verified_claim_in_ID_token ---- PASS: TestNewTokens (3.63s) +--- PASS: TestNewTokens (2.44s) --- PASS: TestNewTokens/Happy_path_(all_tokens) (0.00s) --- PASS: TestNewTokens/Happy_path_(minimal_tokens) (0.00s) --- PASS: TestNewTokens/Happy_path_(string_list_audience) (0.00s) --- PASS: TestNewTokens/Wrong_type_for_email_verified_claim_in_ID_token (0.00s) PASS -ok github.com/openpubkey/opkssh/policy/plugins 4.677s +ok github.com/openpubkey/opkssh/policy/plugins 3.632s === RUN TestCASignerCreation === PAUSE TestCASignerCreation === RUN TestInvalidSshPublicKey @@ -1938,16 +1975,16 @@ === PAUSE TestSshCertCreation === CONT TestCASignerCreation === CONT TestSshCertCreation -=== RUN TestSshCertCreation/Happy_Path_(no_access_token) === CONT TestInvalidSshPublicKey ---- PASS: TestCASignerCreation (0.01s) ---- PASS: TestInvalidSshPublicKey (0.54s) +=== RUN TestSshCertCreation/Happy_Path_(no_access_token) +--- PASS: TestCASignerCreation (0.00s) +--- PASS: TestInvalidSshPublicKey (0.45s) === RUN TestSshCertCreation/Happy_Path_(with_access_token) ---- PASS: TestSshCertCreation (1.60s) - --- PASS: TestSshCertCreation/Happy_Path_(no_access_token) (1.14s) - --- PASS: TestSshCertCreation/Happy_Path_(with_access_token) (0.47s) +--- PASS: TestSshCertCreation (0.86s) + --- PASS: TestSshCertCreation/Happy_Path_(no_access_token) (0.58s) + --- PASS: TestSshCertCreation/Happy_Path_(with_access_token) (0.28s) PASS -ok github.com/openpubkey/opkssh/sshcert 1.610s +ok github.com/openpubkey/opkssh/sshcert 0.870s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1982,12 +2019,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1441349/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1441349/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/2506112 and its subdirectories -I: Current time: Mon Oct 12 10:10:51 -12 2026 -I: pbuilder-time-stamp: 1791843051 +I: removing directory /srv/workspace/pbuilder/1441349 and its subdirectories +I: Current time: Wed Sep 10 05:51:57 +14 2025 +I: pbuilder-time-stamp: 1757433117