Diff of the two buildlogs: -- --- b1/build.log 2023-04-21 17:45:06.049599159 +0000 +++ b2/build.log 2023-04-21 17:51:56.803375739 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 23 11:54:25 -12 2024 -I: pbuilder-time-stamp: 1716508465 +I: Current time: Sat Apr 22 07:45:11 +14 2023 +I: pbuilder-time-stamp: 1682099111 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-smallstep-certificates_0.19.0.orig.tar.gz] I: copying [./golang-github-smallstep-certificates_0.19.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Dec 11 02:52:22 2022 -12 +gpgv: Signature made Mon Dec 12 04:52:22 2022 +14 gpgv: using EDDSA key B153481DB739CC87A3D65DCF062023CA3E06BDD5 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-smallstep-certificates_0.19.0-1.dsc: no acceptable signature found @@ -30,52 +30,84 @@ dpkg-source: info: applying 0004-Disable-TestHandler_validateJWS-fail-rsa-key-too-sma.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24811/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/30393/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +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 Apr 22 07:45 /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/30393/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/30393/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='24811' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=30393 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.XsbZmcrn/pbuilderrc_T6O7 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XsbZmcrn/b1 --logfile b1/build.log golang-github-smallstep-certificates_0.19.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.XsbZmcrn/pbuilderrc_XwLt --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XsbZmcrn/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-smallstep-certificates_0.19.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink9-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 23 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/24811/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/30393/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -381,7 +413,7 @@ Get: 214 http://deb.debian.org/debian bookworm/main arm64 golang-step-linkedca-dev all 0.19.0-1 [41.3 kB] Get: 215 http://deb.debian.org/debian bookworm/main arm64 libpcsclite1 arm64 1.9.9-2 [49.3 kB] Get: 216 http://deb.debian.org/debian bookworm/main arm64 libpcsclite-dev arm64 1.9.9-2 [66.7 kB] -Fetched 173 MB in 5s (33.9 MB/s) +Fetched 173 MB in 3s (54.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19616 files and directories currently installed.) @@ -1259,8 +1291,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-smallstep-certificates-0.19.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 > ../golang-github-smallstep-certificates_0.19.0-1_source.changes +I: user script /srv/workspace/pbuilder/30393/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/30393/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-smallstep-certificates-0.19.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 > ../golang-github-smallstep-certificates_0.19.0-1_source.changes dpkg-buildpackage: info: source package golang-github-smallstep-certificates dpkg-buildpackage: info: source version 0.19.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1849,21 +1890,21 @@ CGO_FFLAGS="-g -O2 -ffile-prefix-map=/build/golang-github-smallstep-certificates-0.19.0=." CGO_LDFLAGS="-Wl,-z,relro" PKG_CONFIG="pkg-config" -GOGCCFLAGS="-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build315863694=/tmp/go-build -gno-record-gcc-switches" +GOGCCFLAGS="-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2982938200=/tmp/go-build -gno-record-gcc-switches" cd _build && go install -trimpath -v -p 8 github.com/smallstep/certificates/acme github.com/smallstep/certificates/acme/api github.com/smallstep/certificates/acme/db/nosql github.com/smallstep/certificates/api github.com/smallstep/certificates/api/log github.com/smallstep/certificates/api/read github.com/smallstep/certificates/api/render github.com/smallstep/certificates/authority github.com/smallstep/certificates/authority/admin github.com/smallstep/certificates/authority/admin/api github.com/smallstep/certificates/authority/admin/db/nosql github.com/smallstep/certificates/authority/administrator github.com/smallstep/certificates/authority/config github.com/smallstep/certificates/authority/provisioner github.com/smallstep/certificates/ca github.com/smallstep/certificates/ca/identity github.com/smallstep/certificates/cas github.com/smallstep/certificates/cas/apiv1 github.com/smallstep/certificates/cas/softcas github.com/smallstep/certificates/cas/stepcas github.com/smallstep/certificates/commands github.com/smallstep/certificates/db github.com/smallstep/certificates/errs github.com/smallstep/certificates/kms github.com/smallstep/certificates/kms/apiv1 github.com/smallstep/certificates/kms/awskms github.com/smallstep/certificates/kms/pkcs11 github.com/smallstep/certificates/kms/softkms github.com/smallstep/certificates/kms/sshagentkms github.com/smallstep/certificates/kms/uri github.com/smallstep/certificates/kms/yubikey github.com/smallstep/certificates/logging github.com/smallstep/certificates/monitoring github.com/smallstep/certificates/pki github.com/smallstep/certificates/scep github.com/smallstep/certificates/scep/api github.com/smallstep/certificates/server github.com/smallstep/certificates/templates -internal/unsafeheader internal/goarch +internal/unsafeheader internal/goos internal/goexperiment internal/race +runtime/internal/math internal/cpu -unicode runtime/internal/syscall -unicode/utf8 sync/atomic internal/abi -runtime/internal/math runtime/internal/sys +unicode +unicode/utf8 internal/itoa math/bits crypto/internal/subtle @@ -1872,13 +1913,13 @@ container/list unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 -math -runtime/internal/atomic -internal/bytealg internal/nettrace +internal/bytealg +runtime/internal/atomic vendor/golang.org/x/crypto/internal/subtle encoding google.golang.org/protobuf/internal/flags +math google.golang.org/protobuf/internal/set google.golang.org/grpc/serviceconfig github.com/dgraph-io/badger/options @@ -1890,11 +1931,11 @@ github.com/aws/aws-sdk-go/aws/client/metadata runtime github.com/aws/aws-sdk-go/internal/sdkmath -internal/reflectlite sync +internal/reflectlite internal/testlog -internal/singleflight math/rand +internal/singleflight google.golang.org/protobuf/internal/pragma google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync @@ -1902,15 +1943,15 @@ internal/sysinfo github.com/aws/aws-sdk-go/internal/sync/singleflight errors +sort +internal/oserror +path strconv internal/safefilepath -internal/oserror io -path -sort crypto/internal/nistec/fiat -vendor/golang.org/x/net/dns/dnsmessage syscall +vendor/golang.org/x/net/dns/dnsmessage container/heap bytes hash @@ -1918,128 +1959,138 @@ crypto/internal/randutil hash/crc32 hash/fnv +vendor/golang.org/x/text/transform crypto reflect crypto/rc4 -vendor/golang.org/x/text/transform -text/tabwriter bufio net/http/internal/ascii regexp/syntax html +text/tabwriter google.golang.org/grpc/encoding golang.org/x/text/transform golang.org/x/crypto/blowfish go.step.sm/crypto/internal/emoji -time -internal/syscall/unix -internal/syscall/execenv encoding/base32 github.com/huandu/xstrings hash/adler32 github.com/aws/aws-sdk-go/internal/sdkio github.com/aws/aws-sdk-go/internal/strings github.com/aws/aws-sdk-go/internal/sdkuri +time +internal/syscall/unix +internal/syscall/execenv regexp +github.com/lunixbochs/vtclean +github.com/juju/ansiterm/tabwriter +context io/fs internal/poll google.golang.org/grpc/backoff google.golang.org/grpc/internal/grpcrand -context google.golang.org/grpc/keepalive -github.com/lunixbochs/vtclean -google.golang.org/grpc/internal/backoff github.com/aws/aws-sdk-go/internal/sdkrand -github.com/juju/ansiterm/tabwriter -google.golang.org/grpc/tap +google.golang.org/grpc/internal/backoff embed +google.golang.org/grpc/tap os encoding/binary internal/fmtsort -internal/godebug -path/filepath -io/ioutil -google.golang.org/grpc/internal/envconfig -os/signal -fmt -internal/intern -net/netip crypto/cipher -crypto/md5 -crypto/internal/edwards25519/field crypto/internal/nistec +crypto/md5 encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field -golang.org/x/sys/unix -crypto/internal/edwards25519 +crypto/internal/edwards25519/field encoding/pem +golang.org/x/sys/unix crypto/internal/boring +crypto/des crypto/sha256 crypto/aes -crypto/des crypto/sha512 +crypto/internal/edwards25519 crypto/hmac +fmt crypto/sha1 +internal/godebug +path/filepath +internal/intern vendor/golang.org/x/crypto/chacha20 -net vendor/golang.org/x/crypto/hkdf +net/netip +io/ioutil google.golang.org/protobuf/internal/detrand +google.golang.org/grpc/internal/envconfig +vendor/golang.org/x/crypto/chacha20poly1305 github.com/cespare/xxhash github.com/golang/snappy golang.org/x/crypto/curve25519/internal/field filippo.io/edwards25519/field -vendor/golang.org/x/crypto/chacha20poly1305 -net/url -math/big +golang.org/x/crypto/chacha20 +golang.org/x/crypto/internal/poly1305 +golang.org/x/crypto/curve25519 +golang.org/x/crypto/ssh/internal/bcrypt_pbkdf +go.step.sm/crypto/internal/bcrypt_pbkdf +golang.org/x/crypto/nacl/secretbox +golang.org/x/crypto/pbkdf2 +os/signal +filippo.io/edwards25519 +os/exec +golang.org/x/crypto/scrypt +net encoding/hex +net/url vendor/golang.org/x/crypto/curve25519 +math/big encoding/json github.com/pkg/errors database/sql/driver log compress/flate -vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/net/http2/hpack mime compress/gzip mime/quotedprintable -vendor/golang.org/x/text/secure/bidirule net/http/internal google.golang.org/protobuf/internal/errors go/token golang.org/x/net/internal/timeseries google.golang.org/protobuf/encoding/protowire +github.com/sirupsen/logrus +vendor/golang.org/x/text/secure/bidirule google.golang.org/protobuf/reflect/protoreflect text/template/parse -github.com/sirupsen/logrus google.golang.org/grpc/internal/grpclog -github.com/golang/protobuf/proto google.golang.org/grpc/grpclog +github.com/golang/protobuf/proto google.golang.org/grpc/connectivity -vendor/golang.org/x/net/idna google.golang.org/grpc/attributes +vendor/golang.org/x/net/idna google.golang.org/grpc/internal google.golang.org/grpc/metadata crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand -crypto/ed25519 -crypto/rsa crypto/dsa -github.com/rs/xid google.golang.org/protobuf/internal/strs +crypto/rsa +crypto/ed25519 +github.com/rs/xid google.golang.org/protobuf/internal/encoding/json -google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/descfmt vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/descopts +google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/encoding/text -google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface text/template @@ -2049,21 +2100,21 @@ golang.org/x/text/unicode/norm crypto/ecdsa google.golang.org/protobuf/proto -golang.org/x/net/http2/hpack google.golang.org/protobuf/internal/encoding/defval +golang.org/x/net/http2/hpack google.golang.org/protobuf/internal/version github.com/DataDog/zstd golang.org/x/text/secure/bidirule github.com/dgraph-io/ristretto/z github.com/dustin/go-humanize github.com/dgraph-io/ristretto +google.golang.org/protobuf/internal/filedesc html/template +google.golang.org/protobuf/encoding/prototext github.com/smallstep/nosql/database go.etcd.io/bbolt -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext -golang.org/x/net/idna database/sql +golang.org/x/net/idna google.golang.org/grpc/encoding/proto github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration @@ -2075,32 +2126,23 @@ google.golang.org/grpc/status github.com/dgraph-io/badger/pb go.step.sm/crypto/randutil -golang.org/x/crypto/curve25519 -golang.org/x/crypto/ed25519 -github.com/smallstep/nosql/bolt -go.step.sm/crypto/internal/utils -filippo.io/edwards25519 -golang.org/x/crypto/chacha20 google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/encoding/tag -golang.org/x/crypto/internal/poly1305 -golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -google.golang.org/protobuf/internal/impl -go.step.sm/crypto/internal/bcrypt_pbkdf -golang.org/x/crypto/nacl/secretbox -go.step.sm/crypto/x25519 -golang.org/x/crypto/pbkdf2 -gopkg.in/square/go-jose.v2/cipher -golang.org/x/crypto/scrypt -gopkg.in/square/go-jose.v2/json +golang.org/x/crypto/ed25519 crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy google.golang.org/grpc/internal/syscall google.golang.org/grpc/stats +google.golang.org/protobuf/internal/impl +github.com/smallstep/nosql/bolt +go.step.sm/crypto/internal/utils vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/http/httpguts +go.step.sm/crypto/x25519 +gopkg.in/square/go-jose.v2/cipher +gopkg.in/square/go-jose.v2/json go.step.sm/crypto/fingerprint os/user github.com/Masterminds/goutils @@ -2111,16 +2153,17 @@ github.com/shopspring/decimal github.com/mitchellh/copystructure github.com/spf13/cast -golang.org/x/crypto/bcrypt -github.com/chzyer/readline -github.com/mattn/go-isatty -github.com/mattn/go-colorable -github.com/juju/ansiterm -github.com/manifoldco/promptui/list crypto/tls -gopkg.in/square/go-jose.v2 golang.org/x/crypto/ssh +golang.org/x/crypto/bcrypt +gopkg.in/square/go-jose.v2 +github.com/smallstep/certificates/kms/apiv1 +github.com/chzyer/readline github.com/Masterminds/sprig +gopkg.in/square/go-jose.v2/cryptosigner +gopkg.in/square/go-jose.v2/jwt +go.step.sm/crypto/internal/templates +github.com/mattn/go-isatty # github.com/DataDog/zstd cgo-gcc-prolog: In function '_cgo_1dd006291257_Cfunc_ZSTD_getDecompressedSize': cgo-gcc-prolog:115:2: warning: 'ZSTD_getDecompressedSize' is deprecated [-Wdeprecated-declarations] @@ -2128,116 +2171,114 @@ /usr/include/zstd.h:202:20: note: declared here 202 | unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize); | ^~~~~~~~~~~~~~~~~~~~~~~~ -github.com/smallstep/certificates/kms/apiv1 +github.com/manifoldco/promptui/list github.com/manifoldco/promptui/screenbuf flag github.com/russross/blackfriday/v2 +github.com/mattn/go-colorable +golang.org/x/net/html +github.com/juju/ansiterm github.com/manifoldco/promptui -go.step.sm/crypto/internal/templates github.com/mgutz/ansi -gopkg.in/square/go-jose.v2/cryptosigner -gopkg.in/square/go-jose.v2/jwt -golang.org/x/net/html -go.step.sm/cli-utils/ui -github.com/micromdm/scep/cryptoutil/x509util go.step.sm/crypto/internal/step -github.com/go-logfmt/logfmt go.step.sm/crypto/x509util -github.com/micromdm/scep/cryptoutil -os/exec -github.com/go-kit/kit/log -github.com/cpuguy83/go-md2man/v2/md2man -github.com/urfave/cli -github.com/go-kit/kit/log/level -runtime/debug -runtime/trace -golang.org/x/crypto/ocsp -google.golang.org/protobuf/internal/filetype -testing +github.com/micromdm/scep/cryptoutil/x509util +go.step.sm/cli-utils/ui +github.com/go-logfmt/logfmt go.step.sm/crypto/keyutil net/http/httptrace google.golang.org/grpc/internal/credentials google.golang.org/grpc/credentials -github.com/go-sql-driver/mysql net/http +google.golang.org/protobuf/internal/filetype +github.com/go-sql-driver/mysql go.step.sm/crypto/pemutil google.golang.org/protobuf/runtime/protoimpl golang.org/x/crypto/ssh/agent -google.golang.org/protobuf/types/known/structpb google.golang.org/grpc/resolver +google.golang.org/grpc/internal/channelz google.golang.org/grpc/balancer google.golang.org/grpc/internal/grpcutil -google.golang.org/grpc/balancer/base -google.golang.org/grpc/internal/binarylog -google.golang.org/grpc/balancer/roundrobin -google.golang.org/grpc/internal/channelz google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/resolver/dns +google.golang.org/grpc/balancer/base +google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/peer +google.golang.org/grpc/balancer/roundrobin +google.golang.org/protobuf/types/known/structpb google.golang.org/protobuf/types/known/timestamppb github.com/slackhq/nebula/cert go.step.sm/crypto/sshutil github.com/smallstep/certificates/kms/softkms -go.step.sm/cli-utils/errs -github.com/smallstep/certificates/kms -go.step.sm/cli-utils/step +github.com/cpuguy83/go-md2man/v2/md2man github.com/smallstep/certificates/kms/sshagentkms -go.mozilla.org/pkcs7 +github.com/smallstep/certificates/kms +github.com/urfave/cli +github.com/go-kit/kit/log +github.com/micromdm/scep/cryptoutil +runtime/debug +runtime/trace go.step.sm/crypto/tlsutil +github.com/smallstep/nosql/mysql +golang.org/x/crypto/ocsp +github.com/go-kit/kit/log/level github.com/newrelic/go-agent/internal/jsonx +testing github.com/newrelic/go-agent/internal/logger github.com/newrelic/go-agent/internal/sysinfo -github.com/newrelic/go-agent/internal/cat github.com/aws/aws-sdk-go/aws/awserr +github.com/newrelic/go-agent/internal/cat github.com/aws/aws-sdk-go/internal/shareddefaults github.com/jmespath/go-jmespath encoding/xml github.com/smallstep/certificates/kms/uri -github.com/miekg/pkcs11 github.com/aws/aws-sdk-go/internal/ini github.com/aws/aws-sdk-go/aws/endpoints -github.com/smallstep/nosql/mysql -github.com/micromdm/scep/scep -github.com/thales-e-security/pool -github.com/go-piv/piv-go/piv +github.com/miekg/pkcs11 github.com/aws/aws-sdk-go/aws/credentials +go.step.sm/cli-utils/errs +go.mozilla.org/pkcs7 github.com/aws/aws-sdk-go/aws/awsutil +go.step.sm/cli-utils/step github.com/aws/aws-sdk-go/aws/credentials/processcreds +github.com/thales-e-security/pool +github.com/go-piv/piv-go/piv +github.com/micromdm/scep/scep github.com/smallstep/certificates/kms/yubikey github.com/smallstep/certificates/logging golang.org/x/net/trace net/http/httputil -go.step.sm/crypto/jose expvar +go.step.sm/crypto/jose golang.org/x/net/http2 github.com/smallstep/certificates/cas/apiv1 go.step.sm/cli-utils/usage -github.com/smallstep/certificates/cas/softcas -github.com/go-chi/chi github.com/smallstep/certificates/api/log +github.com/smallstep/certificates/cas/softcas github.com/smallstep/certificates/api/render +github.com/dgraph-io/badger/y +github.com/go-chi/chi github.com/smallstep/certificates/cas github.com/smallstep/certificates/errs -github.com/dgraph-io/badger/y -github.com/newrelic/go-agent/internal github.com/smallstep/certificates/api/read -github.com/newrelic/go-agent/internal/utilization +github.com/newrelic/go-agent/internal go.step.sm/cli-utils/command -github.com/smallstep/certificates/server go.step.sm/cli-utils/fileutil +github.com/newrelic/go-agent/internal/utilization github.com/dgraph-io/badger/skl github.com/dgraph-io/badger/table github.com/smallstep/certificates/templates +github.com/smallstep/certificates/server go.step.sm/cli-utils/token go.step.sm/cli-utils/token/provision github.com/dgraph-io/badger google.golang.org/grpc/internal/transport github.com/newrelic/go-agent -github.com/smallstep/nosql/badger/v2 -github.com/smallstep/nosql/badger/v1 google.golang.org/grpc +github.com/smallstep/nosql/badger/v1 +github.com/smallstep/nosql/badger/v2 github.com/smallstep/nosql go.step.sm/linkedca github.com/smallstep/certificates/authority/admin @@ -2250,39 +2291,39 @@ github.com/aws/aws-sdk-go/aws/csm github.com/aws/aws-sdk-go/private/protocol github.com/aws/aws-sdk-go/aws/ec2metadata -github.com/ThalesIgnite/crypto11 +github.com/smallstep/certificates/authority/administrator +github.com/smallstep/certificates/db +github.com/smallstep/certificates/scep github.com/aws/aws-sdk-go/private/protocol/rest +github.com/aws/aws-sdk-go/private/protocol/json/jsonutil github.com/aws/aws-sdk-go/private/protocol/query/queryutil github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil -github.com/aws/aws-sdk-go/private/protocol/json/jsonutil github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds +github.com/smallstep/certificates/authority/config github.com/aws/aws-sdk-go/aws/credentials/endpointcreds -github.com/aws/aws-sdk-go/private/protocol/query -github.com/aws/aws-sdk-go/private/protocol/jsonrpc +github.com/aws/aws-sdk-go/aws/defaults github.com/aws/aws-sdk-go/aws/signer/v4 +github.com/aws/aws-sdk-go/private/protocol/jsonrpc +github.com/ThalesIgnite/crypto11 +github.com/aws/aws-sdk-go/private/protocol/query github.com/aws/aws-sdk-go/private/protocol/restjson -github.com/aws/aws-sdk-go/aws/defaults -github.com/smallstep/certificates/authority/administrator -github.com/smallstep/certificates/db -github.com/smallstep/certificates/scep -github.com/aws/aws-sdk-go/service/sso +github.com/smallstep/certificates/authority github.com/aws/aws-sdk-go/service/sts github.com/aws/aws-sdk-go/service/kms -github.com/smallstep/certificates/authority/config +github.com/aws/aws-sdk-go/service/sso +github.com/smallstep/certificates/monitoring github.com/aws/aws-sdk-go/service/sso/ssoiface -github.com/aws/aws-sdk-go/aws/credentials/ssocreds -github.com/smallstep/certificates/authority github.com/aws/aws-sdk-go/service/sts/stsiface -github.com/smallstep/certificates/monitoring +github.com/aws/aws-sdk-go/aws/credentials/ssocreds github.com/aws/aws-sdk-go/aws/credentials/stscreds github.com/aws/aws-sdk-go/aws/session -github.com/smallstep/certificates/kms/pkcs11 github.com/smallstep/certificates/api github.com/smallstep/certificates/acme +github.com/smallstep/certificates/kms/pkcs11 github.com/smallstep/certificates/acme/db/nosql +github.com/smallstep/certificates/acme/api github.com/smallstep/certificates/authority/admin/api github.com/smallstep/certificates/ca/identity -github.com/smallstep/certificates/acme/api github.com/smallstep/certificates/scep/api github.com/smallstep/certificates/kms/awskms github.com/smallstep/certificates/ca @@ -2299,11 +2340,11 @@ 202 | unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize); | ^~~~~~~~~~~~~~~~~~~~~~~~ === RUN TestKeyToID -=== RUN TestKeyToID/fail/error-generating-thumbprint === RUN TestKeyToID/ok +=== RUN TestKeyToID/fail/error-generating-thumbprint --- PASS: TestKeyToID (0.00s) - --- PASS: TestKeyToID/fail/error-generating-thumbprint (0.00s) --- PASS: TestKeyToID/ok (0.00s) + --- PASS: TestKeyToID/fail/error-generating-thumbprint (0.00s) === RUN TestAccount_IsValid === RUN TestAccount_IsValid/valid === RUN TestAccount_IsValid/invalid @@ -2317,67 +2358,67 @@ --- PASS: TestExternalAccountKey_BindTo/ok (0.00s) --- PASS: TestExternalAccountKey_BindTo/fail/already-bound (0.00s) === RUN TestAuthorization_UpdateStatus -=== RUN TestAuthorization_UpdateStatus/fail/error-unexpected-status -=== RUN TestAuthorization_UpdateStatus/ok/expired -=== RUN TestAuthorization_UpdateStatus/fail/db.UpdateAuthorization-error === RUN TestAuthorization_UpdateStatus/ok/no-valid-challenges === RUN TestAuthorization_UpdateStatus/ok/valid === RUN TestAuthorization_UpdateStatus/ok/already-invalid === RUN TestAuthorization_UpdateStatus/ok/already-valid ---- PASS: TestAuthorization_UpdateStatus (0.00s) - --- PASS: TestAuthorization_UpdateStatus/fail/error-unexpected-status (0.00s) - --- PASS: TestAuthorization_UpdateStatus/ok/expired (0.00s) - --- PASS: TestAuthorization_UpdateStatus/fail/db.UpdateAuthorization-error (0.00s) +=== RUN TestAuthorization_UpdateStatus/fail/error-unexpected-status +=== RUN TestAuthorization_UpdateStatus/ok/expired +=== RUN TestAuthorization_UpdateStatus/fail/db.UpdateAuthorization-error +--- PASS: TestAuthorization_UpdateStatus (0.02s) --- PASS: TestAuthorization_UpdateStatus/ok/no-valid-challenges (0.00s) --- PASS: TestAuthorization_UpdateStatus/ok/valid (0.00s) --- PASS: TestAuthorization_UpdateStatus/ok/already-invalid (0.00s) --- PASS: TestAuthorization_UpdateStatus/ok/already-valid (0.00s) + --- PASS: TestAuthorization_UpdateStatus/fail/error-unexpected-status (0.00s) + --- PASS: TestAuthorization_UpdateStatus/ok/expired (0.00s) + --- PASS: TestAuthorization_UpdateStatus/fail/db.UpdateAuthorization-error (0.00s) === RUN TestOrder_UpdateStatus -=== RUN TestOrder_UpdateStatus/fail/error-unexpected-status -=== RUN TestOrder_UpdateStatus/ok/ready-expired -=== RUN TestOrder_UpdateStatus/ok/invalid -=== RUN TestOrder_UpdateStatus/ok/already-valid === RUN TestOrder_UpdateStatus/fail/ready-expired-db.UpdateOrder-error === RUN TestOrder_UpdateStatus/ok/pending-expired +=== RUN TestOrder_UpdateStatus/ok/invalid +=== RUN TestOrder_UpdateStatus/ok/already-valid +=== RUN TestOrder_UpdateStatus/fail/error-unexpected-status +=== RUN TestOrder_UpdateStatus/ok/ready-expired === RUN TestOrder_UpdateStatus/ok/still-pending === RUN TestOrder_UpdateStatus/ok/valid === RUN TestOrder_UpdateStatus/ok/already-invalid --- PASS: TestOrder_UpdateStatus (0.00s) - --- PASS: TestOrder_UpdateStatus/fail/error-unexpected-status (0.00s) - --- PASS: TestOrder_UpdateStatus/ok/ready-expired (0.00s) - --- PASS: TestOrder_UpdateStatus/ok/invalid (0.00s) - --- PASS: TestOrder_UpdateStatus/ok/already-valid (0.00s) --- PASS: TestOrder_UpdateStatus/fail/ready-expired-db.UpdateOrder-error (0.00s) --- PASS: TestOrder_UpdateStatus/ok/pending-expired (0.00s) + --- PASS: TestOrder_UpdateStatus/ok/invalid (0.00s) + --- PASS: TestOrder_UpdateStatus/ok/already-valid (0.00s) + --- PASS: TestOrder_UpdateStatus/fail/error-unexpected-status (0.00s) + --- PASS: TestOrder_UpdateStatus/ok/ready-expired (0.00s) --- PASS: TestOrder_UpdateStatus/ok/still-pending (0.00s) --- PASS: TestOrder_UpdateStatus/ok/valid (0.00s) --- PASS: TestOrder_UpdateStatus/ok/already-invalid (0.00s) === RUN TestOrder_Finalize -=== RUN TestOrder_Finalize/fail/error-db.UpdateOrder === RUN TestOrder_Finalize/ok/new-cert-dns === RUN TestOrder_Finalize/ok/new-cert-ip -=== RUN TestOrder_Finalize/ok/new-cert-dns-and-ip -=== RUN TestOrder_Finalize/fail/error-ca-sign +=== RUN TestOrder_Finalize/fail/invalid === RUN TestOrder_Finalize/fail/pending === RUN TestOrder_Finalize/ok/already-valid === RUN TestOrder_Finalize/fail/error-unexpected-status +=== RUN TestOrder_Finalize/fail/error-db.UpdateOrder +=== RUN TestOrder_Finalize/ok/new-cert-dns-and-ip === RUN TestOrder_Finalize/fail/error-provisioner-auth === RUN TestOrder_Finalize/fail/error-template-options +=== RUN TestOrder_Finalize/fail/error-ca-sign === RUN TestOrder_Finalize/fail/error-db.CreateCertificate -=== RUN TestOrder_Finalize/fail/invalid ---- PASS: TestOrder_Finalize (0.03s) - --- PASS: TestOrder_Finalize/fail/error-db.UpdateOrder (0.00s) +--- PASS: TestOrder_Finalize (0.00s) --- PASS: TestOrder_Finalize/ok/new-cert-dns (0.00s) --- PASS: TestOrder_Finalize/ok/new-cert-ip (0.00s) - --- PASS: TestOrder_Finalize/ok/new-cert-dns-and-ip (0.00s) - --- PASS: TestOrder_Finalize/fail/error-ca-sign (0.03s) + --- PASS: TestOrder_Finalize/fail/invalid (0.00s) --- PASS: TestOrder_Finalize/fail/pending (0.00s) --- PASS: TestOrder_Finalize/ok/already-valid (0.00s) --- PASS: TestOrder_Finalize/fail/error-unexpected-status (0.00s) + --- PASS: TestOrder_Finalize/fail/error-db.UpdateOrder (0.00s) + --- PASS: TestOrder_Finalize/ok/new-cert-dns-and-ip (0.00s) --- PASS: TestOrder_Finalize/fail/error-provisioner-auth (0.00s) --- PASS: TestOrder_Finalize/fail/error-template-options (0.00s) + --- PASS: TestOrder_Finalize/fail/error-ca-sign (0.00s) --- PASS: TestOrder_Finalize/fail/error-db.CreateCertificate (0.00s) - --- PASS: TestOrder_Finalize/fail/invalid (0.00s) === RUN Test_uniqueSortedIPs === RUN Test_uniqueSortedIPs/ok/empty === RUN Test_uniqueSortedIPs/ok/single-ipv4 @@ -2390,7 +2431,7 @@ === RUN Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6 === RUN Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6-and-varying-byte-representations === RUN Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6-and-more-varying-byte-representations ---- PASS: Test_uniqueSortedIPs (0.02s) +--- PASS: Test_uniqueSortedIPs (0.00s) --- PASS: Test_uniqueSortedIPs/ok/empty (0.00s) --- PASS: Test_uniqueSortedIPs/ok/single-ipv4 (0.00s) --- PASS: Test_uniqueSortedIPs/ok/multiple-ipv4 (0.00s) @@ -2428,7 +2469,7 @@ === RUN Test_ipsAreEqual/fail/invalid-ipv4-and-valid-ipv6 === RUN Test_ipsAreEqual/fail/valid-ipv4-and-invalid-ipv6 === RUN Test_ipsAreEqual/fail/invalid-ipv4-and-invalid-ipv6 ---- PASS: Test_ipsAreEqual (0.00s) +--- PASS: Test_ipsAreEqual (0.03s) --- PASS: Test_ipsAreEqual/ok/ipv4 (0.00s) --- PASS: Test_ipsAreEqual/fail/ipv4 (0.00s) --- PASS: Test_ipsAreEqual/ok/ipv6 (0.00s) @@ -2477,44 +2518,44 @@ --- PASS: TestOrder_sans/ok/mixed (0.00s) --- PASS: TestOrder_sans/fail/unsupported-identifier-type (0.00s) PASS -ok github.com/smallstep/certificates/acme 0.129s +ok github.com/smallstep/certificates/acme 0.324s === RUN TestNewAccountRequest_Validate -=== RUN TestNewAccountRequest_Validate/fail/bad-contact === RUN TestNewAccountRequest_Validate/ok === RUN TestNewAccountRequest_Validate/ok/onlyReturnExisting === RUN TestNewAccountRequest_Validate/fail/incompatible-input +=== RUN TestNewAccountRequest_Validate/fail/bad-contact --- PASS: TestNewAccountRequest_Validate (0.00s) - --- PASS: TestNewAccountRequest_Validate/fail/bad-contact (0.00s) --- PASS: TestNewAccountRequest_Validate/ok (0.00s) --- PASS: TestNewAccountRequest_Validate/ok/onlyReturnExisting (0.00s) --- PASS: TestNewAccountRequest_Validate/fail/incompatible-input (0.00s) + --- PASS: TestNewAccountRequest_Validate/fail/bad-contact (0.00s) === RUN TestUpdateAccountRequest_Validate -=== RUN TestUpdateAccountRequest_Validate/ok/accept-empty === RUN TestUpdateAccountRequest_Validate/fail/incompatible-input === RUN TestUpdateAccountRequest_Validate/fail/bad-contact === RUN TestUpdateAccountRequest_Validate/fail/bad-status === RUN TestUpdateAccountRequest_Validate/ok/contact === RUN TestUpdateAccountRequest_Validate/ok/status +=== RUN TestUpdateAccountRequest_Validate/ok/accept-empty --- PASS: TestUpdateAccountRequest_Validate (0.00s) - --- PASS: TestUpdateAccountRequest_Validate/ok/accept-empty (0.00s) --- PASS: TestUpdateAccountRequest_Validate/fail/incompatible-input (0.00s) --- PASS: TestUpdateAccountRequest_Validate/fail/bad-contact (0.00s) --- PASS: TestUpdateAccountRequest_Validate/fail/bad-status (0.00s) --- PASS: TestUpdateAccountRequest_Validate/ok/contact (0.00s) --- PASS: TestUpdateAccountRequest_Validate/ok/status (0.00s) + --- PASS: TestUpdateAccountRequest_Validate/ok/accept-empty (0.00s) === RUN TestHandler_GetOrdersByAccountID === RUN TestHandler_GetOrdersByAccountID/fail/no-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetOrdersByAccountID/fail/nil-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetOrdersByAccountID/fail/account-id-mismatch -2024/05/23 12:06:44 The client lacks sufficient authorization -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +2023/04/22 07:50:42 The client lacks sufficient authorization +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_GetOrdersByAccountID/fail/db.GetOrdersByAccountID-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetOrdersByAccountID/ok --- PASS: TestHandler_GetOrdersByAccountID (0.00s) --- PASS: TestHandler_GetOrdersByAccountID/fail/no-account (0.00s) @@ -2523,169 +2564,169 @@ --- PASS: TestHandler_GetOrdersByAccountID/fail/db.GetOrdersByAccountID-error (0.00s) --- PASS: TestHandler_GetOrdersByAccountID/ok (0.00s) === RUN TestHandler_NewAccount +=== RUN TestHandler_NewAccount/fail/malformed-payload-error +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_NewAccount/fail/no-existing-account +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +=== RUN TestHandler_NewAccount/fail/nil-jwk +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_NewAccount/ok/return-existing +2023/04/22 07:50:42 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} +=== RUN TestHandler_NewAccount/ok/new-account-no-eab-required +2023/04/22 07:50:42 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} === RUN TestHandler_NewAccount/fail/nil-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_NewAccount/fail/unmarshal-payload-error -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_NewAccount/fail/db.UpdateExternalAccountKey-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_NewAccount/ok/new-account-with-eab -2024/05/23 12:06:44 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders","externalAccountBinding":{"protected":"eyJhbGciOiJIUzI1NiIsImtpZCI6ImVha0lEIiwidXJsIjoiaHR0cHM6Ly90ZXN0LmNhLnNtYWxsc3RlcC5jb20vYWNtZS90ZXN0QGFjbWUtJTNDdGVzdCUzRXByb3Zpc2lvbmVyLmNvbS9hY2NvdW50L25ldy1hY2NvdW50In0","payload":"eyJ1c2UiOiJzaWciLCJrdHkiOiJFQyIsImtpZCI6Ik9rdjJIYjJubUczXzJkc09XUWJ4MDlZX25HemFnOEh1clZvR1VRbmt2OE0iLCJjcnYiOiJQLTI1NiIsImFsZyI6IkVTMjU2IiwieCI6IjVyaGhUV0xLcmtrbUU2YUk1N1FzenNzVXZYMFFQTzJHOGhZWWdWR1hjTVUiLCJ5IjoibVptWEdZQ3VZa3dEdkF5V2ZzRTNqZlJQdV8zeF9IMzBKaVhXZGpaLTlNZyJ9","signature":"2ryIS9Sm1C3YUB6DUQaF4LMuMO9t88KAPIoWDqtGvd4"}} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_NewAccount/fail/acmeProvisionerFromContext +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_NewAccount/fail/no-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_NewAccount/fail/unmarshal-payload-error +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_NewAccount/fail/no-jwk -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_NewAccount/fail/db.CreateAccount-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_NewAccount/ok/new-account -2024/05/23 12:06:44 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} -=== RUN TestHandler_NewAccount/fail/malformed-payload-error -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_NewAccount/fail/no-existing-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_NewAccount/fail/nil-jwk -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} +=== RUN TestHandler_NewAccount/ok/new-account-with-eab +2023/04/22 07:50:42 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders","externalAccountBinding":{"protected":"eyJhbGciOiJIUzI1NiIsImtpZCI6ImVha0lEIiwidXJsIjoiaHR0cHM6Ly90ZXN0LmNhLnNtYWxsc3RlcC5jb20vYWNtZS90ZXN0QGFjbWUtJTNDdGVzdCUzRXByb3Zpc2lvbmVyLmNvbS9hY2NvdW50L25ldy1hY2NvdW50In0","payload":"eyJ1c2UiOiJzaWciLCJrdHkiOiJFQyIsImtpZCI6ImcyUjRxWVVDZGNDSmR2elo5QTBSbUdMZTBXN2hoTGk3ZlBrcXFwMlI0UjQiLCJjcnYiOiJQLTI1NiIsImFsZyI6IkVTMjU2IiwieCI6ImJUSzVpSWVjNmVNNnNic2o1NlpOaDFONlNFbjU1czZxUmxRRWJqZnZpQ1UiLCJ5IjoiNW0xSkhXY0g1ajJiUFRVMHJvLU4zeS1JYlBDdDZQZ0V4S0huNmJqVXZvUSJ9","signature":"Dvr4UfInbSnjdJ05AjYQCCcMurNp4ONZk0L4QzyUw5M"}} === RUN TestHandler_NewAccount/fail/new-account-no-eab-provided -2024/05/23 12:06:44 The request must include a value for the "externalAccountBinding" field -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:externalAccountRequired","detail":"The request must include a value for the \"externalAccountBinding\" field"} -=== RUN TestHandler_NewAccount/ok/return-existing -2024/05/23 12:06:44 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} -=== RUN TestHandler_NewAccount/fail/acmeProvisionerFromContext -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_NewAccount/ok/new-account-no-eab-required -2024/05/23 12:06:44 {"contact":["foo","bar"],"status":"valid","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} ---- PASS: TestHandler_NewAccount (0.06s) +2023/04/22 07:50:42 The request must include a value for the "externalAccountBinding" field +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:externalAccountRequired","detail":"The request must include a value for the \"externalAccountBinding\" field"} +=== RUN TestHandler_NewAccount/fail/db.UpdateExternalAccountKey-error +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +--- PASS: TestHandler_NewAccount (0.03s) + --- PASS: TestHandler_NewAccount/fail/malformed-payload-error (0.00s) + --- PASS: TestHandler_NewAccount/fail/no-existing-account (0.00s) + --- PASS: TestHandler_NewAccount/fail/nil-jwk (0.00s) + --- PASS: TestHandler_NewAccount/ok/return-existing (0.00s) + --- PASS: TestHandler_NewAccount/ok/new-account-no-eab-required (0.00s) --- PASS: TestHandler_NewAccount/fail/nil-payload (0.00s) - --- PASS: TestHandler_NewAccount/fail/unmarshal-payload-error (0.00s) - --- PASS: TestHandler_NewAccount/fail/db.UpdateExternalAccountKey-error (0.00s) - --- PASS: TestHandler_NewAccount/ok/new-account-with-eab (0.01s) + --- PASS: TestHandler_NewAccount/fail/acmeProvisionerFromContext (0.00s) --- PASS: TestHandler_NewAccount/fail/no-payload (0.00s) + --- PASS: TestHandler_NewAccount/fail/unmarshal-payload-error (0.00s) --- PASS: TestHandler_NewAccount/fail/no-jwk (0.00s) --- PASS: TestHandler_NewAccount/fail/db.CreateAccount-error (0.00s) --- PASS: TestHandler_NewAccount/ok/new-account (0.00s) - --- PASS: TestHandler_NewAccount/fail/malformed-payload-error (0.00s) - --- PASS: TestHandler_NewAccount/fail/no-existing-account (0.00s) - --- PASS: TestHandler_NewAccount/fail/nil-jwk (0.00s) + --- PASS: TestHandler_NewAccount/ok/new-account-with-eab (0.00s) --- PASS: TestHandler_NewAccount/fail/new-account-no-eab-provided (0.00s) - --- PASS: TestHandler_NewAccount/ok/return-existing (0.00s) - --- PASS: TestHandler_NewAccount/fail/acmeProvisionerFromContext (0.00s) - --- PASS: TestHandler_NewAccount/ok/new-account-no-eab-required (0.00s) + --- PASS: TestHandler_NewAccount/fail/db.UpdateExternalAccountKey-error (0.00s) === RUN TestHandler_GetOrUpdateAccount +=== RUN TestHandler_GetOrUpdateAccount/fail/no-account +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetOrUpdateAccount/fail/nil-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetOrUpdateAccount/fail/nil-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetOrUpdateAccount/fail/unmarshal-payload-error -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_GetOrUpdateAccount/fail/malformed-payload-error -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_GetOrUpdateAccount/ok/deactivate -2024/05/23 12:06:44 {"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} -=== RUN TestHandler_GetOrUpdateAccount/fail/no-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_GetOrUpdateAccount/fail/no-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_GetOrUpdateAccount/fail/db.UpdateAccount-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetOrUpdateAccount/ok/update-empty -2024/05/23 12:06:44 {"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} +2023/04/22 07:50:42 {"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} === RUN TestHandler_GetOrUpdateAccount/ok/update-contacts -2024/05/23 12:06:44 {"contact":["foo","bar"],"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} +2023/04/22 07:50:42 {"contact":["foo","bar"],"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} +=== RUN TestHandler_GetOrUpdateAccount/fail/no-payload +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_GetOrUpdateAccount/fail/malformed-payload-error +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_GetOrUpdateAccount/ok/deactivate +2023/04/22 07:50:42 {"contact":["foo","bar"],"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} === RUN TestHandler_GetOrUpdateAccount/ok/post-as-get -2024/05/23 12:06:44 {"contact":["foo","bar"],"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} ---- PASS: TestHandler_GetOrUpdateAccount (0.04s) +2023/04/22 07:50:42 {"contact":["foo","bar"],"status":"deactivated","orders":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/account/accountID/orders"} +--- PASS: TestHandler_GetOrUpdateAccount (0.00s) + --- PASS: TestHandler_GetOrUpdateAccount/fail/no-account (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/nil-account (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/nil-payload (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/unmarshal-payload-error (0.00s) - --- PASS: TestHandler_GetOrUpdateAccount/fail/malformed-payload-error (0.00s) - --- PASS: TestHandler_GetOrUpdateAccount/ok/deactivate (0.00s) - --- PASS: TestHandler_GetOrUpdateAccount/fail/no-account (0.00s) - --- PASS: TestHandler_GetOrUpdateAccount/fail/no-payload (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/db.UpdateAccount-error (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/ok/update-empty (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/ok/update-contacts (0.00s) + --- PASS: TestHandler_GetOrUpdateAccount/fail/no-payload (0.00s) + --- PASS: TestHandler_GetOrUpdateAccount/fail/malformed-payload-error (0.00s) + --- PASS: TestHandler_GetOrUpdateAccount/ok/deactivate (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/ok/post-as-get (0.00s) === RUN Test_keysAreEqual === RUN Test_keysAreEqual/ok/nil === RUN Test_keysAreEqual/ok/equal === RUN Test_keysAreEqual/ok/not-equal === RUN Test_keysAreEqual/ok/wrong-key-type ---- PASS: Test_keysAreEqual (0.00s) +--- PASS: Test_keysAreEqual (0.01s) --- PASS: Test_keysAreEqual/ok/nil (0.00s) --- PASS: Test_keysAreEqual/ok/equal (0.00s) --- PASS: Test_keysAreEqual/ok/not-equal (0.00s) --- PASS: Test_keysAreEqual/ok/wrong-key-type (0.00s) === RUN TestHandler_validateExternalAccountBinding -=== RUN TestHandler_validateExternalAccountBinding/fail/parse-eab-jose +=== RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-not-found === RUN TestHandler_validateExternalAccountBinding/fail/eab-already-bound -=== RUN TestHandler_validateExternalAccountBinding/fail/eab-non-matching-keys -=== RUN TestHandler_validateExternalAccountBinding/ok/eab -=== RUN TestHandler_validateExternalAccountBinding/fail/acmeProvisionerFromContext === RUN TestHandler_validateExternalAccountBinding/fail/retrieve-eab-key-db-failure -=== RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-not-found -=== RUN TestHandler_validateExternalAccountBinding/fail/eab-verify +=== RUN TestHandler_validateExternalAccountBinding/fail/acmeProvisionerFromContext === RUN TestHandler_validateExternalAccountBinding/fail/validate-eab-jws-no-signatures -=== RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-error +=== RUN TestHandler_validateExternalAccountBinding/ok/no-eab-required-but-provided === RUN TestHandler_validateExternalAccountBinding/fail/no-jwk === RUN TestHandler_validateExternalAccountBinding/fail/nil-jwk -=== RUN TestHandler_validateExternalAccountBinding/ok/no-eab-required-but-provided +=== RUN TestHandler_validateExternalAccountBinding/ok/eab +=== RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-error === RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-wrong-provisioner ---- PASS: TestHandler_validateExternalAccountBinding (0.07s) - --- PASS: TestHandler_validateExternalAccountBinding/fail/parse-eab-jose (0.00s) +=== RUN TestHandler_validateExternalAccountBinding/fail/eab-verify +=== RUN TestHandler_validateExternalAccountBinding/fail/eab-non-matching-keys +=== RUN TestHandler_validateExternalAccountBinding/fail/parse-eab-jose +--- PASS: TestHandler_validateExternalAccountBinding (0.05s) + --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-not-found (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-already-bound (0.00s) - --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-non-matching-keys (0.00s) - --- PASS: TestHandler_validateExternalAccountBinding/ok/eab (0.00s) - --- PASS: TestHandler_validateExternalAccountBinding/fail/acmeProvisionerFromContext (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/retrieve-eab-key-db-failure (0.00s) - --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-not-found (0.02s) - --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-verify (0.00s) + --- PASS: TestHandler_validateExternalAccountBinding/fail/acmeProvisionerFromContext (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/validate-eab-jws-no-signatures (0.00s) - --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-error (0.00s) + --- PASS: TestHandler_validateExternalAccountBinding/ok/no-eab-required-but-provided (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/no-jwk (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/nil-jwk (0.00s) - --- PASS: TestHandler_validateExternalAccountBinding/ok/no-eab-required-but-provided (0.00s) + --- PASS: TestHandler_validateExternalAccountBinding/ok/eab (0.00s) + --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-error (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-wrong-provisioner (0.00s) + --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-verify (0.00s) + --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-non-matching-keys (0.00s) + --- PASS: TestHandler_validateExternalAccountBinding/fail/parse-eab-jose (0.01s) === RUN Test_validateEABJWS -=== RUN Test_validateEABJWS/fail/nil-jws === RUN Test_validateEABJWS/fail/kid-not-set -=== RUN Test_validateEABJWS/fail/no-outer-jws -=== RUN Test_validateEABJWS/fail/outer-jws-multiple-signatures +=== RUN Test_validateEABJWS/fail/nonce-not-empty +=== RUN Test_validateEABJWS/ok +=== RUN Test_validateEABJWS/fail/outer-jws-with-different-url +=== RUN Test_validateEABJWS/fail/nil-jws === RUN Test_validateEABJWS/fail/invalid-number-of-signatures === RUN Test_validateEABJWS/fail/invalid-algorithm -=== RUN Test_validateEABJWS/fail/nonce-not-empty === RUN Test_validateEABJWS/fail/url-not-set +=== RUN Test_validateEABJWS/fail/no-outer-jws +=== RUN Test_validateEABJWS/fail/outer-jws-multiple-signatures === RUN Test_validateEABJWS/fail/outer-jws-no-url -=== RUN Test_validateEABJWS/fail/outer-jws-with-different-url -=== RUN Test_validateEABJWS/ok ---- PASS: Test_validateEABJWS (0.04s) - --- PASS: Test_validateEABJWS/fail/nil-jws (0.00s) +--- PASS: Test_validateEABJWS (0.03s) --- PASS: Test_validateEABJWS/fail/kid-not-set (0.00s) - --- PASS: Test_validateEABJWS/fail/no-outer-jws (0.00s) - --- PASS: Test_validateEABJWS/fail/outer-jws-multiple-signatures (0.00s) + --- PASS: Test_validateEABJWS/fail/nonce-not-empty (0.00s) + --- PASS: Test_validateEABJWS/ok (0.00s) + --- PASS: Test_validateEABJWS/fail/outer-jws-with-different-url (0.00s) + --- PASS: Test_validateEABJWS/fail/nil-jws (0.00s) --- PASS: Test_validateEABJWS/fail/invalid-number-of-signatures (0.00s) --- PASS: Test_validateEABJWS/fail/invalid-algorithm (0.00s) - --- PASS: Test_validateEABJWS/fail/nonce-not-empty (0.00s) --- PASS: Test_validateEABJWS/fail/url-not-set (0.00s) + --- PASS: Test_validateEABJWS/fail/no-outer-jws (0.00s) + --- PASS: Test_validateEABJWS/fail/outer-jws-multiple-signatures (0.00s) --- PASS: Test_validateEABJWS/fail/outer-jws-no-url (0.00s) - --- PASS: Test_validateEABJWS/fail/outer-jws-with-different-url (0.00s) - --- PASS: Test_validateEABJWS/ok (0.00s) === RUN TestHandler_GetNonce === RUN TestHandler_GetNonce/GET === RUN TestHandler_GetNonce/HEAD @@ -2693,59 +2734,59 @@ --- PASS: TestHandler_GetNonce/GET (0.00s) --- PASS: TestHandler_GetNonce/HEAD (0.00s) === RUN TestHandler_GetDirectory -=== RUN TestHandler_GetDirectory/ok -2024/05/23 12:06:44 {"newNonce":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-nonce","newAccount":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-account","newOrder":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-order","revokeCert":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/revoke-cert","keyChange":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/key-change","meta":{}} -=== RUN TestHandler_GetDirectory/ok/eab-required -2024/05/23 12:06:44 {"newNonce":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-nonce","newAccount":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-account","newOrder":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-order","revokeCert":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/revoke-cert","keyChange":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/key-change","meta":{"externalAccountRequired":true}} === RUN TestHandler_GetDirectory/fail/no-provisioner -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetDirectory/fail/different-provisioner -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} ---- PASS: TestHandler_GetDirectory (0.00s) - --- PASS: TestHandler_GetDirectory/ok (0.00s) - --- PASS: TestHandler_GetDirectory/ok/eab-required (0.00s) +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_GetDirectory/ok +2023/04/22 07:50:42 {"newNonce":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-nonce","newAccount":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-account","newOrder":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-order","revokeCert":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/revoke-cert","keyChange":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/key-change","meta":{}} +=== RUN TestHandler_GetDirectory/ok/eab-required +2023/04/22 07:50:42 {"newNonce":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-nonce","newAccount":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-account","newOrder":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-order","revokeCert":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/revoke-cert","keyChange":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/key-change","meta":{"externalAccountRequired":true}} +--- PASS: TestHandler_GetDirectory (0.01s) --- PASS: TestHandler_GetDirectory/fail/no-provisioner (0.00s) --- PASS: TestHandler_GetDirectory/fail/different-provisioner (0.00s) + --- PASS: TestHandler_GetDirectory/ok (0.01s) + --- PASS: TestHandler_GetDirectory/ok/eab-required (0.00s) === RUN TestHandler_GetAuthorization === RUN TestHandler_GetAuthorization/fail/db.GetAuthorization-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetAuthorization/fail/account-id-mismatch -2024/05/23 12:06:44 The client lacks sufficient authorization -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +2023/04/22 07:50:42 The client lacks sufficient authorization +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_GetAuthorization/fail/db.UpdateAuthorization-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetAuthorization/ok -2024/05/23 12:06:44 {"identifier":{"type":"dns","value":"example.com"},"status":"pending","challenges":[{"type":"http-01","status":"pending","token":"tok2","url":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/challenge/authzID/chHTTP01ID"},{"type":"dns-01","status":"pending","token":"tok2","url":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/challenge/authzID/chDNSID"}],"wildcard":false,"expires":"2024-05-24T06:06:44.32235332Z"} +2023/04/22 07:50:42 {"identifier":{"type":"dns","value":"example.com"},"status":"pending","challenges":[{"type":"http-01","status":"pending","token":"tok2","url":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/challenge/authzID/chHTTP01ID"},{"type":"dns-01","status":"pending","token":"tok2","url":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/challenge/authzID/chDNSID"}],"wildcard":false,"expires":"2023-04-21T23:50:42.959905036Z"} === RUN TestHandler_GetAuthorization/fail/no-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetAuthorization/fail/nil-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} ---- PASS: TestHandler_GetAuthorization (0.03s) +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +--- PASS: TestHandler_GetAuthorization (0.00s) --- PASS: TestHandler_GetAuthorization/fail/db.GetAuthorization-error (0.00s) - --- PASS: TestHandler_GetAuthorization/fail/account-id-mismatch (0.02s) + --- PASS: TestHandler_GetAuthorization/fail/account-id-mismatch (0.00s) --- PASS: TestHandler_GetAuthorization/fail/db.UpdateAuthorization-error (0.00s) --- PASS: TestHandler_GetAuthorization/ok (0.00s) --- PASS: TestHandler_GetAuthorization/fail/no-account (0.00s) --- PASS: TestHandler_GetAuthorization/fail/nil-account (0.00s) === RUN TestHandler_GetCertificate === RUN TestHandler_GetCertificate/fail/no-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetCertificate/fail/nil-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetCertificate/fail/db.GetCertificate-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetCertificate/fail/account-id-mismatch -2024/05/23 12:06:44 The client lacks sufficient authorization -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +2023/04/22 07:50:42 The client lacks sufficient authorization +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_GetCertificate/ok --- PASS: TestHandler_GetCertificate (0.00s) --- PASS: TestHandler_GetCertificate/fail/no-account (0.00s) @@ -2754,46 +2795,46 @@ --- PASS: TestHandler_GetCertificate/fail/account-id-mismatch (0.00s) --- PASS: TestHandler_GetCertificate/ok (0.00s) === RUN TestHandler_GetChallenge -=== RUN TestHandler_GetChallenge/fail/no-jwk -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_GetChallenge/fail/no-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_GetChallenge/fail/nil-account -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +=== RUN TestHandler_GetChallenge/fail/nil-jwk +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetChallenge/fail/db.GetChallenge-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetChallenge/fail/account-id-mismatch -2024/05/23 12:06:44 The client lacks sufficient authorization -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} -=== RUN TestHandler_GetChallenge/fail/nil-jwk -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The client lacks sufficient authorization +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +=== RUN TestHandler_GetChallenge/fail/no-jwk +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_GetChallenge/fail/nil-payload +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetChallenge/fail/validate-challenge-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetChallenge/ok -2024/05/23 12:06:44 {"type":"http-01","status":"pending","token":"","url":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/challenge/authzID/chID","error":{"type":"urn:ietf:params:acme:error:connection","detail":"The server could not connect to validation target"}} +2023/04/22 07:50:42 {"type":"http-01","status":"pending","token":"","url":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/challenge/authzID/chID","error":{"type":"urn:ietf:params:acme:error:connection","detail":"The server could not connect to validation target"}} +=== RUN TestHandler_GetChallenge/fail/no-account +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +=== RUN TestHandler_GetChallenge/fail/nil-account +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetChallenge/fail/no-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_GetChallenge/fail/nil-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} ---- PASS: TestHandler_GetChallenge (0.02s) - --- PASS: TestHandler_GetChallenge/fail/no-jwk (0.00s) - --- PASS: TestHandler_GetChallenge/fail/no-account (0.01s) - --- PASS: TestHandler_GetChallenge/fail/nil-account (0.00s) +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +--- PASS: TestHandler_GetChallenge (0.00s) + --- PASS: TestHandler_GetChallenge/fail/nil-jwk (0.00s) --- PASS: TestHandler_GetChallenge/fail/db.GetChallenge-error (0.00s) --- PASS: TestHandler_GetChallenge/fail/account-id-mismatch (0.00s) - --- PASS: TestHandler_GetChallenge/fail/nil-jwk (0.00s) + --- PASS: TestHandler_GetChallenge/fail/no-jwk (0.00s) + --- PASS: TestHandler_GetChallenge/fail/nil-payload (0.00s) --- PASS: TestHandler_GetChallenge/fail/validate-challenge-error (0.00s) --- PASS: TestHandler_GetChallenge/ok (0.00s) + --- PASS: TestHandler_GetChallenge/fail/no-account (0.00s) + --- PASS: TestHandler_GetChallenge/fail/nil-account (0.00s) --- PASS: TestHandler_GetChallenge/fail/no-payload (0.00s) - --- PASS: TestHandler_GetChallenge/fail/nil-payload (0.00s) === RUN TestLinker_GetUnescapedPathSuffix --- PASS: TestLinker_GetUnescapedPathSuffix (0.00s) === RUN TestLinker_DNS @@ -2807,7 +2848,7 @@ === RUN TestLinker_DNS/ipv6-port-no-brackets === RUN TestLinker_DNS/ipv6-long-no-brackets === RUN TestLinker_DNS/ipv6-long-port-no-brackets ---- PASS: TestLinker_DNS (0.00s) +--- PASS: TestLinker_DNS (0.01s) --- PASS: TestLinker_DNS/domain (0.00s) --- PASS: TestLinker_DNS/domain-port (0.00s) --- PASS: TestLinker_DNS/ipv4 (0.00s) @@ -2830,7 +2871,7 @@ --- PASS: TestLinker_LinkOrder/many-authz (0.00s) === RUN TestLinker_LinkAccount === RUN TestLinker_LinkAccount/ok ---- PASS: TestLinker_LinkAccount (0.01s) +--- PASS: TestLinker_LinkAccount (0.00s) --- PASS: TestLinker_LinkAccount/ok (0.00s) === RUN TestLinker_LinkChallenge === RUN TestLinker_LinkChallenge/ok @@ -2838,7 +2879,7 @@ --- PASS: TestLinker_LinkChallenge/ok (0.00s) === RUN TestLinker_LinkAuthorization === RUN TestLinker_LinkAuthorization/ok ---- PASS: TestLinker_LinkAuthorization (0.01s) +--- PASS: TestLinker_LinkAuthorization (0.00s) --- PASS: TestLinker_LinkAuthorization/ok (0.00s) === RUN TestLinker_LinkOrdersByAccountID === RUN TestLinker_LinkOrdersByAccountID/ok @@ -2858,8 +2899,8 @@ --- PASS: TestHandler_baseURLFromRequest (0.00s) === RUN TestHandler_addNonce === RUN TestHandler_addNonce/fail/AddNonce-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_addNonce/ok --- PASS: TestHandler_addNonce (0.00s) --- PASS: TestHandler_addNonce/fail/AddNonce-error (0.00s) @@ -2869,211 +2910,211 @@ --- PASS: TestHandler_addDirLink (0.00s) --- PASS: TestHandler_addDirLink/ok (0.00s) === RUN TestHandler_verifyContentType -=== RUN TestHandler_verifyContentType/ok/certificate/pkcs7-mime === RUN TestHandler_verifyContentType/fail/provisioner-not-set -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_verifyContentType/fail/general-bad-content-type -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_verifyContentType/fail/certificate-bad-content-type -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_verifyContentType/ok === RUN TestHandler_verifyContentType/ok/certificate/pkix-cert === RUN TestHandler_verifyContentType/ok/certificate/jose+json ---- PASS: TestHandler_verifyContentType (0.00s) - --- PASS: TestHandler_verifyContentType/ok/certificate/pkcs7-mime (0.00s) +=== RUN TestHandler_verifyContentType/ok/certificate/pkcs7-mime +--- PASS: TestHandler_verifyContentType (0.01s) --- PASS: TestHandler_verifyContentType/fail/provisioner-not-set (0.00s) --- PASS: TestHandler_verifyContentType/fail/general-bad-content-type (0.00s) --- PASS: TestHandler_verifyContentType/fail/certificate-bad-content-type (0.00s) --- PASS: TestHandler_verifyContentType/ok (0.00s) --- PASS: TestHandler_verifyContentType/ok/certificate/pkix-cert (0.00s) --- PASS: TestHandler_verifyContentType/ok/certificate/jose+json (0.00s) + --- PASS: TestHandler_verifyContentType/ok/certificate/pkcs7-mime (0.00s) === RUN TestHandler_isPostAsGet -=== RUN TestHandler_isPostAsGet/fail/not-post-as-get -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_isPostAsGet/ok === RUN TestHandler_isPostAsGet/fail/no-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_isPostAsGet/fail/nil-payload -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_isPostAsGet/fail/not-post-as-get +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_isPostAsGet/ok --- PASS: TestHandler_isPostAsGet (0.00s) - --- PASS: TestHandler_isPostAsGet/fail/not-post-as-get (0.00s) - --- PASS: TestHandler_isPostAsGet/ok (0.00s) --- PASS: TestHandler_isPostAsGet/fail/no-payload (0.00s) --- PASS: TestHandler_isPostAsGet/fail/nil-payload (0.00s) + --- PASS: TestHandler_isPostAsGet/fail/not-post-as-get (0.00s) + --- PASS: TestHandler_isPostAsGet/ok (0.00s) === RUN TestHandler_parseJWS +=== RUN TestHandler_parseJWS/fail/read-body-error +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_parseJWS/fail/parse-jws-error -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_parseJWS/ok -=== RUN TestHandler_parseJWS/fail/read-body-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} --- PASS: TestHandler_parseJWS (0.00s) + --- PASS: TestHandler_parseJWS/fail/read-body-error (0.00s) --- PASS: TestHandler_parseJWS/fail/parse-jws-error (0.00s) --- PASS: TestHandler_parseJWS/ok (0.00s) - --- PASS: TestHandler_parseJWS/fail/read-body-error (0.00s) === RUN TestHandler_verifyAndExtractJWSPayload +=== RUN TestHandler_verifyAndExtractJWSPayload/fail/no-jws +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_verifyAndExtractJWSPayload/fail/no-jwk +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_verifyAndExtractJWSPayload/fail/verify-jws-failure -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_verifyAndExtractJWSPayload/fail/algorithm-mismatch -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_verifyAndExtractJWSPayload/ok -=== RUN TestHandler_verifyAndExtractJWSPayload/ok/empty-algorithm-in-jwk +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_verifyAndExtractJWSPayload/ok/post-as-get === RUN TestHandler_verifyAndExtractJWSPayload/fail/nil-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_verifyAndExtractJWSPayload/fail/no-jwk -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_verifyAndExtractJWSPayload/fail/nil-jwk -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_verifyAndExtractJWSPayload/ok +=== RUN TestHandler_verifyAndExtractJWSPayload/ok/empty-algorithm-in-jwk === RUN TestHandler_verifyAndExtractJWSPayload/ok/empty-json -=== RUN TestHandler_verifyAndExtractJWSPayload/fail/no-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} ---- PASS: TestHandler_verifyAndExtractJWSPayload (0.03s) +--- PASS: TestHandler_verifyAndExtractJWSPayload (0.01s) + --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/no-jws (0.00s) + --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/no-jwk (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/verify-jws-failure (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/algorithm-mismatch (0.00s) - --- PASS: TestHandler_verifyAndExtractJWSPayload/ok (0.00s) - --- PASS: TestHandler_verifyAndExtractJWSPayload/ok/empty-algorithm-in-jwk (0.02s) --- PASS: TestHandler_verifyAndExtractJWSPayload/ok/post-as-get (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/nil-jws (0.00s) - --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/no-jwk (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/nil-jwk (0.00s) + --- PASS: TestHandler_verifyAndExtractJWSPayload/ok (0.00s) + --- PASS: TestHandler_verifyAndExtractJWSPayload/ok/empty-algorithm-in-jwk (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/ok/empty-json (0.00s) - --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/no-jws (0.00s) === RUN TestHandler_lookupJWK -=== RUN TestHandler_lookupJWK/fail/bad-kid-prefix -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_lookupJWK/fail/account-not-found -2024/05/23 12:06:44 Account does not exist -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_lookupJWK/fail/GetAccount-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_lookupJWK/fail/account-not-valid -2024/05/23 12:06:44 The client lacks sufficient authorization -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_lookupJWK/ok === RUN TestHandler_lookupJWK/fail/no-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_lookupJWK/fail/nil-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_lookupJWK/fail/no-kid -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_lookupJWK/fail/bad-kid-prefix +2023/04/22 07:50:42 The request message was malformed +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_lookupJWK/fail/account-not-found +2023/04/22 07:50:42 Account does not exist +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +=== RUN TestHandler_lookupJWK/fail/GetAccount-error +2023/04/22 07:50:42 The server experienced an internal error +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_lookupJWK/fail/account-not-valid +2023/04/22 07:50:42 The client lacks sufficient authorization +2023/04/22 07:50:42 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} --- PASS: TestHandler_lookupJWK (0.00s) - --- PASS: TestHandler_lookupJWK/fail/bad-kid-prefix (0.00s) - --- PASS: TestHandler_lookupJWK/fail/account-not-found (0.00s) - --- PASS: TestHandler_lookupJWK/fail/GetAccount-error (0.00s) - --- PASS: TestHandler_lookupJWK/fail/account-not-valid (0.00s) --- PASS: TestHandler_lookupJWK/ok (0.00s) --- PASS: TestHandler_lookupJWK/fail/no-jws (0.00s) --- PASS: TestHandler_lookupJWK/fail/nil-jws (0.00s) --- PASS: TestHandler_lookupJWK/fail/no-kid (0.00s) + --- PASS: TestHandler_lookupJWK/fail/bad-kid-prefix (0.00s) + --- PASS: TestHandler_lookupJWK/fail/account-not-found (0.00s) + --- PASS: TestHandler_lookupJWK/fail/GetAccount-error (0.00s) + --- PASS: TestHandler_lookupJWK/fail/account-not-valid (0.00s) === RUN TestHandler_extractJWK +=== RUN TestHandler_extractJWK/fail/nil-jws +2023/04/22 07:50:43 The server experienced an internal error +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_extractJWK/fail/nil-jwk +2023/04/22 07:50:43 The request message was malformed +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_extractJWK/fail/invalid-jwk +2023/04/22 07:50:43 The request message was malformed +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_extractJWK/fail/GetAccountByKey-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:43 The server experienced an internal error +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_extractJWK/fail/account-not-valid -2024/05/23 12:06:44 The client lacks sufficient authorization -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +2023/04/22 07:50:43 The client lacks sufficient authorization +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_extractJWK/ok === RUN TestHandler_extractJWK/ok/no-account === RUN TestHandler_extractJWK/fail/no-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_extractJWK/fail/nil-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_extractJWK/fail/nil-jwk -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_extractJWK/fail/invalid-jwk -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} ---- PASS: TestHandler_extractJWK (0.00s) +2023/04/22 07:50:43 The server experienced an internal error +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +--- PASS: TestHandler_extractJWK (0.01s) + --- PASS: TestHandler_extractJWK/fail/nil-jws (0.00s) + --- PASS: TestHandler_extractJWK/fail/nil-jwk (0.00s) + --- PASS: TestHandler_extractJWK/fail/invalid-jwk (0.00s) --- PASS: TestHandler_extractJWK/fail/GetAccountByKey-error (0.00s) --- PASS: TestHandler_extractJWK/fail/account-not-valid (0.00s) --- PASS: TestHandler_extractJWK/ok (0.00s) --- PASS: TestHandler_extractJWK/ok/no-account (0.00s) --- PASS: TestHandler_extractJWK/fail/no-jws (0.00s) - --- PASS: TestHandler_extractJWK/fail/nil-jws (0.00s) - --- PASS: TestHandler_extractJWK/fail/nil-jwk (0.00s) - --- PASS: TestHandler_extractJWK/fail/invalid-jwk (0.00s) === RUN TestHandler_validateJWS -=== RUN TestHandler_validateJWS/fail/rsa-key-&-alg-mismatch -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_validateJWS/fail/no-jwk-kid -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_validateJWS/ok/jwk/ecdsa -=== RUN TestHandler_validateJWS/fail/no-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_validateJWS/fail/unsuitable-algorithm-none +2023/04/22 07:50:43 The JWS was signed with an algorithm the server does not support +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:badSignatureAlgorithm","detail":"The JWS was signed with an algorithm the server does not support"} +=== RUN TestHandler_validateJWS/fail/both-jwk-kid +2023/04/22 07:50:43 The request message was malformed +2023/04/22 07:50:43 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_validateJWS/ok/kid +=== RUN TestHandler_validateJWS/ok/jwk/rsa +=== RUN TestHandler_validateJWS/fail/nil-jws +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_validateJWS/fail/unprotected-header-not-empty -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_validateJWS/fail/unsuitable-algorithm-mac -2024/05/23 12:06:44 The JWS was signed with an algorithm the server does not support -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:badSignatureAlgorithm","detail":"The JWS was signed with an algorithm the server does not support"} +2023/04/22 07:50:44 The JWS was signed with an algorithm the server does not support +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:badSignatureAlgorithm","detail":"The JWS was signed with an algorithm the server does not support"} === RUN TestHandler_validateJWS/fail/more-than-one-signature -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_validateJWS/fail/url-mismatch -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_validateJWS/fail/both-jwk-kid -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_validateJWS/ok/kid +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_validateJWS/fail/no-url-header +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_validateJWS/ok/jwk/ecdsa +=== RUN TestHandler_validateJWS/fail/no-jws +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_validateJWS/fail/no-signature -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_validateJWS/fail/unsuitable-algorithm-none -2024/05/23 12:06:44 The JWS was signed with an algorithm the server does not support -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:badSignatureAlgorithm","detail":"The JWS was signed with an algorithm the server does not support"} +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_validateJWS/fail/rsa-key-&-alg-mismatch +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_validateJWS/fail/UseNonce-error -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_validateJWS/fail/nil-jws -2024/05/23 12:06:44 The server experienced an internal error -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_validateJWS/fail/no-url-header -2024/05/23 12:06:44 The request message was malformed -2024/05/23 12:06:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_validateJWS/ok/jwk/rsa ---- PASS: TestHandler_validateJWS (4.04s) - --- PASS: TestHandler_validateJWS/fail/rsa-key-&-alg-mismatch (0.00s) - --- PASS: TestHandler_validateJWS/fail/no-jwk-kid (0.00s) - --- PASS: TestHandler_validateJWS/ok/jwk/ecdsa (0.00s) - --- PASS: TestHandler_validateJWS/fail/no-jws (0.00s) +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_validateJWS/fail/url-mismatch +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_validateJWS/fail/no-jwk-kid +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +--- PASS: TestHandler_validateJWS (1.42s) + --- PASS: TestHandler_validateJWS/fail/unsuitable-algorithm-none (0.00s) + --- PASS: TestHandler_validateJWS/fail/both-jwk-kid (0.00s) + --- PASS: TestHandler_validateJWS/ok/kid (0.00s) + --- PASS: TestHandler_validateJWS/ok/jwk/rsa (0.00s) + --- PASS: TestHandler_validateJWS/fail/nil-jws (0.00s) --- PASS: TestHandler_validateJWS/fail/unprotected-header-not-empty (0.00s) --- PASS: TestHandler_validateJWS/fail/unsuitable-algorithm-mac (0.00s) --- PASS: TestHandler_validateJWS/fail/more-than-one-signature (0.00s) - --- PASS: TestHandler_validateJWS/fail/url-mismatch (0.00s) - --- PASS: TestHandler_validateJWS/fail/both-jwk-kid (0.00s) - --- PASS: TestHandler_validateJWS/ok/kid (0.00s) + --- PASS: TestHandler_validateJWS/fail/no-url-header (0.00s) + --- PASS: TestHandler_validateJWS/ok/jwk/ecdsa (0.00s) + --- PASS: TestHandler_validateJWS/fail/no-jws (0.00s) --- PASS: TestHandler_validateJWS/fail/no-signature (0.00s) - --- PASS: TestHandler_validateJWS/fail/unsuitable-algorithm-none (0.00s) + --- PASS: TestHandler_validateJWS/fail/rsa-key-&-alg-mismatch (0.02s) --- PASS: TestHandler_validateJWS/fail/UseNonce-error (0.00s) - --- PASS: TestHandler_validateJWS/fail/nil-jws (0.00s) - --- PASS: TestHandler_validateJWS/fail/no-url-header (0.00s) - --- PASS: TestHandler_validateJWS/ok/jwk/rsa (0.00s) + --- PASS: TestHandler_validateJWS/fail/url-mismatch (0.00s) + --- PASS: TestHandler_validateJWS/fail/no-jwk-kid (0.00s) === RUN Test_canExtractJWKFrom === RUN Test_canExtractJWKFrom/no-jws === RUN Test_canExtractJWKFrom/no-signatures @@ -3092,199 +3133,199 @@ --- PASS: TestHandler_extractOrLookupJWK/ok/lookup (0.00s) === RUN TestHandler_checkPrerequisites === RUN TestHandler_checkPrerequisites/fail/error -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_checkPrerequisites/fail/prerequisites-nok -2024/05/23 12:06:48 The requested operation is not implemented -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:rejectedIdentifier","detail":"The requested operation is not implemented"} +2023/04/22 07:50:44 The requested operation is not implemented +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:rejectedIdentifier","detail":"The requested operation is not implemented"} === RUN TestHandler_checkPrerequisites/ok --- PASS: TestHandler_checkPrerequisites (0.00s) --- PASS: TestHandler_checkPrerequisites/fail/error (0.00s) --- PASS: TestHandler_checkPrerequisites/fail/prerequisites-nok (0.00s) --- PASS: TestHandler_checkPrerequisites/ok (0.00s) === RUN TestNewOrderRequest_Validate -=== RUN TestNewOrderRequest_Validate/fail/bad-identifier -=== RUN TestNewOrderRequest_Validate/fail/bad-ip -=== RUN TestNewOrderRequest_Validate/ok === RUN TestNewOrderRequest_Validate/ok/ipv4 === RUN TestNewOrderRequest_Validate/ok/ipv6 === RUN TestNewOrderRequest_Validate/ok/mixed-dns-and-ipv4 === RUN TestNewOrderRequest_Validate/ok/mixed-ipv4-and-ipv6 === RUN TestNewOrderRequest_Validate/fail/no-identifiers ---- PASS: TestNewOrderRequest_Validate (0.00s) - --- PASS: TestNewOrderRequest_Validate/fail/bad-identifier (0.00s) - --- PASS: TestNewOrderRequest_Validate/fail/bad-ip (0.00s) - --- PASS: TestNewOrderRequest_Validate/ok (0.00s) +=== RUN TestNewOrderRequest_Validate/fail/bad-identifier +=== RUN TestNewOrderRequest_Validate/fail/bad-ip +=== RUN TestNewOrderRequest_Validate/ok +--- PASS: TestNewOrderRequest_Validate (0.02s) --- PASS: TestNewOrderRequest_Validate/ok/ipv4 (0.00s) --- PASS: TestNewOrderRequest_Validate/ok/ipv6 (0.00s) --- PASS: TestNewOrderRequest_Validate/ok/mixed-dns-and-ipv4 (0.00s) --- PASS: TestNewOrderRequest_Validate/ok/mixed-ipv4-and-ipv6 (0.00s) --- PASS: TestNewOrderRequest_Validate/fail/no-identifiers (0.00s) + --- PASS: TestNewOrderRequest_Validate/fail/bad-identifier (0.00s) + --- PASS: TestNewOrderRequest_Validate/fail/bad-ip (0.00s) + --- PASS: TestNewOrderRequest_Validate/ok (0.00s) === RUN TestFinalizeRequestValidate -=== RUN TestFinalizeRequestValidate/ok === RUN TestFinalizeRequestValidate/fail/parse-csr-error === RUN TestFinalizeRequestValidate/fail/invalid-csr-signature +=== RUN TestFinalizeRequestValidate/ok --- PASS: TestFinalizeRequestValidate (0.00s) - --- PASS: TestFinalizeRequestValidate/ok (0.00s) --- PASS: TestFinalizeRequestValidate/fail/parse-csr-error (0.00s) --- PASS: TestFinalizeRequestValidate/fail/invalid-csr-signature (0.00s) + --- PASS: TestFinalizeRequestValidate/ok (0.00s) === RUN TestHandler_GetOrder -=== RUN TestHandler_GetOrder/fail/no-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_GetOrder/ok -2024/05/23 12:06:48 {"id":"orderID","status":"invalid","expires":"2024-05-23T23:06:48Z","identifiers":[{"type":"dns","value":"example.com"},{"type":"dns","value":"*.smallstep.com"}],"notBefore":"2024-05-24T00:06:48Z","notAfter":"2024-05-25T00:06:48Z","error":{"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"},"authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/foo","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/bar","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/baz"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/orderID/finalize"} -=== RUN TestHandler_GetOrder/fail/account-id-mismatch -2024/05/23 12:06:48 The client lacks sufficient authorization -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_GetOrder/fail/provisioner-id-mismatch -2024/05/23 12:06:48 The client lacks sufficient authorization -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +2023/04/22 07:50:44 The client lacks sufficient authorization +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_GetOrder/fail/order-update-error -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_GetOrder/ok +2023/04/22 07:50:44 {"id":"orderID","status":"invalid","expires":"2023-04-21T16:50:44Z","identifiers":[{"type":"dns","value":"example.com"},{"type":"dns","value":"*.smallstep.com"}],"notBefore":"2023-04-21T17:50:44Z","notAfter":"2023-04-22T17:50:44Z","error":{"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"},"authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/foo","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/bar","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/baz"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/orderID/finalize"} +=== RUN TestHandler_GetOrder/fail/no-account +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetOrder/fail/nil-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_GetOrder/fail/no-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetOrder/fail/nil-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_GetOrder/fail/db.GetOrder-error -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_GetOrder/fail/account-id-mismatch +2023/04/22 07:50:44 The client lacks sufficient authorization +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} --- PASS: TestHandler_GetOrder (0.02s) - --- PASS: TestHandler_GetOrder/fail/no-account (0.00s) - --- PASS: TestHandler_GetOrder/ok (0.00s) - --- PASS: TestHandler_GetOrder/fail/account-id-mismatch (0.00s) --- PASS: TestHandler_GetOrder/fail/provisioner-id-mismatch (0.00s) --- PASS: TestHandler_GetOrder/fail/order-update-error (0.00s) + --- PASS: TestHandler_GetOrder/ok (0.00s) + --- PASS: TestHandler_GetOrder/fail/no-account (0.02s) --- PASS: TestHandler_GetOrder/fail/nil-account (0.00s) --- PASS: TestHandler_GetOrder/fail/no-provisioner (0.00s) --- PASS: TestHandler_GetOrder/fail/nil-provisioner (0.00s) --- PASS: TestHandler_GetOrder/fail/db.GetOrder-error (0.00s) + --- PASS: TestHandler_GetOrder/fail/account-id-mismatch (0.00s) === RUN TestHandler_newAuthorization -=== RUN TestHandler_newAuthorization/fail/error-db.CreateChallenge === RUN TestHandler_newAuthorization/fail/error-db.CreateAuthorization === RUN TestHandler_newAuthorization/ok/no-wildcard === RUN TestHandler_newAuthorization/ok/wildcard +=== RUN TestHandler_newAuthorization/fail/error-db.CreateChallenge --- PASS: TestHandler_newAuthorization (0.00s) - --- PASS: TestHandler_newAuthorization/fail/error-db.CreateChallenge (0.00s) --- PASS: TestHandler_newAuthorization/fail/error-db.CreateAuthorization (0.00s) --- PASS: TestHandler_newAuthorization/ok/no-wildcard (0.00s) --- PASS: TestHandler_newAuthorization/ok/wildcard (0.00s) + --- PASS: TestHandler_newAuthorization/fail/error-db.CreateChallenge (0.00s) === RUN TestHandler_NewOrder +=== RUN TestHandler_NewOrder/fail/no-payload +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_NewOrder/fail/unmarshal-payload-error +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_NewOrder/fail/error-h.newAuthorization +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_NewOrder/ok/multiple-authz -2024/05/23 12:06:48 {"id":"ordID","status":"pending","expires":"2024-05-25T00:06:48Z","identifiers":[{"type":"dns","value":"zap.internal"},{"type":"dns","value":"*.zar.internal"}],"notBefore":"2024-05-24T00:05:48Z","notAfter":"2024-05-25T00:06:48Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az2ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} -=== RUN TestHandler_NewOrder/ok/nbf-no-naf -2024/05/23 12:06:48 {"id":"ordID","status":"pending","expires":"2024-05-25T00:06:48Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2024-05-24T00:16:48Z","notAfter":"2024-05-25T00:16:48Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} +2023/04/22 07:50:44 {"id":"ordID","status":"pending","expires":"2023-04-22T17:50:44Z","identifiers":[{"type":"dns","value":"zap.internal"},{"type":"dns","value":"*.zar.internal"}],"notBefore":"2023-04-21T17:49:44Z","notAfter":"2023-04-22T17:50:44Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az2ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} +=== RUN TestHandler_NewOrder/ok/default-naf-nbf +2023/04/22 07:50:44 {"id":"ordID","status":"pending","expires":"2023-04-22T17:50:44Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2023-04-21T17:49:44Z","notAfter":"2023-04-22T17:50:44Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} === RUN TestHandler_NewOrder/ok/naf-nbf -2024/05/23 12:06:48 {"id":"ordID","status":"pending","expires":"2024-05-25T00:06:48Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2024-05-24T00:11:48Z","notAfter":"2024-05-24T00:21:48Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} -=== RUN TestHandler_NewOrder/fail/nil-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_NewOrder/fail/error-h.newAuthorization -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_NewOrder/fail/unmarshal-payload-error -2024/05/23 12:06:48 The request message was malformed -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_NewOrder/fail/error-db.CreateOrder -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 {"id":"ordID","status":"pending","expires":"2023-04-22T17:50:44Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2023-04-21T17:55:44Z","notAfter":"2023-04-21T18:05:44Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} === RUN TestHandler_NewOrder/fail/no-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_NewOrder/fail/no-payload -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +=== RUN TestHandler_NewOrder/fail/nil-provisioner +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_NewOrder/fail/error-db.CreateOrder +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_NewOrder/fail/no-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_NewOrder/fail/nil-payload -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_NewOrder/ok/default-naf-nbf -2024/05/23 12:06:48 {"id":"ordID","status":"pending","expires":"2024-05-25T00:06:48Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2024-05-24T00:05:48Z","notAfter":"2024-05-25T00:06:48Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_NewOrder/ok/nbf-no-naf +2023/04/22 07:50:44 {"id":"ordID","status":"pending","expires":"2023-04-22T17:50:44Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2023-04-21T18:00:44Z","notAfter":"2023-04-22T18:00:44Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} === RUN TestHandler_NewOrder/ok/naf-no-nbf -2024/05/23 12:06:48 {"id":"ordID","status":"pending","expires":"2024-05-25T00:06:48Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2024-05-24T00:05:48Z","notAfter":"2024-05-24T00:21:48Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} -=== RUN TestHandler_NewOrder/fail/nil-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 {"id":"ordID","status":"pending","expires":"2023-04-22T17:50:44Z","identifiers":[{"type":"dns","value":"zap.internal"}],"notBefore":"2023-04-21T17:49:44Z","notAfter":"2023-04-21T18:05:44Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/az1ID"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/ordID/finalize"} +=== RUN TestHandler_NewOrder/fail/nil-payload +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_NewOrder/fail/malformed-payload-error -2024/05/23 12:06:48 The request message was malformed -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} ---- PASS: TestHandler_NewOrder (0.04s) - --- PASS: TestHandler_NewOrder/ok/multiple-authz (0.00s) - --- PASS: TestHandler_NewOrder/ok/nbf-no-naf (0.00s) - --- PASS: TestHandler_NewOrder/ok/naf-nbf (0.02s) - --- PASS: TestHandler_NewOrder/fail/nil-account (0.00s) - --- PASS: TestHandler_NewOrder/fail/error-h.newAuthorization (0.00s) +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_NewOrder/fail/nil-account +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +--- PASS: TestHandler_NewOrder (0.05s) + --- PASS: TestHandler_NewOrder/fail/no-payload (0.00s) --- PASS: TestHandler_NewOrder/fail/unmarshal-payload-error (0.00s) - --- PASS: TestHandler_NewOrder/fail/error-db.CreateOrder (0.00s) + --- PASS: TestHandler_NewOrder/fail/error-h.newAuthorization (0.00s) + --- PASS: TestHandler_NewOrder/ok/multiple-authz (0.00s) + --- PASS: TestHandler_NewOrder/ok/default-naf-nbf (0.00s) + --- PASS: TestHandler_NewOrder/ok/naf-nbf (0.00s) --- PASS: TestHandler_NewOrder/fail/no-account (0.00s) - --- PASS: TestHandler_NewOrder/fail/no-payload (0.00s) + --- PASS: TestHandler_NewOrder/fail/nil-provisioner (0.00s) + --- PASS: TestHandler_NewOrder/fail/error-db.CreateOrder (0.00s) --- PASS: TestHandler_NewOrder/fail/no-provisioner (0.00s) - --- PASS: TestHandler_NewOrder/fail/nil-payload (0.00s) - --- PASS: TestHandler_NewOrder/ok/default-naf-nbf (0.00s) + --- PASS: TestHandler_NewOrder/ok/nbf-no-naf (0.00s) --- PASS: TestHandler_NewOrder/ok/naf-no-nbf (0.00s) - --- PASS: TestHandler_NewOrder/fail/nil-provisioner (0.00s) - --- PASS: TestHandler_NewOrder/fail/malformed-payload-error (0.01s) + --- PASS: TestHandler_NewOrder/fail/nil-payload (0.00s) + --- PASS: TestHandler_NewOrder/fail/malformed-payload-error (0.00s) + --- PASS: TestHandler_NewOrder/fail/nil-account (0.02s) === RUN TestHandler_FinalizeOrder -=== RUN TestHandler_FinalizeOrder/fail/order-finalize-error -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_FinalizeOrder/ok -2024/05/23 12:06:48 {"id":"orderID","status":"valid","expires":"2024-05-25T00:06:48Z","identifiers":[{"type":"dns","value":"example.com"},{"type":"dns","value":"*.smallstep.com"}],"notBefore":"2024-05-24T00:06:48Z","notAfter":"2024-05-25T00:06:48Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/foo","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/bar","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/baz"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/orderID/finalize","certificate":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/certificate/certID"} -=== RUN TestHandler_FinalizeOrder/fail/malformed-payload-error -2024/05/23 12:06:48 The request message was malformed -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_FinalizeOrder/fail/db.GetOrder-error -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_FinalizeOrder/fail/account-id-mismatch -2024/05/23 12:06:48 The client lacks sufficient authorization -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +2023/04/22 07:50:44 The client lacks sufficient authorization +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} === RUN TestHandler_FinalizeOrder/fail/provisioner-id-mismatch -2024/05/23 12:06:48 The client lacks sufficient authorization -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} -=== RUN TestHandler_FinalizeOrder/fail/no-payload -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_FinalizeOrder/fail/nil-payload -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_FinalizeOrder/fail/unmarshal-payload-error -2024/05/23 12:06:48 The request message was malformed -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:44 The client lacks sufficient authorization +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"The client lacks sufficient authorization"} +=== RUN TestHandler_FinalizeOrder/fail/order-finalize-error +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_FinalizeOrder/fail/no-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_FinalizeOrder/fail/nil-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_FinalizeOrder/fail/no-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_FinalizeOrder/fail/nil-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_FinalizeOrder/fail/unmarshal-payload-error +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_FinalizeOrder/ok +2023/04/22 07:50:44 {"id":"orderID","status":"valid","expires":"2023-04-22T17:50:44Z","identifiers":[{"type":"dns","value":"example.com"},{"type":"dns","value":"*.smallstep.com"}],"notBefore":"2023-04-21T17:50:44Z","notAfter":"2023-04-22T17:50:44Z","authorizations":["https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/foo","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/bar","https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/authz/baz"],"finalize":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/order/orderID/finalize","certificate":"https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/certificate/certID"} +=== RUN TestHandler_FinalizeOrder/fail/nil-account +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +=== RUN TestHandler_FinalizeOrder/fail/no-payload +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_FinalizeOrder/fail/nil-payload +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_FinalizeOrder/fail/malformed-payload-error +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} --- PASS: TestHandler_FinalizeOrder (0.05s) - --- PASS: TestHandler_FinalizeOrder/fail/order-finalize-error (0.00s) - --- PASS: TestHandler_FinalizeOrder/ok (0.00s) - --- PASS: TestHandler_FinalizeOrder/fail/malformed-payload-error (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/db.GetOrder-error (0.00s) - --- PASS: TestHandler_FinalizeOrder/fail/account-id-mismatch (0.02s) - --- PASS: TestHandler_FinalizeOrder/fail/provisioner-id-mismatch (0.03s) - --- PASS: TestHandler_FinalizeOrder/fail/no-payload (0.00s) - --- PASS: TestHandler_FinalizeOrder/fail/nil-payload (0.00s) - --- PASS: TestHandler_FinalizeOrder/fail/unmarshal-payload-error (0.00s) - --- PASS: TestHandler_FinalizeOrder/fail/no-account (0.00s) - --- PASS: TestHandler_FinalizeOrder/fail/nil-account (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/account-id-mismatch (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/provisioner-id-mismatch (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/order-finalize-error (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/no-account (0.03s) --- PASS: TestHandler_FinalizeOrder/fail/no-provisioner (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/nil-provisioner (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/unmarshal-payload-error (0.00s) + --- PASS: TestHandler_FinalizeOrder/ok (0.01s) + --- PASS: TestHandler_FinalizeOrder/fail/nil-account (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/no-payload (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/nil-payload (0.00s) + --- PASS: TestHandler_FinalizeOrder/fail/malformed-payload-error (0.00s) === RUN TestHandler_challengeTypes === RUN TestHandler_challengeTypes/ok/dns === RUN TestHandler_challengeTypes/ok/wildcard @@ -3334,99 +3375,99 @@ --- PASS: Test_revokeOptions/ok/no-reasoncode (0.00s) --- PASS: Test_revokeOptions/ok/including-reasoncode (0.00s) === RUN TestHandler_RevokeCert -=== RUN TestHandler_RevokeCert/fail/no-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/nil-provisioner -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/no-payload -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/wrong-certificate-encoding -2024/05/23 12:06:48 The request message was malformed -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_RevokeCert/fail/db.GetCertificateBySerial -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_RevokeCert/fail/certificate-already-revoked -2024/05/23 12:06:48 Certificate already revoked -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:alreadyRevoked","detail":"Certificate already revoked"} -=== RUN TestHandler_RevokeCert/fail/invalid-reasoncode -2024/05/23 12:06:48 The revocation reason provided is not allowed by the server -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:badRevocationReason","detail":"The revocation reason provided is not allowed by the server"} +2023/04/22 07:50:44 Certificate already revoked +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:alreadyRevoked","detail":"Certificate already revoked"} +=== RUN TestHandler_RevokeCert/fail/prov.AuthorizeRevoke +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/ok/using-account-key +=== RUN TestHandler_RevokeCert/fail/wrong-certificate-encoding +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestHandler_RevokeCert/fail/no-account +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +=== RUN TestHandler_RevokeCert/fail/nil-account +2023/04/22 07:50:44 Account does not exist +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestHandler_RevokeCert/fail/ca.Revoke -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/no-jws -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/nil-jws -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/ca.Revoke-already-revoked +2023/04/22 07:50:44 Certificate already revoked +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:alreadyRevoked","detail":"Certificate already revoked"} === RUN TestHandler_RevokeCert/fail/nil-payload -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/db.GetCertificateBySerial +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/certificate-revoked-check-fails +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} === RUN TestHandler_RevokeCert/fail/different-certificate-contents -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/nil-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/unauthorized-certificate-key +2023/04/22 07:50:44 No authorization provided for name 127.0.0.1 +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"No authorization provided for name 127.0.0.1"} +=== RUN TestHandler_RevokeCert/fail/invalid-reasoncode +2023/04/22 07:50:44 The revocation reason provided is not allowed by the server +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:badRevocationReason","detail":"The revocation reason provided is not allowed by the server"} +=== RUN TestHandler_RevokeCert/fail/no-provisioner +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/nil-provisioner +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/unmarshal-payload +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/no-certificate-encoded +2023/04/22 07:50:44 The request message was malformed +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestHandler_RevokeCert/fail/account-not-valid -2024/05/23 12:06:48 No authorization provided for name 127.0.0.1 -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"No authorization provided for name 127.0.0.1"} +2023/04/22 07:50:44 No authorization provided for name 127.0.0.1 +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"No authorization provided for name 127.0.0.1"} === RUN TestHandler_RevokeCert/fail/account-not-authorized -2024/05/23 12:06:48 No authorization provided for name 127.0.0.1 -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"No authorization provided for name 127.0.0.1"} -=== RUN TestHandler_RevokeCert/fail/certificate-revoked-check-fails -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/ca.Revoke-already-revoked -2024/05/23 12:06:48 Certificate already revoked -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:alreadyRevoked","detail":"Certificate already revoked"} +2023/04/22 07:50:44 No authorization provided for name 127.0.0.1 +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"No authorization provided for name 127.0.0.1"} === RUN TestHandler_RevokeCert/ok/using-certificate-key -=== RUN TestHandler_RevokeCert/fail/unmarshal-payload -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/unauthorized-certificate-key -2024/05/23 12:06:48 No authorization provided for name 127.0.0.1 -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:unauthorized","detail":"No authorization provided for name 127.0.0.1"} -=== RUN TestHandler_RevokeCert/fail/prov.AuthorizeRevoke -2024/05/23 12:06:48 The server experienced an internal error -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} -=== RUN TestHandler_RevokeCert/fail/no-certificate-encoded -2024/05/23 12:06:48 The request message was malformed -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} -=== RUN TestHandler_RevokeCert/fail/no-account -2024/05/23 12:06:48 Account does not exist -2024/05/23 12:06:48 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} -=== RUN TestHandler_RevokeCert/ok/using-account-key ---- PASS: TestHandler_RevokeCert (0.03s) - --- PASS: TestHandler_RevokeCert/fail/no-provisioner (0.00s) - --- PASS: TestHandler_RevokeCert/fail/nil-provisioner (0.00s) - --- PASS: TestHandler_RevokeCert/fail/no-payload (0.00s) - --- PASS: TestHandler_RevokeCert/fail/wrong-certificate-encoding (0.00s) - --- PASS: TestHandler_RevokeCert/fail/db.GetCertificateBySerial (0.00s) +=== RUN TestHandler_RevokeCert/fail/no-jws +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/nil-jws +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +=== RUN TestHandler_RevokeCert/fail/no-payload +2023/04/22 07:50:44 The server experienced an internal error +2023/04/22 07:50:44 {"type":"urn:ietf:params:acme:error:serverInternal","detail":"The server experienced an internal error"} +--- PASS: TestHandler_RevokeCert (0.06s) --- PASS: TestHandler_RevokeCert/fail/certificate-already-revoked (0.00s) - --- PASS: TestHandler_RevokeCert/fail/invalid-reasoncode (0.00s) + --- PASS: TestHandler_RevokeCert/fail/prov.AuthorizeRevoke (0.00s) + --- PASS: TestHandler_RevokeCert/ok/using-account-key (0.00s) + --- PASS: TestHandler_RevokeCert/fail/wrong-certificate-encoding (0.00s) + --- PASS: TestHandler_RevokeCert/fail/no-account (0.00s) + --- PASS: TestHandler_RevokeCert/fail/nil-account (0.00s) --- PASS: TestHandler_RevokeCert/fail/ca.Revoke (0.00s) - --- PASS: TestHandler_RevokeCert/fail/no-jws (0.00s) - --- PASS: TestHandler_RevokeCert/fail/nil-jws (0.00s) + --- PASS: TestHandler_RevokeCert/fail/ca.Revoke-already-revoked (0.00s) --- PASS: TestHandler_RevokeCert/fail/nil-payload (0.00s) + --- PASS: TestHandler_RevokeCert/fail/db.GetCertificateBySerial (0.00s) + --- PASS: TestHandler_RevokeCert/fail/certificate-revoked-check-fails (0.00s) --- PASS: TestHandler_RevokeCert/fail/different-certificate-contents (0.00s) - --- PASS: TestHandler_RevokeCert/fail/nil-account (0.00s) + --- PASS: TestHandler_RevokeCert/fail/unauthorized-certificate-key (0.01s) + --- PASS: TestHandler_RevokeCert/fail/invalid-reasoncode (0.00s) + --- PASS: TestHandler_RevokeCert/fail/no-provisioner (0.00s) + --- PASS: TestHandler_RevokeCert/fail/nil-provisioner (0.00s) + --- PASS: TestHandler_RevokeCert/fail/unmarshal-payload (0.00s) + --- PASS: TestHandler_RevokeCert/fail/no-certificate-encoded (0.00s) --- PASS: TestHandler_RevokeCert/fail/account-not-valid (0.00s) --- PASS: TestHandler_RevokeCert/fail/account-not-authorized (0.00s) - --- PASS: TestHandler_RevokeCert/fail/certificate-revoked-check-fails (0.00s) - --- PASS: TestHandler_RevokeCert/fail/ca.Revoke-already-revoked (0.00s) --- PASS: TestHandler_RevokeCert/ok/using-certificate-key (0.00s) - --- PASS: TestHandler_RevokeCert/fail/unmarshal-payload (0.00s) - --- PASS: TestHandler_RevokeCert/fail/unauthorized-certificate-key (0.00s) - --- PASS: TestHandler_RevokeCert/fail/prov.AuthorizeRevoke (0.00s) - --- PASS: TestHandler_RevokeCert/fail/no-certificate-encoded (0.00s) - --- PASS: TestHandler_RevokeCert/fail/no-account (0.00s) - --- PASS: TestHandler_RevokeCert/ok/using-account-key (0.00s) + --- PASS: TestHandler_RevokeCert/fail/no-jws (0.00s) + --- PASS: TestHandler_RevokeCert/fail/nil-jws (0.00s) + --- PASS: TestHandler_RevokeCert/fail/no-payload (0.00s) === RUN TestHandler_isAccountAuthorized === RUN TestHandler_isAccountAuthorized/fail/account-invalid === RUN TestHandler_isAccountAuthorized/fail/different-account @@ -3436,35 +3477,35 @@ --- PASS: TestHandler_isAccountAuthorized/fail/different-account (0.00s) --- PASS: TestHandler_isAccountAuthorized/ok (0.00s) === RUN Test_wrapUnauthorizedError -=== RUN Test_wrapUnauthorizedError/default === RUN Test_wrapUnauthorizedError/unauthorizedIdentifiers === RUN Test_wrapUnauthorizedError/subject === RUN Test_wrapUnauthorizedError/wrap-subject +=== RUN Test_wrapUnauthorizedError/default --- PASS: Test_wrapUnauthorizedError (0.00s) - --- PASS: Test_wrapUnauthorizedError/default (0.00s) --- PASS: Test_wrapUnauthorizedError/unauthorizedIdentifiers (0.00s) --- PASS: Test_wrapUnauthorizedError/subject (0.00s) --- PASS: Test_wrapUnauthorizedError/wrap-subject (0.00s) + --- PASS: Test_wrapUnauthorizedError/default (0.00s) PASS -ok github.com/smallstep/certificates/acme/api 4.611s +ok github.com/smallstep/certificates/acme/api 1.882s === RUN TestDB_getDBAccount === RUN TestDB_getDBAccount/fail/not-found === RUN TestDB_getDBAccount/fail/db.Get-error === RUN TestDB_getDBAccount/fail/unmarshal-error === RUN TestDB_getDBAccount/ok ---- PASS: TestDB_getDBAccount (0.01s) +--- PASS: TestDB_getDBAccount (0.00s) --- PASS: TestDB_getDBAccount/fail/not-found (0.00s) --- PASS: TestDB_getDBAccount/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBAccount/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBAccount/ok (0.00s) === RUN TestDB_getAccountIDByKeyID -=== RUN TestDB_getAccountIDByKeyID/ok === RUN TestDB_getAccountIDByKeyID/fail/not-found === RUN TestDB_getAccountIDByKeyID/fail/db.Get-error +=== RUN TestDB_getAccountIDByKeyID/ok --- PASS: TestDB_getAccountIDByKeyID (0.00s) - --- PASS: TestDB_getAccountIDByKeyID/ok (0.00s) --- PASS: TestDB_getAccountIDByKeyID/fail/not-found (0.00s) --- PASS: TestDB_getAccountIDByKeyID/fail/db.Get-error (0.00s) + --- PASS: TestDB_getAccountIDByKeyID/ok (0.00s) === RUN TestDB_GetAccount === RUN TestDB_GetAccount/fail/db.Get-error === RUN TestDB_GetAccount/ok @@ -3480,25 +3521,25 @@ --- PASS: TestDB_GetAccountByKeyID/fail/db.GetAccount-error (0.00s) --- PASS: TestDB_GetAccountByKeyID/ok (0.00s) === RUN TestDB_CreateAccount -=== RUN TestDB_CreateAccount/fail/keyID-cmpAndSwap-false === RUN TestDB_CreateAccount/fail/account-save-error === RUN TestDB_CreateAccount/ok === RUN TestDB_CreateAccount/fail/keyID-cmpAndSwap-error +=== RUN TestDB_CreateAccount/fail/keyID-cmpAndSwap-false --- PASS: TestDB_CreateAccount (0.00s) - --- PASS: TestDB_CreateAccount/fail/keyID-cmpAndSwap-false (0.00s) --- PASS: TestDB_CreateAccount/fail/account-save-error (0.00s) --- PASS: TestDB_CreateAccount/ok (0.00s) --- PASS: TestDB_CreateAccount/fail/keyID-cmpAndSwap-error (0.00s) + --- PASS: TestDB_CreateAccount/fail/keyID-cmpAndSwap-false (0.00s) === RUN TestDB_UpdateAccount +=== RUN TestDB_UpdateAccount/fail/db.Get-error === RUN TestDB_UpdateAccount/fail/already-deactivated === RUN TestDB_UpdateAccount/fail/db.CmpAndSwap-error === RUN TestDB_UpdateAccount/ok -=== RUN TestDB_UpdateAccount/fail/db.Get-error ---- PASS: TestDB_UpdateAccount (0.02s) - --- PASS: TestDB_UpdateAccount/fail/already-deactivated (0.02s) +--- PASS: TestDB_UpdateAccount (0.00s) + --- PASS: TestDB_UpdateAccount/fail/db.Get-error (0.00s) + --- PASS: TestDB_UpdateAccount/fail/already-deactivated (0.00s) --- PASS: TestDB_UpdateAccount/fail/db.CmpAndSwap-error (0.00s) --- PASS: TestDB_UpdateAccount/ok (0.00s) - --- PASS: TestDB_UpdateAccount/fail/db.Get-error (0.00s) === RUN TestDB_getDBAuthz === RUN TestDB_getDBAuthz/fail/not-found === RUN TestDB_getDBAuthz/fail/db.Get-error @@ -3510,17 +3551,17 @@ --- PASS: TestDB_getDBAuthz/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBAuthz/ok (0.00s) === RUN TestDB_GetAuthorization -=== RUN TestDB_GetAuthorization/fail/db.Get-error === RUN TestDB_GetAuthorization/fail/forward-acme-error === RUN TestDB_GetAuthorization/fail/db.GetChallenge-error === RUN TestDB_GetAuthorization/fail/db.GetChallenge-not-found === RUN TestDB_GetAuthorization/ok +=== RUN TestDB_GetAuthorization/fail/db.Get-error --- PASS: TestDB_GetAuthorization (0.00s) - --- PASS: TestDB_GetAuthorization/fail/db.Get-error (0.00s) --- PASS: TestDB_GetAuthorization/fail/forward-acme-error (0.00s) --- PASS: TestDB_GetAuthorization/fail/db.GetChallenge-error (0.00s) --- PASS: TestDB_GetAuthorization/fail/db.GetChallenge-not-found (0.00s) --- PASS: TestDB_GetAuthorization/ok (0.00s) + --- PASS: TestDB_GetAuthorization/fail/db.Get-error (0.00s) === RUN TestDB_CreateAuthorization === RUN TestDB_CreateAuthorization/fail/cmpAndSwap-error === RUN TestDB_CreateAuthorization/ok @@ -3528,23 +3569,23 @@ --- PASS: TestDB_CreateAuthorization/fail/cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateAuthorization/ok (0.00s) === RUN TestDB_UpdateAuthorization -=== RUN TestDB_UpdateAuthorization/ok === RUN TestDB_UpdateAuthorization/fail/db.Get-error === RUN TestDB_UpdateAuthorization/fail/db.CmpAndSwap-error ---- PASS: TestDB_UpdateAuthorization (0.03s) - --- PASS: TestDB_UpdateAuthorization/ok (0.00s) - --- PASS: TestDB_UpdateAuthorization/fail/db.Get-error (0.02s) +=== RUN TestDB_UpdateAuthorization/ok +--- PASS: TestDB_UpdateAuthorization (0.00s) + --- PASS: TestDB_UpdateAuthorization/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateAuthorization/fail/db.CmpAndSwap-error (0.00s) + --- PASS: TestDB_UpdateAuthorization/ok (0.00s) === RUN TestDB_GetAuthorizationsByAccountID -=== RUN TestDB_GetAuthorizationsByAccountID/fail/db.List-error === RUN TestDB_GetAuthorizationsByAccountID/fail/unmarshal === RUN TestDB_GetAuthorizationsByAccountID/ok === RUN TestDB_GetAuthorizationsByAccountID/ok/skip-different-account +=== RUN TestDB_GetAuthorizationsByAccountID/fail/db.List-error --- PASS: TestDB_GetAuthorizationsByAccountID (0.00s) - --- PASS: TestDB_GetAuthorizationsByAccountID/fail/db.List-error (0.00s) --- PASS: TestDB_GetAuthorizationsByAccountID/fail/unmarshal (0.00s) --- PASS: TestDB_GetAuthorizationsByAccountID/ok (0.00s) --- PASS: TestDB_GetAuthorizationsByAccountID/ok/skip-different-account (0.00s) + --- PASS: TestDB_GetAuthorizationsByAccountID/fail/db.List-error (0.00s) === RUN TestDB_CreateCertificate === RUN TestDB_CreateCertificate/fail/cmpAndSwap-error === RUN TestDB_CreateCertificate/ok @@ -3552,17 +3593,17 @@ --- PASS: TestDB_CreateCertificate/fail/cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateCertificate/ok (0.00s) === RUN TestDB_GetCertificate +=== RUN TestDB_GetCertificate/ok === RUN TestDB_GetCertificate/fail/not-found === RUN TestDB_GetCertificate/fail/db.Get-error === RUN TestDB_GetCertificate/fail/unmarshal-error === RUN TestDB_GetCertificate/fail/parseBundle-error -=== RUN TestDB_GetCertificate/ok ---- PASS: TestDB_GetCertificate (0.05s) +--- PASS: TestDB_GetCertificate (0.00s) + --- PASS: TestDB_GetCertificate/ok (0.00s) --- PASS: TestDB_GetCertificate/fail/not-found (0.00s) --- PASS: TestDB_GetCertificate/fail/db.Get-error (0.00s) --- PASS: TestDB_GetCertificate/fail/unmarshal-error (0.00s) - --- PASS: TestDB_GetCertificate/fail/parseBundle-error (0.04s) - --- PASS: TestDB_GetCertificate/ok (0.00s) + --- PASS: TestDB_GetCertificate/fail/parseBundle-error (0.00s) === RUN Test_parseBundle === RUN Test_parseBundle/fail/bad-type-error === RUN Test_parseBundle/fail/bad-pem-error @@ -3584,62 +3625,62 @@ --- PASS: TestDB_GetCertificateBySerial/fail/unmarshal-dbSerial (0.00s) --- PASS: TestDB_GetCertificateBySerial/ok (0.00s) === RUN TestDB_getDBExternalAccountKey -=== RUN TestDB_getDBExternalAccountKey/fail/db.Get-error -=== RUN TestDB_getDBExternalAccountKey/fail/unmarshal-error === RUN TestDB_getDBExternalAccountKey/ok === RUN TestDB_getDBExternalAccountKey/fail/not-found +=== RUN TestDB_getDBExternalAccountKey/fail/db.Get-error +=== RUN TestDB_getDBExternalAccountKey/fail/unmarshal-error --- PASS: TestDB_getDBExternalAccountKey (0.00s) - --- PASS: TestDB_getDBExternalAccountKey/fail/db.Get-error (0.00s) - --- PASS: TestDB_getDBExternalAccountKey/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBExternalAccountKey/ok (0.00s) --- PASS: TestDB_getDBExternalAccountKey/fail/not-found (0.00s) + --- PASS: TestDB_getDBExternalAccountKey/fail/db.Get-error (0.00s) + --- PASS: TestDB_getDBExternalAccountKey/fail/unmarshal-error (0.00s) === RUN TestDB_GetExternalAccountKey +=== RUN TestDB_GetExternalAccountKey/fail/non-matching-provisioner === RUN TestDB_GetExternalAccountKey/ok === RUN TestDB_GetExternalAccountKey/fail/db.Get-error -=== RUN TestDB_GetExternalAccountKey/fail/non-matching-provisioner ---- PASS: TestDB_GetExternalAccountKey (0.01s) +--- PASS: TestDB_GetExternalAccountKey (0.00s) + --- PASS: TestDB_GetExternalAccountKey/fail/non-matching-provisioner (0.00s) --- PASS: TestDB_GetExternalAccountKey/ok (0.00s) --- PASS: TestDB_GetExternalAccountKey/fail/db.Get-error (0.00s) - --- PASS: TestDB_GetExternalAccountKey/fail/non-matching-provisioner (0.00s) === RUN TestDB_GetExternalAccountKeyByReference +=== RUN TestDB_GetExternalAccountKeyByReference/ok === RUN TestDB_GetExternalAccountKeyByReference/ok/no-reference === RUN TestDB_GetExternalAccountKeyByReference/fail/reference-not-found === RUN TestDB_GetExternalAccountKeyByReference/fail/reference-load-error === RUN TestDB_GetExternalAccountKeyByReference/fail/reference-unmarshal-error === RUN TestDB_GetExternalAccountKeyByReference/fail/db.GetExternalAccountKey-error -=== RUN TestDB_GetExternalAccountKeyByReference/ok --- PASS: TestDB_GetExternalAccountKeyByReference (0.00s) + --- PASS: TestDB_GetExternalAccountKeyByReference/ok (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/ok/no-reference (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/reference-not-found (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/reference-load-error (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/reference-unmarshal-error (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/db.GetExternalAccountKey-error (0.00s) - --- PASS: TestDB_GetExternalAccountKeyByReference/ok (0.00s) === RUN TestDB_GetExternalAccountKeys -=== RUN TestDB_GetExternalAccountKeys/fail/db.getDBExternalAccountKey === RUN TestDB_GetExternalAccountKeys/ok === RUN TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable === RUN TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable-unmarshal +=== RUN TestDB_GetExternalAccountKeys/fail/db.getDBExternalAccountKey --- PASS: TestDB_GetExternalAccountKeys (0.00s) - --- PASS: TestDB_GetExternalAccountKeys/fail/db.getDBExternalAccountKey (0.00s) --- PASS: TestDB_GetExternalAccountKeys/ok (0.00s) --- PASS: TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable (0.00s) --- PASS: TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable-unmarshal (0.00s) + --- PASS: TestDB_GetExternalAccountKeys/fail/db.getDBExternalAccountKey (0.00s) === RUN TestDB_DeleteExternalAccountKey -=== RUN TestDB_DeleteExternalAccountKey/fail/delete-reference -=== RUN TestDB_DeleteExternalAccountKey/fail/delete-eak === RUN TestDB_DeleteExternalAccountKey/fail/delete-eakID === RUN TestDB_DeleteExternalAccountKey/ok acme_external_account_keyID_provisionerID_index === RUN TestDB_DeleteExternalAccountKey/fail/not-found === RUN TestDB_DeleteExternalAccountKey/fail/non-matching-provisioner +=== RUN TestDB_DeleteExternalAccountKey/fail/delete-reference +=== RUN TestDB_DeleteExternalAccountKey/fail/delete-eak --- PASS: TestDB_DeleteExternalAccountKey (0.00s) - --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-reference (0.00s) - --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-eak (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-eakID (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/ok (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/fail/not-found (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/fail/non-matching-provisioner (0.00s) + --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-reference (0.00s) + --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-eak (0.00s) === RUN TestDB_CreateExternalAccountKey === RUN TestDB_CreateExternalAccountKey/ok === RUN TestDB_CreateExternalAccountKey/fail/externalAccountKeyID-cmpAndSwap-error @@ -3651,45 +3692,45 @@ --- PASS: TestDB_CreateExternalAccountKey/fail/addEAKID-error (0.00s) --- PASS: TestDB_CreateExternalAccountKey/fail/externalAccountKeyReference-cmpAndSwap-error (0.00s) === RUN TestDB_UpdateExternalAccountKey +=== RUN TestDB_UpdateExternalAccountKey/fail/reference-change === RUN TestDB_UpdateExternalAccountKey/ok === RUN TestDB_UpdateExternalAccountKey/fail/db.Get-error === RUN TestDB_UpdateExternalAccountKey/fail/provisioner-mismatch === RUN TestDB_UpdateExternalAccountKey/fail/provisioner-change -=== RUN TestDB_UpdateExternalAccountKey/fail/reference-change ---- PASS: TestDB_UpdateExternalAccountKey (0.02s) +--- PASS: TestDB_UpdateExternalAccountKey (0.00s) + --- PASS: TestDB_UpdateExternalAccountKey/fail/reference-change (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/ok (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/fail/provisioner-mismatch (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/fail/provisioner-change (0.00s) - --- PASS: TestDB_UpdateExternalAccountKey/fail/reference-change (0.00s) === RUN TestDB_addEAKID +=== RUN TestDB_addEAKID/fail/db.Get +=== RUN TestDB_addEAKID/fail/unmarshal +=== RUN TestDB_addEAKID/fail/eakID-already-exists === RUN TestDB_addEAKID/fail/db.save === RUN TestDB_addEAKID/ok/db.Get-not-found === RUN TestDB_addEAKID/ok === RUN TestDB_addEAKID/fail/empty-eakID -=== RUN TestDB_addEAKID/fail/db.Get -=== RUN TestDB_addEAKID/fail/unmarshal -=== RUN TestDB_addEAKID/fail/eakID-already-exists --- PASS: TestDB_addEAKID (0.00s) + --- PASS: TestDB_addEAKID/fail/db.Get (0.00s) + --- PASS: TestDB_addEAKID/fail/unmarshal (0.00s) + --- PASS: TestDB_addEAKID/fail/eakID-already-exists (0.00s) --- PASS: TestDB_addEAKID/fail/db.save (0.00s) --- PASS: TestDB_addEAKID/ok/db.Get-not-found (0.00s) --- PASS: TestDB_addEAKID/ok (0.00s) --- PASS: TestDB_addEAKID/fail/empty-eakID (0.00s) - --- PASS: TestDB_addEAKID/fail/db.Get (0.00s) - --- PASS: TestDB_addEAKID/fail/unmarshal (0.00s) - --- PASS: TestDB_addEAKID/fail/eakID-already-exists (0.00s) === RUN TestDB_deleteEAKID +=== RUN TestDB_deleteEAKID/fail/db.save +=== RUN TestDB_deleteEAKID/ok/db.Get-not-found === RUN TestDB_deleteEAKID/ok === RUN TestDB_deleteEAKID/fail/db.Get === RUN TestDB_deleteEAKID/fail/unmarshal -=== RUN TestDB_deleteEAKID/fail/db.save -=== RUN TestDB_deleteEAKID/ok/db.Get-not-found --- PASS: TestDB_deleteEAKID (0.00s) + --- PASS: TestDB_deleteEAKID/fail/db.save (0.00s) + --- PASS: TestDB_deleteEAKID/ok/db.Get-not-found (0.00s) --- PASS: TestDB_deleteEAKID/ok (0.00s) --- PASS: TestDB_deleteEAKID/fail/db.Get (0.00s) --- PASS: TestDB_deleteEAKID/fail/unmarshal (0.00s) - --- PASS: TestDB_deleteEAKID/fail/db.save (0.00s) - --- PASS: TestDB_deleteEAKID/ok/db.Get-not-found (0.00s) === RUN TestDB_addAndDeleteEAKID === RUN TestDB_addAndDeleteEAKID/ok/multi --- PASS: TestDB_addAndDeleteEAKID (0.00s) @@ -3707,8 +3748,8 @@ === RUN TestDB_CreateNonce === RUN TestDB_CreateNonce/fail/cmpAndSwap-error === RUN TestDB_CreateNonce/ok ---- PASS: TestDB_CreateNonce (0.01s) - --- PASS: TestDB_CreateNonce/fail/cmpAndSwap-error (0.01s) +--- PASS: TestDB_CreateNonce (0.00s) + --- PASS: TestDB_CreateNonce/fail/cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateNonce/ok (0.00s) === RUN TestDB_DeleteNonce === RUN TestDB_DeleteNonce/ok @@ -3719,25 +3760,25 @@ --- PASS: TestDB_DeleteNonce/fail/not-found (0.00s) --- PASS: TestDB_DeleteNonce/fail/db.Update-error (0.00s) === RUN TestNew -=== RUN TestNew/ok === RUN TestNew/fail/db.CreateTable-error +=== RUN TestNew/ok --- PASS: TestNew (0.00s) - --- PASS: TestNew/ok (0.00s) --- PASS: TestNew/fail/db.CreateTable-error (0.00s) + --- PASS: TestNew/ok (0.00s) === RUN TestDB_save -=== RUN TestDB_save/fail/error-marshaling-new -=== RUN TestDB_save/fail/error-marshaling-old === RUN TestDB_save/fail/db.CmpAndSwap-error === RUN TestDB_save/fail/db.CmpAndSwap-false-marshaling-old === RUN TestDB_save/ok === RUN TestDB_save/ok/nils +=== RUN TestDB_save/fail/error-marshaling-new +=== RUN TestDB_save/fail/error-marshaling-old --- PASS: TestDB_save (0.00s) - --- PASS: TestDB_save/fail/error-marshaling-new (0.00s) - --- PASS: TestDB_save/fail/error-marshaling-old (0.00s) --- PASS: TestDB_save/fail/db.CmpAndSwap-error (0.00s) --- PASS: TestDB_save/fail/db.CmpAndSwap-false-marshaling-old (0.00s) --- PASS: TestDB_save/ok (0.00s) --- PASS: TestDB_save/ok/nils (0.00s) + --- PASS: TestDB_save/fail/error-marshaling-new (0.00s) + --- PASS: TestDB_save/fail/error-marshaling-old (0.00s) === RUN TestDB_getDBOrder === RUN TestDB_getDBOrder/fail/not-found === RUN TestDB_getDBOrder/fail/db.Get-error @@ -3757,43 +3798,43 @@ --- PASS: TestDB_GetOrder/fail/forward-acme-error (0.00s) --- PASS: TestDB_GetOrder/ok (0.00s) === RUN TestDB_UpdateOrder -=== RUN TestDB_UpdateOrder/fail/save-error === RUN TestDB_UpdateOrder/ok === RUN TestDB_UpdateOrder/fail/db.Get-error +=== RUN TestDB_UpdateOrder/fail/save-error --- PASS: TestDB_UpdateOrder (0.00s) - --- PASS: TestDB_UpdateOrder/fail/save-error (0.00s) --- PASS: TestDB_UpdateOrder/ok (0.00s) --- PASS: TestDB_UpdateOrder/fail/db.Get-error (0.00s) + --- PASS: TestDB_UpdateOrder/fail/save-error (0.00s) === RUN TestDB_CreateOrder +=== RUN TestDB_CreateOrder/fail/order-save-error === RUN TestDB_CreateOrder/fail/orderIDsByOrderUpdate-error === RUN TestDB_CreateOrder/ok -=== RUN TestDB_CreateOrder/fail/order-save-error ---- PASS: TestDB_CreateOrder (0.02s) +--- PASS: TestDB_CreateOrder (0.00s) + --- PASS: TestDB_CreateOrder/fail/order-save-error (0.00s) --- PASS: TestDB_CreateOrder/fail/orderIDsByOrderUpdate-error (0.00s) --- PASS: TestDB_CreateOrder/ok (0.00s) - --- PASS: TestDB_CreateOrder/fail/order-save-error (0.02s) === RUN TestDB_updateAddOrderIDs -=== RUN TestDB_updateAddOrderIDs/fail/db.Get-order-error === RUN TestDB_updateAddOrderIDs/fail/db.save-order-error -=== RUN TestDB_updateAddOrderIDs/ok/no-old -=== RUN TestDB_updateAddOrderIDs/ok/old-and-new-2 +=== RUN TestDB_updateAddOrderIDs/ok/all-old-not-pending +=== RUN TestDB_updateAddOrderIDs/ok/old-and-new === RUN TestDB_updateAddOrderIDs/fail/db.Get-error === RUN TestDB_updateAddOrderIDs/fail/unmarshal-error -=== RUN TestDB_updateAddOrderIDs/ok/old-and-new +=== RUN TestDB_updateAddOrderIDs/fail/db.Get-order-error === RUN TestDB_updateAddOrderIDs/fail/update-order-status-error -=== RUN TestDB_updateAddOrderIDs/ok/all-old-not-pending ---- PASS: TestDB_updateAddOrderIDs (0.01s) - --- PASS: TestDB_updateAddOrderIDs/fail/db.Get-order-error (0.00s) +=== RUN TestDB_updateAddOrderIDs/ok/no-old +=== RUN TestDB_updateAddOrderIDs/ok/old-and-new-2 +--- PASS: TestDB_updateAddOrderIDs (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/db.save-order-error (0.00s) - --- PASS: TestDB_updateAddOrderIDs/ok/no-old (0.00s) - --- PASS: TestDB_updateAddOrderIDs/ok/old-and-new-2 (0.01s) + --- PASS: TestDB_updateAddOrderIDs/ok/all-old-not-pending (0.00s) + --- PASS: TestDB_updateAddOrderIDs/ok/old-and-new (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/db.Get-error (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/unmarshal-error (0.00s) - --- PASS: TestDB_updateAddOrderIDs/ok/old-and-new (0.00s) + --- PASS: TestDB_updateAddOrderIDs/fail/db.Get-order-error (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/update-order-status-error (0.00s) - --- PASS: TestDB_updateAddOrderIDs/ok/all-old-not-pending (0.00s) + --- PASS: TestDB_updateAddOrderIDs/ok/no-old (0.00s) + --- PASS: TestDB_updateAddOrderIDs/ok/old-and-new-2 (0.00s) PASS -ok github.com/smallstep/certificates/acme/db/nosql 0.305s +ok github.com/smallstep/certificates/acme/db/nosql 0.069s === RUN TestNewCertificate --- PASS: TestNewCertificate (0.00s) === RUN TestCertificate_MarshalJSON @@ -3819,7 +3860,7 @@ === RUN TestCertificate_UnmarshalJSON/json_null === RUN TestCertificate_UnmarshalJSON/valid_root === RUN TestCertificate_UnmarshalJSON/valid_cert ---- PASS: TestCertificate_UnmarshalJSON (0.00s) +--- PASS: TestCertificate_UnmarshalJSON (0.01s) --- PASS: TestCertificate_UnmarshalJSON/no_data (0.00s) --- PASS: TestCertificate_UnmarshalJSON/incomplete_string_1 (0.00s) --- PASS: TestCertificate_UnmarshalJSON/incomplete_string_2 (0.00s) @@ -3854,7 +3895,7 @@ === RUN TestCertificateRequest_MarshalJSON/nil === RUN TestCertificateRequest_MarshalJSON/empty === RUN TestCertificateRequest_MarshalJSON/csr ---- PASS: TestCertificateRequest_MarshalJSON (0.00s) +--- PASS: TestCertificateRequest_MarshalJSON (0.01s) --- PASS: TestCertificateRequest_MarshalJSON/nil (0.00s) --- PASS: TestCertificateRequest_MarshalJSON/empty (0.00s) --- PASS: TestCertificateRequest_MarshalJSON/csr (0.00s) @@ -3915,7 +3956,7 @@ === RUN Test_caHandler_Root === RUN Test_caHandler_Root/ok === RUN Test_caHandler_Root/fail -2024/05/23 12:06:38 http://example.com/root/efc7d6b475a56fe587650bcdb999a4a308f815ba44db4bf0371ea68a786ccd36 was not found: not found +2023/04/22 07:50:30 http://example.com/root/efc7d6b475a56fe587650bcdb999a4a308f815ba44db4bf0371ea68a786ccd36 was not found: not found --- PASS: Test_caHandler_Root (0.00s) --- PASS: Test_caHandler_Root/ok (0.00s) --- PASS: Test_caHandler_Root/fail (0.00s) @@ -3931,7 +3972,7 @@ --- PASS: Test_caHandler_Sign/ok_with_Provisioner (0.00s) --- PASS: Test_caHandler_Sign/json_read_error (0.00s) --- PASS: Test_caHandler_Sign/validate_error (0.00s) - --- PASS: Test_caHandler_Sign/authorize_error (0.02s) + --- PASS: Test_caHandler_Sign/authorize_error (0.00s) --- PASS: Test_caHandler_Sign/sign_error (0.00s) === RUN Test_caHandler_Renew === RUN Test_caHandler_Renew/ok @@ -3941,9 +3982,9 @@ === RUN Test_caHandler_Renew/renew_error === RUN Test_caHandler_Renew/fail_expired_token === RUN Test_caHandler_Renew/fail_invalid_root ---- PASS: Test_caHandler_Renew (0.09s) - --- PASS: Test_caHandler_Renew/ok (0.00s) - --- PASS: Test_caHandler_Renew/ok_renew_after_expiry (0.00s) +--- PASS: Test_caHandler_Renew (0.06s) + --- PASS: Test_caHandler_Renew/ok (0.01s) + --- PASS: Test_caHandler_Renew/ok_renew_after_expiry (0.01s) --- PASS: Test_caHandler_Renew/no_tls (0.00s) --- PASS: Test_caHandler_Renew/no_peer_certificates (0.00s) --- PASS: Test_caHandler_Renew/renew_error (0.00s) @@ -3955,18 +3996,18 @@ === RUN Test_caHandler_Rekey/no_peer_certificates === RUN Test_caHandler_Rekey/rekey_error === RUN Test_caHandler_Rekey/json_read_error ---- PASS: Test_caHandler_Rekey (0.02s) +--- PASS: Test_caHandler_Rekey (0.01s) --- PASS: Test_caHandler_Rekey/ok (0.00s) --- PASS: Test_caHandler_Rekey/no_tls (0.00s) --- PASS: Test_caHandler_Rekey/no_peer_certificates (0.00s) - --- PASS: Test_caHandler_Rekey/rekey_error (0.02s) + --- PASS: Test_caHandler_Rekey/rekey_error (0.00s) --- PASS: Test_caHandler_Rekey/json_read_error (0.00s) === RUN Test_caHandler_Provisioners === RUN Test_caHandler_Provisioners/ok === RUN Test_caHandler_Provisioners/fail -2024/05/23 12:06:38 the error +2023/04/22 07:50:31 the error === RUN Test_caHandler_Provisioners/limit_fail -2024/05/23 12:06:38 limit 'abc' is not an integer: strconv.Atoi: parsing "abc": invalid syntax +2023/04/22 07:50:31 limit 'abc' is not an integer: strconv.Atoi: parsing "abc": invalid syntax --- PASS: Test_caHandler_Provisioners (0.00s) --- PASS: Test_caHandler_Provisioners/ok (0.00s) --- PASS: Test_caHandler_Provisioners/fail (0.00s) @@ -3974,15 +4015,15 @@ === RUN Test_caHandler_ProvisionerKey === RUN Test_caHandler_ProvisionerKey/ok === RUN Test_caHandler_ProvisionerKey/fail -2024/05/23 12:06:38 not found ---- PASS: Test_caHandler_ProvisionerKey (0.00s) - --- PASS: Test_caHandler_ProvisionerKey/ok (0.00s) +2023/04/22 07:50:31 not found +--- PASS: Test_caHandler_ProvisionerKey (0.03s) + --- PASS: Test_caHandler_ProvisionerKey/ok (0.03s) --- PASS: Test_caHandler_ProvisionerKey/fail (0.00s) === RUN Test_caHandler_Roots === RUN Test_caHandler_Roots/ok === RUN Test_caHandler_Roots/no_peer_certificates === RUN Test_caHandler_Roots/fail -2024/05/23 12:06:38 error getting roots: an error +2023/04/22 07:50:31 error getting roots: an error --- PASS: Test_caHandler_Roots (0.00s) --- PASS: Test_caHandler_Roots/ok (0.00s) --- PASS: Test_caHandler_Roots/no_peer_certificates (0.00s) @@ -3991,7 +4032,7 @@ === RUN Test_caHandler_RootsPEM/one_root === RUN Test_caHandler_RootsPEM/two_roots === RUN Test_caHandler_RootsPEM/fail -2024/05/23 12:06:38 an error +2023/04/22 07:50:31 an error --- PASS: Test_caHandler_RootsPEM (0.00s) --- PASS: Test_caHandler_RootsPEM/one_root (0.00s) --- PASS: Test_caHandler_RootsPEM/two_roots (0.00s) @@ -4000,7 +4041,7 @@ === RUN Test_caHandler_Federation/ok === RUN Test_caHandler_Federation/no_peer_certificates === RUN Test_caHandler_Federation/fail -2024/05/23 12:06:38 error getting federated roots: an error +2023/04/22 07:50:31 error getting federated roots: an error --- PASS: Test_caHandler_Federation (0.00s) --- PASS: Test_caHandler_Federation/ok (0.00s) --- PASS: Test_caHandler_Federation/no_peer_certificates (0.00s) @@ -4011,38 +4052,38 @@ === RUN Test_fmtPublicKey/ed25519 === RUN Test_fmtPublicKey/dsa2048 === RUN Test_fmtPublicKey/unknown ---- PASS: Test_fmtPublicKey (20.03s) +--- PASS: Test_fmtPublicKey (14.17s) --- PASS: Test_fmtPublicKey/p256 (0.00s) - --- PASS: Test_fmtPublicKey/rsa1024 (0.00s) + --- PASS: Test_fmtPublicKey/rsa1024 (0.02s) --- PASS: Test_fmtPublicKey/ed25519 (0.00s) --- PASS: Test_fmtPublicKey/dsa2048 (0.00s) --- PASS: Test_fmtPublicKey/unknown (0.00s) === RUN TestRevokeRequestValidate -=== RUN TestRevokeRequestValidate/error/missing_serial -=== RUN TestRevokeRequestValidate/error/bad_reasonCode === RUN TestRevokeRequestValidate/error/non-passive_not_implemented === RUN TestRevokeRequestValidate/ok +=== RUN TestRevokeRequestValidate/error/missing_serial +=== RUN TestRevokeRequestValidate/error/bad_reasonCode --- PASS: TestRevokeRequestValidate (0.00s) - --- PASS: TestRevokeRequestValidate/error/missing_serial (0.00s) - --- PASS: TestRevokeRequestValidate/error/bad_reasonCode (0.00s) --- PASS: TestRevokeRequestValidate/error/non-passive_not_implemented (0.00s) --- PASS: TestRevokeRequestValidate/ok (0.00s) + --- PASS: TestRevokeRequestValidate/error/missing_serial (0.00s) + --- PASS: TestRevokeRequestValidate/error/bad_reasonCode (0.00s) === RUN Test_caHandler_Revoke -=== RUN Test_caHandler_Revoke/400/json_read_error -=== RUN Test_caHandler_Revoke/400/invalid_request_body === RUN Test_caHandler_Revoke/200/ott === RUN Test_caHandler_Revoke/400/no_OTT_and_no_peer_certificate === RUN Test_caHandler_Revoke/200/no_ott === RUN Test_caHandler_Revoke/500/ott_authority.Revoke === RUN Test_caHandler_Revoke/403/ott_authority.Revoke ---- PASS: Test_caHandler_Revoke (0.00s) - --- PASS: Test_caHandler_Revoke/400/json_read_error (0.00s) - --- PASS: Test_caHandler_Revoke/400/invalid_request_body (0.00s) +=== RUN Test_caHandler_Revoke/400/json_read_error +=== RUN Test_caHandler_Revoke/400/invalid_request_body +--- PASS: Test_caHandler_Revoke (0.01s) --- PASS: Test_caHandler_Revoke/200/ott (0.00s) --- PASS: Test_caHandler_Revoke/400/no_OTT_and_no_peer_certificate (0.00s) --- PASS: Test_caHandler_Revoke/200/no_ott (0.00s) --- PASS: Test_caHandler_Revoke/500/ott_authority.Revoke (0.00s) --- PASS: Test_caHandler_Revoke/403/ott_authority.Revoke (0.00s) + --- PASS: Test_caHandler_Revoke/400/json_read_error (0.00s) + --- PASS: Test_caHandler_Revoke/400/invalid_request_body (0.00s) === RUN TestSSHCertificate_MarshalJSON === RUN TestSSHCertificate_MarshalJSON/nil === RUN TestSSHCertificate_MarshalJSON/user @@ -4080,7 +4121,7 @@ === RUN TestSignSSHRequest_Validate/type === RUN TestSignSSHRequest_Validate/ott === RUN TestSignSSHRequest_Validate/identityCSR ---- PASS: TestSignSSHRequest_Validate (0.00s) +--- PASS: TestSignSSHRequest_Validate (0.01s) --- PASS: TestSignSSHRequest_Validate/ok-empty (0.00s) --- PASS: TestSignSSHRequest_Validate/ok-user (0.00s) --- PASS: TestSignSSHRequest_Validate/ok-host (0.00s) @@ -4104,11 +4145,11 @@ === RUN Test_caHandler_SSHSign/fail-signSSH === RUN Test_caHandler_SSHSign/fail-SignSSHAddUser === RUN Test_caHandler_SSHSign/fail-user-identity ---- PASS: Test_caHandler_SSHSign (0.01s) +--- PASS: Test_caHandler_SSHSign (0.02s) --- PASS: Test_caHandler_SSHSign/ok-user (0.00s) --- PASS: Test_caHandler_SSHSign/ok-host (0.00s) --- PASS: Test_caHandler_SSHSign/ok-user-add (0.00s) - --- PASS: Test_caHandler_SSHSign/ok-user-identity (0.00s) + --- PASS: Test_caHandler_SSHSign/ok-user-identity (0.01s) --- PASS: Test_caHandler_SSHSign/fail-body (0.00s) --- PASS: Test_caHandler_SSHSign/fail-validate (0.00s) --- PASS: Test_caHandler_SSHSign/fail-publicKey (0.00s) @@ -4124,8 +4165,8 @@ === RUN Test_caHandler_SSHRoots/host === RUN Test_caHandler_SSHRoots/empty === RUN Test_caHandler_SSHRoots/error ---- PASS: Test_caHandler_SSHRoots (0.00s) - --- PASS: Test_caHandler_SSHRoots/ok (0.00s) +--- PASS: Test_caHandler_SSHRoots (0.01s) + --- PASS: Test_caHandler_SSHRoots/ok (0.01s) --- PASS: Test_caHandler_SSHRoots/many (0.00s) --- PASS: Test_caHandler_SSHRoots/user (0.00s) --- PASS: Test_caHandler_SSHRoots/host (0.00s) @@ -4166,13 +4207,13 @@ === RUN Test_caHandler_SSHCheckHost/badPrincipal === RUN Test_caHandler_SSHCheckHost/badRequest === RUN Test_caHandler_SSHCheckHost/error ---- PASS: Test_caHandler_SSHCheckHost (0.00s) +--- PASS: Test_caHandler_SSHCheckHost (0.01s) --- PASS: Test_caHandler_SSHCheckHost/true (0.00s) --- PASS: Test_caHandler_SSHCheckHost/false (0.00s) --- PASS: Test_caHandler_SSHCheckHost/badType (0.00s) --- PASS: Test_caHandler_SSHCheckHost/badPrincipal (0.00s) --- PASS: Test_caHandler_SSHCheckHost/badRequest (0.00s) - --- PASS: Test_caHandler_SSHCheckHost/error (0.00s) + --- PASS: Test_caHandler_SSHCheckHost/error (0.01s) === RUN Test_caHandler_SSHGetHosts === RUN Test_caHandler_SSHGetHosts/ok === RUN Test_caHandler_SSHGetHosts/empty_(array) @@ -4220,16 +4261,16 @@ --- PASS: TestSSHPublicKey_UnmarshalJSON/badB64 (0.00s) --- PASS: TestSSHPublicKey_UnmarshalJSON/badKey (0.00s) PASS -ok github.com/smallstep/certificates/api 20.258s +ok github.com/smallstep/certificates/api 14.438s === RUN TestError === RUN TestError/normalLogger -2024/05/23 12:05:01 the error +2023/04/22 07:49:28 the error === RUN TestError/responseLogger --- PASS: TestError (0.00s) --- PASS: TestError/normalLogger (0.00s) --- PASS: TestError/responseLogger (0.00s) PASS -ok github.com/smallstep/certificates/api/log 0.076s +ok github.com/smallstep/certificates/api/log 0.035s === RUN TestJSON === RUN TestJSON/ok === RUN TestJSON/fail @@ -4237,33 +4278,33 @@ --- PASS: TestJSON/ok (0.00s) --- PASS: TestJSON/fail (0.00s) PASS -ok github.com/smallstep/certificates/api/read 0.181s +ok github.com/smallstep/certificates/api/read 0.039s === RUN TestJSON --- PASS: TestJSON (0.00s) === RUN TestJSONPanics --- PASS: TestJSONPanics (0.00s) === RUN TestError === RUN TestError/0 -2024/05/23 12:05:17 some string +2023/04/22 07:49:35 some string === RUN TestError/1 -2024/05/23 12:05:17 123 +2023/04/22 07:49:35 123 --- PASS: TestError (0.00s) --- PASS: TestError/0 (0.00s) --- PASS: TestError/1 (0.00s) === RUN TestStatusCodeFromError --- PASS: TestStatusCodeFromError (0.00s) PASS -ok github.com/smallstep/certificates/api/render 0.109s +ok github.com/smallstep/certificates/api/render 0.070s === RUN TestAuthorityNew -=== RUN TestAuthorityNew/ok === RUN TestAuthorityNew/fail_bad_root === RUN TestAuthorityNew/fail_bad_password === RUN TestAuthorityNew/fail_loading_CA_cert ---- PASS: TestAuthorityNew (0.05s) - --- PASS: TestAuthorityNew/ok (0.01s) +=== RUN TestAuthorityNew/ok +--- PASS: TestAuthorityNew (0.02s) --- PASS: TestAuthorityNew/fail_bad_root (0.00s) - --- PASS: TestAuthorityNew/fail_bad_password (0.03s) + --- PASS: TestAuthorityNew/fail_bad_password (0.00s) --- PASS: TestAuthorityNew/fail_loading_CA_cert (0.00s) + --- PASS: TestAuthorityNew/ok (0.02s) === RUN TestAuthority_GetDatabase === RUN TestAuthority_GetDatabase/ok === RUN TestAuthority_GetDatabase/ok_WithDatabase @@ -4283,7 +4324,7 @@ === RUN TestNewEmbedded/fail_missing_issuer === RUN TestNewEmbedded/fail_missing_signer#01 === RUN TestNewEmbedded/fail_bad_password ---- PASS: TestNewEmbedded (0.02s) +--- PASS: TestNewEmbedded (0.01s) --- PASS: TestNewEmbedded/ok (0.00s) --- PASS: TestNewEmbedded/ok_empty_config (0.00s) --- PASS: TestNewEmbedded/ok_config_file (0.00s) @@ -4295,145 +4336,145 @@ --- PASS: TestNewEmbedded/fail_missing_root_file (0.00s) --- PASS: TestNewEmbedded/fail_missing_issuer (0.00s) --- PASS: TestNewEmbedded/fail_missing_signer#01 (0.00s) - --- PASS: TestNewEmbedded/fail_bad_password (0.02s) + --- PASS: TestNewEmbedded/fail_bad_password (0.00s) === RUN TestNewEmbedded_Sign ---- PASS: TestNewEmbedded_Sign (0.00s) +--- PASS: TestNewEmbedded_Sign (0.01s) === RUN TestNewEmbedded_GetTLSCertificate ---- PASS: TestNewEmbedded_GetTLSCertificate (0.02s) +--- PASS: TestNewEmbedded_GetTLSCertificate (0.00s) === RUN TestAuthority_CloseForReload === RUN TestAuthority_CloseForReload/ok ---- PASS: TestAuthority_CloseForReload (0.02s) +--- PASS: TestAuthority_CloseForReload (0.00s) --- PASS: TestAuthority_CloseForReload/ok (0.00s) === RUN TestAuthority_GetSCEPService === RUN TestAuthority_GetSCEPService/ok === RUN TestAuthority_GetSCEPService/wrong_password ---- PASS: TestAuthority_GetSCEPService (0.00s) +--- PASS: TestAuthority_GetSCEPService (0.01s) --- PASS: TestAuthority_GetSCEPService/ok (0.00s) --- PASS: TestAuthority_GetSCEPService/wrong_password (0.00s) === RUN TestAuthority_authorizeToken -=== RUN TestAuthority_authorizeToken/fail/provisioner-not-found -=== RUN TestAuthority_authorizeToken/fail/simpledb/token-already-used === RUN TestAuthority_authorizeToken/fail/invalid-token -=== RUN TestAuthority_authorizeToken/fail/prehistoric-token +=== RUN TestAuthority_authorizeToken/fail/provisioner-not-found === RUN TestAuthority_authorizeToken/ok/simpledb === RUN TestAuthority_authorizeToken/ok/sha256 === RUN TestAuthority_authorizeToken/fail/sha256/token-already-used +=== RUN TestAuthority_authorizeToken/fail/mockNoSQLDB/token-already-used +=== RUN TestAuthority_authorizeToken/fail/prehistoric-token +=== RUN TestAuthority_authorizeToken/fail/simpledb/token-already-used === RUN TestAuthority_authorizeToken/ok/mockNoSQLDB === RUN TestAuthority_authorizeToken/fail/mockNoSQLDB/error -=== RUN TestAuthority_authorizeToken/fail/mockNoSQLDB/token-already-used ---- PASS: TestAuthority_authorizeToken (1.66s) - --- PASS: TestAuthority_authorizeToken/fail/provisioner-not-found (0.00s) - --- PASS: TestAuthority_authorizeToken/fail/simpledb/token-already-used (0.00s) +--- PASS: TestAuthority_authorizeToken (0.50s) --- PASS: TestAuthority_authorizeToken/fail/invalid-token (0.00s) - --- PASS: TestAuthority_authorizeToken/fail/prehistoric-token (0.01s) - --- PASS: TestAuthority_authorizeToken/ok/simpledb (0.01s) + --- PASS: TestAuthority_authorizeToken/fail/provisioner-not-found (0.00s) + --- PASS: TestAuthority_authorizeToken/ok/simpledb (0.00s) --- PASS: TestAuthority_authorizeToken/ok/sha256 (0.00s) --- PASS: TestAuthority_authorizeToken/fail/sha256/token-already-used (0.01s) - --- PASS: TestAuthority_authorizeToken/ok/mockNoSQLDB (0.01s) - --- PASS: TestAuthority_authorizeToken/fail/mockNoSQLDB/error (0.02s) - --- PASS: TestAuthority_authorizeToken/fail/mockNoSQLDB/token-already-used (0.02s) + --- PASS: TestAuthority_authorizeToken/fail/mockNoSQLDB/token-already-used (0.00s) + --- PASS: TestAuthority_authorizeToken/fail/prehistoric-token (0.00s) + --- PASS: TestAuthority_authorizeToken/fail/simpledb/token-already-used (0.00s) + --- PASS: TestAuthority_authorizeToken/ok/mockNoSQLDB (0.00s) + --- PASS: TestAuthority_authorizeToken/fail/mockNoSQLDB/error (0.00s) === RUN TestAuthority_authorizeRevoke +=== RUN TestAuthority_authorizeRevoke/ok/token === RUN TestAuthority_authorizeRevoke/fail/token/invalid-token === RUN TestAuthority_authorizeRevoke/fail/token/invalid-subject -=== RUN TestAuthority_authorizeRevoke/ok/token ---- PASS: TestAuthority_authorizeRevoke (1.05s) +--- PASS: TestAuthority_authorizeRevoke (0.45s) + --- PASS: TestAuthority_authorizeRevoke/ok/token (0.00s) --- PASS: TestAuthority_authorizeRevoke/fail/token/invalid-token (0.00s) --- PASS: TestAuthority_authorizeRevoke/fail/token/invalid-subject (0.00s) - --- PASS: TestAuthority_authorizeRevoke/ok/token (0.00s) === RUN TestAuthority_authorizeSign === RUN TestAuthority_authorizeSign/fail/invalid-token === RUN TestAuthority_authorizeSign/fail/invalid-subject === RUN TestAuthority_authorizeSign/ok ---- PASS: TestAuthority_authorizeSign (1.12s) +--- PASS: TestAuthority_authorizeSign (0.63s) --- PASS: TestAuthority_authorizeSign/fail/invalid-token (0.00s) --- PASS: TestAuthority_authorizeSign/fail/invalid-subject (0.00s) --- PASS: TestAuthority_authorizeSign/ok (0.00s) === RUN TestAuthority_Authorize -=== RUN TestAuthority_Authorize/default-to-signMethod +=== RUN TestAuthority_Authorize/ok/revoke === RUN TestAuthority_Authorize/fail/sshSign/disabled -=== RUN TestAuthority_Authorize/ok/sshSign === RUN TestAuthority_Authorize/fail/sshRevoke/invalid-token -=== RUN TestAuthority_Authorize/fail/unexpected-method -=== RUN TestAuthority_Authorize/fail/sign/invalid-token -=== RUN TestAuthority_Authorize/ok/sign -=== RUN TestAuthority_Authorize/fail/revoke/invalid-token -=== RUN TestAuthority_Authorize/ok/revoke -=== RUN TestAuthority_Authorize/fail/sshRenew/invalid-token -=== RUN TestAuthority_Authorize/ok/sshRenew +=== RUN TestAuthority_Authorize/ok/sshRevoke === RUN TestAuthority_Authorize/fail/sshRekey/disabled +=== RUN TestAuthority_Authorize/ok/sshRekey +=== RUN TestAuthority_Authorize/fail/revoke/invalid-token +=== RUN TestAuthority_Authorize/fail/sign/invalid-token === RUN TestAuthority_Authorize/fail/sshSign/invalid-token +=== RUN TestAuthority_Authorize/ok/sshSign === RUN TestAuthority_Authorize/fail/sshRenew/disabled -=== RUN TestAuthority_Authorize/ok/sshRevoke +=== RUN TestAuthority_Authorize/default-to-signMethod +=== RUN TestAuthority_Authorize/ok/sshRenew === RUN TestAuthority_Authorize/fail/sshRekey/invalid-token -=== RUN TestAuthority_Authorize/ok/sshRekey ---- PASS: TestAuthority_Authorize (1.49s) - --- PASS: TestAuthority_Authorize/default-to-signMethod (0.00s) - --- PASS: TestAuthority_Authorize/fail/sshSign/disabled (0.03s) - --- PASS: TestAuthority_Authorize/ok/sshSign (0.00s) +=== RUN TestAuthority_Authorize/fail/unexpected-method +=== RUN TestAuthority_Authorize/fail/sshRenew/invalid-token +=== RUN TestAuthority_Authorize/ok/sign +--- PASS: TestAuthority_Authorize (1.38s) + --- PASS: TestAuthority_Authorize/ok/revoke (0.00s) + --- PASS: TestAuthority_Authorize/fail/sshSign/disabled (0.01s) --- PASS: TestAuthority_Authorize/fail/sshRevoke/invalid-token (0.00s) - --- PASS: TestAuthority_Authorize/fail/unexpected-method (0.00s) - --- PASS: TestAuthority_Authorize/fail/sign/invalid-token (0.00s) - --- PASS: TestAuthority_Authorize/ok/sign (0.00s) + --- PASS: TestAuthority_Authorize/ok/sshRevoke (0.00s) + --- PASS: TestAuthority_Authorize/fail/sshRekey/disabled (0.00s) + --- PASS: TestAuthority_Authorize/ok/sshRekey (0.02s) --- PASS: TestAuthority_Authorize/fail/revoke/invalid-token (0.00s) - --- PASS: TestAuthority_Authorize/ok/revoke (0.05s) - --- PASS: TestAuthority_Authorize/fail/sshRenew/invalid-token (0.00s) - --- PASS: TestAuthority_Authorize/ok/sshRenew (0.00s) - --- PASS: TestAuthority_Authorize/fail/sshRekey/disabled (0.04s) + --- PASS: TestAuthority_Authorize/fail/sign/invalid-token (0.00s) --- PASS: TestAuthority_Authorize/fail/sshSign/invalid-token (0.00s) + --- PASS: TestAuthority_Authorize/ok/sshSign (0.02s) --- PASS: TestAuthority_Authorize/fail/sshRenew/disabled (0.00s) - --- PASS: TestAuthority_Authorize/ok/sshRevoke (0.00s) + --- PASS: TestAuthority_Authorize/default-to-signMethod (0.00s) + --- PASS: TestAuthority_Authorize/ok/sshRenew (0.02s) --- PASS: TestAuthority_Authorize/fail/sshRekey/invalid-token (0.00s) - --- PASS: TestAuthority_Authorize/ok/sshRekey (0.01s) + --- PASS: TestAuthority_Authorize/fail/unexpected-method (0.00s) + --- PASS: TestAuthority_Authorize/fail/sshRenew/invalid-token (0.00s) + --- PASS: TestAuthority_Authorize/ok/sign (0.01s) === RUN TestAuthority_authorizeRenew +=== RUN TestAuthority_authorizeRenew/ok/from_db === RUN TestAuthority_authorizeRenew/fail/db.IsRevoked-error === RUN TestAuthority_authorizeRenew/fail/revoked === RUN TestAuthority_authorizeRenew/fail/load-provisioner === RUN TestAuthority_authorizeRenew/fail/provisioner-authorize-renewal-fail === RUN TestAuthority_authorizeRenew/ok -=== RUN TestAuthority_authorizeRenew/ok/from_db --- PASS: TestAuthority_authorizeRenew (0.04s) - --- PASS: TestAuthority_authorizeRenew/fail/db.IsRevoked-error (0.02s) - --- PASS: TestAuthority_authorizeRenew/fail/revoked (0.00s) - --- PASS: TestAuthority_authorizeRenew/fail/load-provisioner (0.00s) - --- PASS: TestAuthority_authorizeRenew/fail/provisioner-authorize-renewal-fail (0.01s) - --- PASS: TestAuthority_authorizeRenew/ok (0.00s) --- PASS: TestAuthority_authorizeRenew/ok/from_db (0.00s) + --- PASS: TestAuthority_authorizeRenew/fail/db.IsRevoked-error (0.01s) + --- PASS: TestAuthority_authorizeRenew/fail/revoked (0.00s) + --- PASS: TestAuthority_authorizeRenew/fail/load-provisioner (0.01s) + --- PASS: TestAuthority_authorizeRenew/fail/provisioner-authorize-renewal-fail (0.00s) + --- PASS: TestAuthority_authorizeRenew/ok (0.01s) === RUN TestAuthority_authorizeSSHSign === RUN TestAuthority_authorizeSSHSign/fail/invalid-token === RUN TestAuthority_authorizeSSHSign/fail/invalid-subject === RUN TestAuthority_authorizeSSHSign/ok ---- PASS: TestAuthority_authorizeSSHSign (1.26s) +--- PASS: TestAuthority_authorizeSSHSign (1.51s) --- PASS: TestAuthority_authorizeSSHSign/fail/invalid-token (0.00s) --- PASS: TestAuthority_authorizeSSHSign/fail/invalid-subject (0.00s) - --- PASS: TestAuthority_authorizeSSHSign/ok (0.00s) + --- PASS: TestAuthority_authorizeSSHSign/ok (0.01s) === RUN TestAuthority_authorizeSSHRenew +=== RUN TestAuthority_authorizeSSHRenew/fail/invalid-token === RUN TestAuthority_authorizeSSHRenew/fail/sshRenew-unimplemented-jwk-provisioner === RUN TestAuthority_authorizeSSHRenew/fail/WithAuthorizeSSHRenewFunc === RUN TestAuthority_authorizeSSHRenew/ok === RUN TestAuthority_authorizeSSHRenew/ok/WithAuthorizeSSHRenewFunc -=== RUN TestAuthority_authorizeSSHRenew/fail/invalid-token ---- PASS: TestAuthority_authorizeSSHRenew (1.03s) - --- PASS: TestAuthority_authorizeSSHRenew/fail/sshRenew-unimplemented-jwk-provisioner (0.00s) - --- PASS: TestAuthority_authorizeSSHRenew/fail/WithAuthorizeSSHRenewFunc (0.00s) - --- PASS: TestAuthority_authorizeSSHRenew/ok (0.01s) - --- PASS: TestAuthority_authorizeSSHRenew/ok/WithAuthorizeSSHRenewFunc (0.00s) +--- PASS: TestAuthority_authorizeSSHRenew (1.33s) --- PASS: TestAuthority_authorizeSSHRenew/fail/invalid-token (0.00s) + --- PASS: TestAuthority_authorizeSSHRenew/fail/sshRenew-unimplemented-jwk-provisioner (0.00s) + --- PASS: TestAuthority_authorizeSSHRenew/fail/WithAuthorizeSSHRenewFunc (0.02s) + --- PASS: TestAuthority_authorizeSSHRenew/ok (0.02s) + --- PASS: TestAuthority_authorizeSSHRenew/ok/WithAuthorizeSSHRenewFunc (0.02s) === RUN TestAuthority_authorizeSSHRevoke +=== RUN TestAuthority_authorizeSSHRevoke/fail/invalid-token === RUN TestAuthority_authorizeSSHRevoke/fail/invalid-subject === RUN TestAuthority_authorizeSSHRevoke/ok -=== RUN TestAuthority_authorizeSSHRevoke/fail/invalid-token ---- PASS: TestAuthority_authorizeSSHRevoke (0.76s) - --- PASS: TestAuthority_authorizeSSHRevoke/fail/invalid-subject (0.00s) - --- PASS: TestAuthority_authorizeSSHRevoke/ok (0.03s) +--- PASS: TestAuthority_authorizeSSHRevoke (1.71s) --- PASS: TestAuthority_authorizeSSHRevoke/fail/invalid-token (0.00s) + --- PASS: TestAuthority_authorizeSSHRevoke/fail/invalid-subject (0.00s) + --- PASS: TestAuthority_authorizeSSHRevoke/ok (0.02s) === RUN TestAuthority_authorizeSSHRekey === RUN TestAuthority_authorizeSSHRekey/fail/invalid-token === RUN TestAuthority_authorizeSSHRekey/fail/sshRekey-unimplemented-jwk-provisioner === RUN TestAuthority_authorizeSSHRekey/ok ---- PASS: TestAuthority_authorizeSSHRekey (0.82s) +--- PASS: TestAuthority_authorizeSSHRekey (1.90s) --- PASS: TestAuthority_authorizeSSHRekey/fail/invalid-token (0.00s) --- PASS: TestAuthority_authorizeSSHRekey/fail/sshRekey-unimplemented-jwk-provisioner (0.00s) - --- PASS: TestAuthority_authorizeSSHRekey/ok (0.00s) + --- PASS: TestAuthority_authorizeSSHRekey/ok (0.02s) === RUN TestAuthority_AuthorizeRenewToken === RUN TestAuthority_AuthorizeRenewToken/ok === RUN TestAuthority_AuthorizeRenewToken/ok_expired_cert @@ -4448,30 +4489,30 @@ === RUN TestAuthority_AuthorizeRenewToken/fail_token_iat#01 === RUN TestAuthority_AuthorizeRenewToken/fail_token_iat#02 === RUN TestAuthority_AuthorizeRenewToken/fail_token_aud ---- PASS: TestAuthority_AuthorizeRenewToken (0.16s) +--- PASS: TestAuthority_AuthorizeRenewToken (0.24s) --- PASS: TestAuthority_AuthorizeRenewToken/ok (0.00s) - --- PASS: TestAuthority_AuthorizeRenewToken/ok_expired_cert (0.00s) + --- PASS: TestAuthority_AuthorizeRenewToken/ok_expired_cert (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/ok_provisioner_issuer (0.00s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token (0.00s) - --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_reuse (0.00s) + --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_reuse (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_signature (0.00s) - --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_provisioner (0.00s) - --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iss (0.02s) - --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_sub (0.00s) + --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_provisioner (0.01s) + --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iss (0.00s) + --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_sub (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iat (0.00s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iat#01 (0.00s) - --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iat#02 (0.00s) + --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iat#02 (0.03s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_aud (0.00s) === RUN TestGetEncryptedKey === RUN TestGetEncryptedKey/ok === RUN TestGetEncryptedKey/fail-not-found ---- PASS: TestGetEncryptedKey (0.01s) - --- PASS: TestGetEncryptedKey/ok (0.00s) - --- PASS: TestGetEncryptedKey/fail-not-found (0.00s) +--- PASS: TestGetEncryptedKey (0.08s) + --- PASS: TestGetEncryptedKey/ok (0.04s) + --- PASS: TestGetEncryptedKey/fail-not-found (0.04s) === RUN TestGetProvisioners === RUN TestGetProvisioners/ok ---- PASS: TestGetProvisioners (0.01s) - --- PASS: TestGetProvisioners/ok (0.01s) +--- PASS: TestGetProvisioners (0.00s) + --- PASS: TestGetProvisioners/ok (0.00s) === RUN TestAuthority_LoadProvisionerByCertificate === RUN TestAuthority_LoadProvisionerByCertificate/ok_from_certificate === RUN TestAuthority_LoadProvisionerByCertificate/ok_from_db @@ -4479,7 +4520,7 @@ === RUN TestAuthority_LoadProvisionerByCertificate/fail_from_certificate === RUN TestAuthority_LoadProvisionerByCertificate/fail_from_db === RUN TestAuthority_LoadProvisionerByCertificate/fail_from_admindb ---- PASS: TestAuthority_LoadProvisionerByCertificate (5.01s) +--- PASS: TestAuthority_LoadProvisionerByCertificate (6.14s) --- PASS: TestAuthority_LoadProvisionerByCertificate/ok_from_certificate (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/ok_from_db (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/ok_from_admindb (0.00s) @@ -4487,35 +4528,35 @@ --- PASS: TestAuthority_LoadProvisionerByCertificate/fail_from_db (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/fail_from_admindb (0.00s) === RUN TestRoot -=== RUN TestRoot/success === RUN TestRoot/not-found === RUN TestRoot/invalid-stored-certificate +=== RUN TestRoot/success --- PASS: TestRoot (0.00s) - --- PASS: TestRoot/success (0.00s) --- PASS: TestRoot/not-found (0.00s) --- PASS: TestRoot/invalid-stored-certificate (0.00s) + --- PASS: TestRoot/success (0.00s) === RUN TestAuthority_GetRootCertificate === RUN TestAuthority_GetRootCertificate/ok ---- PASS: TestAuthority_GetRootCertificate (0.00s) - --- PASS: TestAuthority_GetRootCertificate/ok (0.00s) +--- PASS: TestAuthority_GetRootCertificate (0.01s) + --- PASS: TestAuthority_GetRootCertificate/ok (0.01s) === RUN TestAuthority_GetRootCertificates === RUN TestAuthority_GetRootCertificates/ok --- PASS: TestAuthority_GetRootCertificates (0.00s) --- PASS: TestAuthority_GetRootCertificates/ok (0.00s) === RUN TestAuthority_GetRoots === RUN TestAuthority_GetRoots/ok ---- PASS: TestAuthority_GetRoots (0.00s) +--- PASS: TestAuthority_GetRoots (0.01s) --- PASS: TestAuthority_GetRoots/ok (0.00s) === RUN TestAuthority_GetFederation === RUN TestAuthority_GetFederation/ok === RUN TestAuthority_GetFederation/fail ---- PASS: TestAuthority_GetFederation (0.00s) +--- PASS: TestAuthority_GetFederation (0.01s) --- PASS: TestAuthority_GetFederation/ok (0.00s) - --- PASS: TestAuthority_GetFederation/fail (0.00s) + --- PASS: TestAuthority_GetFederation/fail (0.01s) === RUN TestAuthority_initHostOnly ---- PASS: TestAuthority_initHostOnly (0.01s) +--- PASS: TestAuthority_initHostOnly (0.00s) === RUN TestAuthority_initUserOnly ---- PASS: TestAuthority_initUserOnly (0.00s) +--- PASS: TestAuthority_initUserOnly (0.01s) === RUN TestAuthority_SignSSH === RUN TestAuthority_SignSSH/ok-user === RUN TestAuthority_SignSSH/ok-host @@ -4544,33 +4585,33 @@ === RUN TestAuthority_SignSSH/fail-custom-template === RUN TestAuthority_SignSSH/fail-custom-template-syntax-error-file === RUN TestAuthority_SignSSH/fail-custom-template-syntax-value-file ---- PASS: TestAuthority_SignSSH (0.10s) - --- PASS: TestAuthority_SignSSH/ok-user (0.00s) - --- PASS: TestAuthority_SignSSH/ok-host (0.01s) +--- PASS: TestAuthority_SignSSH (0.17s) + --- PASS: TestAuthority_SignSSH/ok-user (0.01s) + --- PASS: TestAuthority_SignSSH/ok-host (0.00s) --- PASS: TestAuthority_SignSSH/ok-user-only (0.00s) - --- PASS: TestAuthority_SignSSH/ok-host-only (0.00s) - --- PASS: TestAuthority_SignSSH/ok-opts-type-user (0.01s) - --- PASS: TestAuthority_SignSSH/ok-opts-type-host (0.00s) + --- PASS: TestAuthority_SignSSH/ok-host-only (0.01s) + --- PASS: TestAuthority_SignSSH/ok-opts-type-user (0.02s) + --- PASS: TestAuthority_SignSSH/ok-opts-type-host (0.01s) --- PASS: TestAuthority_SignSSH/ok-opts-principals (0.00s) - --- PASS: TestAuthority_SignSSH/ok-opts-principals#01 (0.00s) + --- PASS: TestAuthority_SignSSH/ok-opts-principals#01 (0.01s) --- PASS: TestAuthority_SignSSH/ok-opts-valid-after (0.00s) - --- PASS: TestAuthority_SignSSH/ok-opts-valid-before (0.00s) - --- PASS: TestAuthority_SignSSH/ok-cert-validator (0.00s) - --- PASS: TestAuthority_SignSSH/ok-cert-modifier (0.00s) + --- PASS: TestAuthority_SignSSH/ok-opts-valid-before (0.01s) + --- PASS: TestAuthority_SignSSH/ok-cert-validator (0.01s) + --- PASS: TestAuthority_SignSSH/ok-cert-modifier (0.01s) --- PASS: TestAuthority_SignSSH/ok-opts-validator (0.00s) - --- PASS: TestAuthority_SignSSH/ok-opts-modifier (0.00s) - --- PASS: TestAuthority_SignSSH/ok-custom-template (0.01s) + --- PASS: TestAuthority_SignSSH/ok-opts-modifier (0.01s) + --- PASS: TestAuthority_SignSSH/ok-custom-template (0.00s) --- PASS: TestAuthority_SignSSH/fail-opts-type (0.00s) - --- PASS: TestAuthority_SignSSH/fail-cert-validator (0.00s) - --- PASS: TestAuthority_SignSSH/fail-cert-modifier (0.00s) + --- PASS: TestAuthority_SignSSH/fail-cert-validator (0.01s) + --- PASS: TestAuthority_SignSSH/fail-cert-modifier (0.01s) --- PASS: TestAuthority_SignSSH/fail-opts-validator (0.00s) --- PASS: TestAuthority_SignSSH/fail-opts-modifier (0.00s) --- PASS: TestAuthority_SignSSH/fail-bad-sign-options (0.00s) - --- PASS: TestAuthority_SignSSH/fail-no-user-key (0.01s) - --- PASS: TestAuthority_SignSSH/fail-no-host-key (0.00s) + --- PASS: TestAuthority_SignSSH/fail-no-user-key (0.00s) + --- PASS: TestAuthority_SignSSH/fail-no-host-key (0.02s) --- PASS: TestAuthority_SignSSH/fail-bad-type (0.00s) --- PASS: TestAuthority_SignSSH/fail-custom-template (0.00s) - --- PASS: TestAuthority_SignSSH/fail-custom-template-syntax-error-file (0.00s) + --- PASS: TestAuthority_SignSSH/fail-custom-template-syntax-error-file (0.01s) --- PASS: TestAuthority_SignSSH/fail-custom-template-syntax-value-file (0.00s) === RUN TestAuthority_SignSSHAddUser === RUN TestAuthority_SignSSHAddUser/ok @@ -4582,27 +4623,27 @@ === RUN TestAuthority_SignSSHAddUser/fail-no-user-cert === RUN TestAuthority_SignSSHAddUser/fail-no-principals === RUN TestAuthority_SignSSHAddUser/fail-many-principals ---- PASS: TestAuthority_SignSSHAddUser (0.04s) - --- PASS: TestAuthority_SignSSHAddUser/ok (0.01s) - --- PASS: TestAuthority_SignSSHAddUser/ok-no-host-key (0.00s) - --- PASS: TestAuthority_SignSSHAddUser/ok-custom-principal (0.01s) - --- PASS: TestAuthority_SignSSHAddUser/ok-custom-command (0.00s) - --- PASS: TestAuthority_SignSSHAddUser/ok-custom-principal-and-command (0.01s) - --- PASS: TestAuthority_SignSSHAddUser/fail-no-user-key (0.00s) - --- PASS: TestAuthority_SignSSHAddUser/fail-no-user-cert (0.01s) - --- PASS: TestAuthority_SignSSHAddUser/fail-no-principals (0.00s) +--- PASS: TestAuthority_SignSSHAddUser (0.05s) + --- PASS: TestAuthority_SignSSHAddUser/ok (0.00s) + --- PASS: TestAuthority_SignSSHAddUser/ok-no-host-key (0.01s) + --- PASS: TestAuthority_SignSSHAddUser/ok-custom-principal (0.00s) + --- PASS: TestAuthority_SignSSHAddUser/ok-custom-command (0.01s) + --- PASS: TestAuthority_SignSSHAddUser/ok-custom-principal-and-command (0.00s) + --- PASS: TestAuthority_SignSSHAddUser/fail-no-user-key (0.02s) + --- PASS: TestAuthority_SignSSHAddUser/fail-no-user-cert (0.00s) + --- PASS: TestAuthority_SignSSHAddUser/fail-no-principals (0.01s) --- PASS: TestAuthority_SignSSHAddUser/fail-many-principals (0.00s) === RUN TestAuthority_GetSSHRoots === RUN TestAuthority_GetSSHRoots/ok === RUN TestAuthority_GetSSHRoots/nil ---- PASS: TestAuthority_GetSSHRoots (0.01s) - --- PASS: TestAuthority_GetSSHRoots/ok (0.00s) +--- PASS: TestAuthority_GetSSHRoots (0.02s) + --- PASS: TestAuthority_GetSSHRoots/ok (0.02s) --- PASS: TestAuthority_GetSSHRoots/nil (0.00s) === RUN TestAuthority_GetSSHFederation === RUN TestAuthority_GetSSHFederation/ok === RUN TestAuthority_GetSSHFederation/nil --- PASS: TestAuthority_GetSSHFederation (0.01s) - --- PASS: TestAuthority_GetSSHFederation/ok (0.00s) + --- PASS: TestAuthority_GetSSHFederation/ok (0.01s) --- PASS: TestAuthority_GetSSHFederation/nil (0.00s) === RUN TestAuthority_GetSSHConfig === RUN TestAuthority_GetSSHConfig/user @@ -4621,20 +4662,20 @@ === RUN TestAuthority_GetSSHConfig/noTemplates === RUN TestAuthority_GetSSHConfig/missingData === RUN TestAuthority_GetSSHConfig/failError ---- PASS: TestAuthority_GetSSHConfig (0.12s) +--- PASS: TestAuthority_GetSSHConfig (0.07s) --- PASS: TestAuthority_GetSSHConfig/user (0.01s) - --- PASS: TestAuthority_GetSSHConfig/user#01 (0.03s) - --- PASS: TestAuthority_GetSSHConfig/host (0.00s) - --- PASS: TestAuthority_GetSSHConfig/host#01 (0.01s) - --- PASS: TestAuthority_GetSSHConfig/userWithData (0.01s) - --- PASS: TestAuthority_GetSSHConfig/hostWithData (0.00s) + --- PASS: TestAuthority_GetSSHConfig/user#01 (0.00s) + --- PASS: TestAuthority_GetSSHConfig/host (0.01s) + --- PASS: TestAuthority_GetSSHConfig/host#01 (0.00s) + --- PASS: TestAuthority_GetSSHConfig/userWithData (0.00s) + --- PASS: TestAuthority_GetSSHConfig/hostWithData (0.01s) --- PASS: TestAuthority_GetSSHConfig/userIncludesEmptyData (0.00s) - --- PASS: TestAuthority_GetSSHConfig/userIncludesWithoutTemplateVersion (0.01s) - --- PASS: TestAuthority_GetSSHConfig/userIncludesWithTemplateVersion (0.00s) + --- PASS: TestAuthority_GetSSHConfig/userIncludesWithoutTemplateVersion (0.00s) + --- PASS: TestAuthority_GetSSHConfig/userIncludesWithTemplateVersion (0.01s) --- PASS: TestAuthority_GetSSHConfig/disabled (0.00s) --- PASS: TestAuthority_GetSSHConfig/badType (0.01s) --- PASS: TestAuthority_GetSSHConfig/userError (0.00s) - --- PASS: TestAuthority_GetSSHConfig/hostError (0.02s) + --- PASS: TestAuthority_GetSSHConfig/hostError (0.00s) --- PASS: TestAuthority_GetSSHConfig/noTemplates (0.00s) --- PASS: TestAuthority_GetSSHConfig/missingData (0.01s) --- PASS: TestAuthority_GetSSHConfig/failError (0.00s) @@ -4645,13 +4686,13 @@ === RUN TestAuthority_CheckSSHHost/notImplemented#01 === RUN TestAuthority_CheckSSHHost/internal === RUN TestAuthority_CheckSSHHost/internal#01 ---- PASS: TestAuthority_CheckSSHHost (0.03s) - --- PASS: TestAuthority_CheckSSHHost/true (0.00s) - --- PASS: TestAuthority_CheckSSHHost/false (0.01s) +--- PASS: TestAuthority_CheckSSHHost (0.02s) + --- PASS: TestAuthority_CheckSSHHost/true (0.01s) + --- PASS: TestAuthority_CheckSSHHost/false (0.00s) --- PASS: TestAuthority_CheckSSHHost/notImplemented (0.00s) --- PASS: TestAuthority_CheckSSHHost/notImplemented#01 (0.00s) --- PASS: TestAuthority_CheckSSHHost/internal (0.00s) - --- PASS: TestAuthority_CheckSSHHost/internal#01 (0.02s) + --- PASS: TestAuthority_CheckSSHHost/internal#01 (0.01s) === RUN TestSSHConfig_Validate === RUN TestSSHConfig_Validate/nil === RUN TestSSHConfig_Validate/ok @@ -4685,33 +4726,33 @@ === RUN TestAuthority_GetSSHHosts/ok/getHostsFunc-defined === RUN TestAuthority_GetSSHHosts/fail/db-get-fail === RUN TestAuthority_GetSSHHosts/ok ---- PASS: TestAuthority_GetSSHHosts (0.00s) +--- PASS: TestAuthority_GetSSHHosts (0.01s) --- PASS: TestAuthority_GetSSHHosts/fail/getHostsFunc-fail (0.00s) --- PASS: TestAuthority_GetSSHHosts/ok/getHostsFunc-defined (0.00s) - --- PASS: TestAuthority_GetSSHHosts/fail/db-get-fail (0.00s) + --- PASS: TestAuthority_GetSSHHosts/fail/db-get-fail (0.01s) --- PASS: TestAuthority_GetSSHHosts/ok (0.00s) === RUN TestAuthority_RekeySSH -=== RUN TestAuthority_RekeySSH/ok === RUN TestAuthority_RekeySSH/fail/is-revoked === RUN TestAuthority_RekeySSH/fail/is-revoked-error === RUN TestAuthority_RekeySSH/fail/old-cert-validAfter -=== RUN TestAuthority_RekeySSH/fail/old-cert-validBefore +=== RUN TestAuthority_RekeySSH/fail/unexpected-old-cert-type === RUN TestAuthority_RekeySSH/fail/db-store +=== RUN TestAuthority_RekeySSH/ok === RUN TestAuthority_RekeySSH/fail/opts-type +=== RUN TestAuthority_RekeySSH/fail/old-cert-validBefore === RUN TestAuthority_RekeySSH/fail/old-cert-no-user-key === RUN TestAuthority_RekeySSH/fail/old-cert-no-host-key -=== RUN TestAuthority_RekeySSH/fail/unexpected-old-cert-type ---- PASS: TestAuthority_RekeySSH (0.03s) - --- PASS: TestAuthority_RekeySSH/ok (0.00s) +--- PASS: TestAuthority_RekeySSH (0.01s) --- PASS: TestAuthority_RekeySSH/fail/is-revoked (0.00s) - --- PASS: TestAuthority_RekeySSH/fail/is-revoked-error (0.01s) + --- PASS: TestAuthority_RekeySSH/fail/is-revoked-error (0.00s) --- PASS: TestAuthority_RekeySSH/fail/old-cert-validAfter (0.00s) - --- PASS: TestAuthority_RekeySSH/fail/old-cert-validBefore (0.00s) - --- PASS: TestAuthority_RekeySSH/fail/db-store (0.00s) + --- PASS: TestAuthority_RekeySSH/fail/unexpected-old-cert-type (0.00s) + --- PASS: TestAuthority_RekeySSH/fail/db-store (0.01s) + --- PASS: TestAuthority_RekeySSH/ok (0.00s) --- PASS: TestAuthority_RekeySSH/fail/opts-type (0.00s) + --- PASS: TestAuthority_RekeySSH/fail/old-cert-validBefore (0.00s) --- PASS: TestAuthority_RekeySSH/fail/old-cert-no-user-key (0.00s) --- PASS: TestAuthority_RekeySSH/fail/old-cert-no-host-key (0.00s) - --- PASS: TestAuthority_RekeySSH/fail/unexpected-old-cert-type (0.00s) === RUN TestIsValidForAddUser === RUN TestIsValidForAddUser/ok === RUN TestIsValidForAddUser/ok_oidc @@ -4729,122 +4770,122 @@ --- PASS: TestIsValidForAddUser/fail_no_principals (0.00s) --- PASS: TestIsValidForAddUser/fail_extra_principals (0.00s) === RUN TestAuthority_Sign -=== RUN TestAuthority_Sign/fail_create_cert +=== RUN TestAuthority_Sign/fail_with_provisioner_enforcer +=== RUN TestAuthority_Sign/fail_with_custom_enforcer === RUN TestAuthority_Sign/ok_with_enforced_modifier -=== RUN TestAuthority_Sign/fail_invalid_signature +=== RUN TestAuthority_Sign/fail_invalid_extra_option +=== RUN TestAuthority_Sign/fail_create_cert +=== RUN TestAuthority_Sign/fail_custom_template +=== RUN TestAuthority_Sign/fail_merge_default_ASN1DN === RUN TestAuthority_Sign/fail_validate_sans_when_adding_common_name_not_in_claims -=== RUN TestAuthority_Sign/fail_rsa_key_too_short +=== RUN TestAuthority_Sign/ok/csr_with_no_template_critical_SAN_extension +=== RUN TestAuthority_Sign/fail_provisioner_duration_claim === RUN TestAuthority_Sign/fail_store_cert_in_db +=== RUN TestAuthority_Sign/ok_with_custom_enforcer === RUN TestAuthority_Sign/fail_bad_JSON_value_template_file -=== RUN TestAuthority_Sign/fail_with_provisioner_enforcer -=== RUN TestAuthority_Sign/fail_with_custom_enforcer === RUN TestAuthority_Sign/ok -=== RUN TestAuthority_Sign/fail_provisioner_duration_claim -=== RUN TestAuthority_Sign/ok_with_custom_enforcer -=== RUN TestAuthority_Sign/ok/csr_with_no_template_critical_SAN_extension -=== RUN TestAuthority_Sign/fail_merge_default_ASN1DN -=== RUN TestAuthority_Sign/fail_custom_template -=== RUN TestAuthority_Sign/fail_invalid_extra_option === RUN TestAuthority_Sign/ok_with_custom_template +=== RUN TestAuthority_Sign/fail_invalid_signature +=== RUN TestAuthority_Sign/fail_rsa_key_too_short === RUN TestAuthority_Sign/fail_bad_JSON_syntax_template_file ---- PASS: TestAuthority_Sign (1.05s) +--- PASS: TestAuthority_Sign (0.87s) + --- PASS: TestAuthority_Sign/fail_with_provisioner_enforcer (0.02s) + --- PASS: TestAuthority_Sign/fail_with_custom_enforcer (0.00s) + --- PASS: TestAuthority_Sign/ok_with_enforced_modifier (0.01s) + --- PASS: TestAuthority_Sign/fail_invalid_extra_option (0.00s) --- PASS: TestAuthority_Sign/fail_create_cert (0.00s) - --- PASS: TestAuthority_Sign/ok_with_enforced_modifier (0.02s) - --- PASS: TestAuthority_Sign/fail_invalid_signature (0.00s) + --- PASS: TestAuthority_Sign/fail_custom_template (0.01s) + --- PASS: TestAuthority_Sign/fail_merge_default_ASN1DN (0.00s) --- PASS: TestAuthority_Sign/fail_validate_sans_when_adding_common_name_not_in_claims (0.00s) - --- PASS: TestAuthority_Sign/fail_rsa_key_too_short (0.00s) + --- PASS: TestAuthority_Sign/ok/csr_with_no_template_critical_SAN_extension (0.01s) + --- PASS: TestAuthority_Sign/fail_provisioner_duration_claim (0.00s) --- PASS: TestAuthority_Sign/fail_store_cert_in_db (0.01s) + --- PASS: TestAuthority_Sign/ok_with_custom_enforcer (0.00s) --- PASS: TestAuthority_Sign/fail_bad_JSON_value_template_file (0.00s) - --- PASS: TestAuthority_Sign/fail_with_provisioner_enforcer (0.00s) - --- PASS: TestAuthority_Sign/fail_with_custom_enforcer (0.00s) --- PASS: TestAuthority_Sign/ok (0.01s) - --- PASS: TestAuthority_Sign/fail_provisioner_duration_claim (0.00s) - --- PASS: TestAuthority_Sign/ok_with_custom_enforcer (0.02s) - --- PASS: TestAuthority_Sign/ok/csr_with_no_template_critical_SAN_extension (0.01s) - --- PASS: TestAuthority_Sign/fail_merge_default_ASN1DN (0.00s) - --- PASS: TestAuthority_Sign/fail_custom_template (0.00s) - --- PASS: TestAuthority_Sign/fail_invalid_extra_option (0.00s) - --- PASS: TestAuthority_Sign/ok_with_custom_template (0.01s) + --- PASS: TestAuthority_Sign/ok_with_custom_template (0.00s) + --- PASS: TestAuthority_Sign/fail_invalid_signature (0.00s) + --- PASS: TestAuthority_Sign/fail_rsa_key_too_short (0.00s) --- PASS: TestAuthority_Sign/fail_bad_JSON_syntax_template_file (0.01s) === RUN TestAuthority_Renew +=== RUN TestAuthority_Renew/fail/create-cert === RUN TestAuthority_Renew/fail/unauthorized === RUN TestAuthority_Renew/fail/WithAuthorizeRenewFunc === RUN TestAuthority_Renew/ok === RUN TestAuthority_Renew/ok/success-new-intermediate === RUN TestAuthority_Renew/ok/WithAuthorizeRenewFunc -=== RUN TestAuthority_Renew/fail/create-cert ---- PASS: TestAuthority_Renew (0.04s) +--- PASS: TestAuthority_Renew (0.03s) + --- PASS: TestAuthority_Renew/fail/create-cert (0.01s) --- PASS: TestAuthority_Renew/fail/unauthorized (0.00s) --- PASS: TestAuthority_Renew/fail/WithAuthorizeRenewFunc (0.00s) --- PASS: TestAuthority_Renew/ok (0.00s) --- PASS: TestAuthority_Renew/ok/success-new-intermediate (0.01s) --- PASS: TestAuthority_Renew/ok/WithAuthorizeRenewFunc (0.00s) - --- PASS: TestAuthority_Renew/fail/create-cert (0.01s) === RUN TestAuthority_Rekey +=== RUN TestAuthority_Rekey/fail/unauthorized +=== RUN TestAuthority_Rekey/ok/renew === RUN TestAuthority_Rekey/ok/rekey === RUN TestAuthority_Rekey/ok/renew/success-new-intermediate === RUN TestAuthority_Rekey/fail/create-cert -=== RUN TestAuthority_Rekey/fail/unauthorized -=== RUN TestAuthority_Rekey/ok/renew ---- PASS: TestAuthority_Rekey (0.06s) +--- PASS: TestAuthority_Rekey (0.02s) + --- PASS: TestAuthority_Rekey/fail/unauthorized (0.00s) + --- PASS: TestAuthority_Rekey/ok/renew (0.00s) --- PASS: TestAuthority_Rekey/ok/rekey (0.00s) - --- PASS: TestAuthority_Rekey/ok/renew/success-new-intermediate (0.03s) + --- PASS: TestAuthority_Rekey/ok/renew/success-new-intermediate (0.01s) --- PASS: TestAuthority_Rekey/fail/create-cert (0.00s) - --- PASS: TestAuthority_Rekey/fail/unauthorized (0.00s) - --- PASS: TestAuthority_Rekey/ok/renew (0.02s) === RUN TestAuthority_GetTLSOptions === RUN TestAuthority_GetTLSOptions/default === RUN TestAuthority_GetTLSOptions/non-default ---- PASS: TestAuthority_GetTLSOptions (0.00s) +--- PASS: TestAuthority_GetTLSOptions (0.01s) --- PASS: TestAuthority_GetTLSOptions/default (0.00s) - --- PASS: TestAuthority_GetTLSOptions/non-default (0.00s) + --- PASS: TestAuthority_GetTLSOptions/non-default (0.01s) === RUN TestAuthority_Revoke +=== RUN TestAuthority_Revoke/ok/token +=== RUN TestAuthority_Revoke/ok/mTLS +=== RUN TestAuthority_Revoke/ok/mTLS-no-provisioner === RUN TestAuthority_Revoke/ok/ACME === RUN TestAuthority_Revoke/fail/token/authorizeRevoke_error === RUN TestAuthority_Revoke/fail/nil-db === RUN TestAuthority_Revoke/fail/db-revoke === RUN TestAuthority_Revoke/fail/already-revoked -=== RUN TestAuthority_Revoke/ok/token -=== RUN TestAuthority_Revoke/ok/mTLS -=== RUN TestAuthority_Revoke/ok/mTLS-no-provisioner ---- PASS: TestAuthority_Revoke (0.72s) +--- PASS: TestAuthority_Revoke (0.56s) + --- PASS: TestAuthority_Revoke/ok/token (0.00s) + --- PASS: TestAuthority_Revoke/ok/mTLS (0.00s) + --- PASS: TestAuthority_Revoke/ok/mTLS-no-provisioner (0.00s) --- PASS: TestAuthority_Revoke/ok/ACME (0.00s) --- PASS: TestAuthority_Revoke/fail/token/authorizeRevoke_error (0.00s) --- PASS: TestAuthority_Revoke/fail/nil-db (0.00s) --- PASS: TestAuthority_Revoke/fail/db-revoke (0.00s) --- PASS: TestAuthority_Revoke/fail/already-revoked (0.00s) - --- PASS: TestAuthority_Revoke/ok/token (0.00s) - --- PASS: TestAuthority_Revoke/ok/mTLS (0.00s) - --- PASS: TestAuthority_Revoke/ok/mTLS-no-provisioner (0.00s) PASS -ok github.com/smallstep/certificates/authority 16.913s +ok github.com/smallstep/certificates/authority 17.978s ? github.com/smallstep/certificates/authority/admin [no test files] === RUN TestHandler_requireEABEnabled === RUN TestHandler_requireEABEnabled/fail/h.provisionerHasEABEnabled -2024/05/23 12:06:39 error loading provisioner provName: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} +2023/04/22 07:50:35 error loading provisioner provName: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} === RUN TestHandler_requireEABEnabled/ok/eab-disabled -2024/05/23 12:06:39 ACME EAB not enabled for provisioner provName -2024/05/23 12:06:39 {"type":"badRequest","detail":"bad request","message":"ACME EAB not enabled for provisioner provName"} +2023/04/22 07:50:35 ACME EAB not enabled for provisioner provName +2023/04/22 07:50:35 {"type":"badRequest","detail":"bad request","message":"ACME EAB not enabled for provisioner provName"} === RUN TestHandler_requireEABEnabled/ok/eab-enabled ---- PASS: TestHandler_requireEABEnabled (0.00s) +--- PASS: TestHandler_requireEABEnabled (0.01s) --- PASS: TestHandler_requireEABEnabled/fail/h.provisionerHasEABEnabled (0.00s) --- PASS: TestHandler_requireEABEnabled/ok/eab-disabled (0.00s) --- PASS: TestHandler_requireEABEnabled/ok/eab-enabled (0.00s) === RUN TestHandler_provisionerHasEABEnabled +=== RUN TestHandler_provisionerHasEABEnabled/fail/auth.LoadProvisionerByName === RUN TestHandler_provisionerHasEABEnabled/fail/db.GetProvisioner === RUN TestHandler_provisionerHasEABEnabled/fail/prov.GetDetails === RUN TestHandler_provisionerHasEABEnabled/fail/details.GetACME === RUN TestHandler_provisionerHasEABEnabled/ok/eab-disabled === RUN TestHandler_provisionerHasEABEnabled/ok/eab-enabled -=== RUN TestHandler_provisionerHasEABEnabled/fail/auth.LoadProvisionerByName --- PASS: TestHandler_provisionerHasEABEnabled (0.00s) + --- PASS: TestHandler_provisionerHasEABEnabled/fail/auth.LoadProvisionerByName (0.00s) --- PASS: TestHandler_provisionerHasEABEnabled/fail/db.GetProvisioner (0.00s) --- PASS: TestHandler_provisionerHasEABEnabled/fail/prov.GetDetails (0.00s) --- PASS: TestHandler_provisionerHasEABEnabled/fail/details.GetACME (0.00s) --- PASS: TestHandler_provisionerHasEABEnabled/ok/eab-disabled (0.00s) --- PASS: TestHandler_provisionerHasEABEnabled/ok/eab-enabled (0.00s) - --- PASS: TestHandler_provisionerHasEABEnabled/fail/auth.LoadProvisionerByName (0.00s) === RUN TestCreateExternalAccountKeyRequest_Validate === RUN TestCreateExternalAccountKeyRequest_Validate/fail/reference-too-long === RUN TestCreateExternalAccountKeyRequest_Validate/ok/empty-reference @@ -4855,20 +4896,20 @@ --- PASS: TestCreateExternalAccountKeyRequest_Validate/ok (0.00s) === RUN TestHandler_CreateExternalAccountKey === RUN TestHandler_CreateExternalAccountKey/ok -2024/05/23 12:06:39 this functionality is currently only available in Certificate Manager: https://u.step.sm/cm -2024/05/23 12:06:39 {"type":"notImplemented","detail":"not implemented","message":"this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"} +2023/04/22 07:50:35 this functionality is currently only available in Certificate Manager: https://u.step.sm/cm +2023/04/22 07:50:35 {"type":"notImplemented","detail":"not implemented","message":"this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"} --- PASS: TestHandler_CreateExternalAccountKey (0.00s) --- PASS: TestHandler_CreateExternalAccountKey/ok (0.00s) === RUN TestHandler_DeleteExternalAccountKey === RUN TestHandler_DeleteExternalAccountKey/ok -2024/05/23 12:06:39 this functionality is currently only available in Certificate Manager: https://u.step.sm/cm -2024/05/23 12:06:39 {"type":"notImplemented","detail":"not implemented","message":"this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"} +2023/04/22 07:50:35 this functionality is currently only available in Certificate Manager: https://u.step.sm/cm +2023/04/22 07:50:35 {"type":"notImplemented","detail":"not implemented","message":"this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"} --- PASS: TestHandler_DeleteExternalAccountKey (0.00s) --- PASS: TestHandler_DeleteExternalAccountKey/ok (0.00s) === RUN TestHandler_GetExternalAccountKeys === RUN TestHandler_GetExternalAccountKeys/ok -2024/05/23 12:06:39 this functionality is currently only available in Certificate Manager: https://u.step.sm/cm -2024/05/23 12:06:39 {"type":"notImplemented","detail":"not implemented","message":"this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"} +2023/04/22 07:50:35 this functionality is currently only available in Certificate Manager: https://u.step.sm/cm +2023/04/22 07:50:35 {"type":"notImplemented","detail":"not implemented","message":"this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"} --- PASS: TestHandler_GetExternalAccountKeys (0.00s) --- PASS: TestHandler_GetExternalAccountKeys/ok (0.00s) === RUN TestCreateAdminRequest_Validate @@ -4888,63 +4929,63 @@ --- PASS: TestUpdateAdminRequest_Validate/fail/invalid-type (0.00s) --- PASS: TestUpdateAdminRequest_Validate/ok (0.00s) === RUN TestHandler_GetAdmin -=== RUN TestHandler_GetAdmin/ok === RUN TestHandler_GetAdmin/fail/auth.LoadAdminByID-not-found -2024/05/23 12:06:39 admin adminID not found -2024/05/23 12:06:39 {"type":"notFound","detail":"resource not found","message":"admin adminID not found"} ---- PASS: TestHandler_GetAdmin (0.00s) - --- PASS: TestHandler_GetAdmin/ok (0.00s) +2023/04/22 07:50:35 admin adminID not found +2023/04/22 07:50:35 {"type":"notFound","detail":"resource not found","message":"admin adminID not found"} +=== RUN TestHandler_GetAdmin/ok +--- PASS: TestHandler_GetAdmin (0.01s) --- PASS: TestHandler_GetAdmin/fail/auth.LoadAdminByID-not-found (0.00s) + --- PASS: TestHandler_GetAdmin/ok (0.01s) === RUN TestHandler_GetAdmins === RUN TestHandler_GetAdmins/fail/auth.GetAdmins -2024/05/23 12:06:39 error retrieving paginated admins: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error retrieving paginated admins: force"} +2023/04/22 07:50:35 error retrieving paginated admins: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error retrieving paginated admins: force"} === RUN TestHandler_GetAdmins/ok === RUN TestHandler_GetAdmins/fail/parse-cursor -2024/05/23 12:06:39 error parsing cursor and limit from query params: limit 'A' is not an integer: strconv.Atoi: parsing "A": invalid syntax -2024/05/23 12:06:39 {"type":"badRequest","detail":"bad request","message":"error parsing cursor and limit from query params: limit 'A' is not an integer: strconv.Atoi: parsing \"A\": invalid syntax"} +2023/04/22 07:50:35 error parsing cursor and limit from query params: limit 'A' is not an integer: strconv.Atoi: parsing "A": invalid syntax +2023/04/22 07:50:35 {"type":"badRequest","detail":"bad request","message":"error parsing cursor and limit from query params: limit 'A' is not an integer: strconv.Atoi: parsing \"A\": invalid syntax"} --- PASS: TestHandler_GetAdmins (0.00s) --- PASS: TestHandler_GetAdmins/fail/auth.GetAdmins (0.00s) --- PASS: TestHandler_GetAdmins/ok (0.00s) --- PASS: TestHandler_GetAdmins/fail/parse-cursor (0.00s) === RUN TestHandler_CreateAdmin -=== RUN TestHandler_CreateAdmin/fail/ReadJSON -2024/05/23 12:06:39 error reading request body: error decoding json: invalid character '!' looking for beginning of object key string -2024/05/23 12:06:39 {"type":"badRequest","detail":"bad request","message":"error reading request body: error decoding json: invalid character '!' looking for beginning of object key string"} === RUN TestHandler_CreateAdmin/fail/validate -2024/05/23 12:06:39 subject cannot be empty -2024/05/23 12:06:39 {"type":"badRequest","detail":"bad request","message":"subject cannot be empty"} +2023/04/22 07:50:35 subject cannot be empty +2023/04/22 07:50:35 {"type":"badRequest","detail":"bad request","message":"subject cannot be empty"} === RUN TestHandler_CreateAdmin/fail/auth.LoadProvisionerByName -2024/05/23 12:06:39 error loading provisioner prov: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner prov: force"} +2023/04/22 07:50:35 error loading provisioner prov: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner prov: force"} === RUN TestHandler_CreateAdmin/fail/auth.StoreAdmin -2024/05/23 12:06:39 error storing admin: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error storing admin: force"} +2023/04/22 07:50:35 error storing admin: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error storing admin: force"} === RUN TestHandler_CreateAdmin/ok ---- PASS: TestHandler_CreateAdmin (0.01s) - --- PASS: TestHandler_CreateAdmin/fail/ReadJSON (0.00s) - --- PASS: TestHandler_CreateAdmin/fail/validate (0.01s) +=== RUN TestHandler_CreateAdmin/fail/ReadJSON +2023/04/22 07:50:35 error reading request body: error decoding json: invalid character '!' looking for beginning of object key string +2023/04/22 07:50:35 {"type":"badRequest","detail":"bad request","message":"error reading request body: error decoding json: invalid character '!' looking for beginning of object key string"} +--- PASS: TestHandler_CreateAdmin (0.00s) + --- PASS: TestHandler_CreateAdmin/fail/validate (0.00s) --- PASS: TestHandler_CreateAdmin/fail/auth.LoadProvisionerByName (0.00s) --- PASS: TestHandler_CreateAdmin/fail/auth.StoreAdmin (0.00s) --- PASS: TestHandler_CreateAdmin/ok (0.00s) + --- PASS: TestHandler_CreateAdmin/fail/ReadJSON (0.00s) === RUN TestHandler_DeleteAdmin === RUN TestHandler_DeleteAdmin/fail/auth.RemoveAdmin -2024/05/23 12:06:39 error deleting admin adminID: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error deleting admin adminID: force"} +2023/04/22 07:50:35 error deleting admin adminID: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error deleting admin adminID: force"} === RUN TestHandler_DeleteAdmin/ok --- PASS: TestHandler_DeleteAdmin (0.00s) --- PASS: TestHandler_DeleteAdmin/fail/auth.RemoveAdmin (0.00s) --- PASS: TestHandler_DeleteAdmin/ok (0.00s) === RUN TestHandler_UpdateAdmin === RUN TestHandler_UpdateAdmin/fail/ReadJSON -2024/05/23 12:06:39 error reading request body: error decoding json: invalid character '!' looking for beginning of object key string -2024/05/23 12:06:39 {"type":"badRequest","detail":"bad request","message":"error reading request body: error decoding json: invalid character '!' looking for beginning of object key string"} +2023/04/22 07:50:35 error reading request body: error decoding json: invalid character '!' looking for beginning of object key string +2023/04/22 07:50:35 {"type":"badRequest","detail":"bad request","message":"error reading request body: error decoding json: invalid character '!' looking for beginning of object key string"} === RUN TestHandler_UpdateAdmin/fail/validate -2024/05/23 12:06:39 invalid value for admin type -2024/05/23 12:06:39 {"type":"badRequest","detail":"bad request","message":"invalid value for admin type"} +2023/04/22 07:50:35 invalid value for admin type +2023/04/22 07:50:35 {"type":"badRequest","detail":"bad request","message":"invalid value for admin type"} === RUN TestHandler_UpdateAdmin/fail/auth.UpdateAdmin -2024/05/23 12:06:39 error updating admin adminID: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error updating admin adminID: force"} +2023/04/22 07:50:35 error updating admin adminID: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error updating admin adminID: force"} === RUN TestHandler_UpdateAdmin/ok --- PASS: TestHandler_UpdateAdmin (0.00s) --- PASS: TestHandler_UpdateAdmin/fail/ReadJSON (0.00s) @@ -4953,170 +4994,170 @@ --- PASS: TestHandler_UpdateAdmin/ok (0.00s) === RUN TestHandler_requireAPIEnabled === RUN TestHandler_requireAPIEnabled/fail/auth.IsAdminAPIEnabled -2024/05/23 12:06:39 administration API not enabled -2024/05/23 12:06:39 {"type":"notImplemented","detail":"not implemented","message":"administration API not enabled"} +2023/04/22 07:50:35 administration API not enabled +2023/04/22 07:50:35 {"type":"notImplemented","detail":"not implemented","message":"administration API not enabled"} === RUN TestHandler_requireAPIEnabled/ok --- PASS: TestHandler_requireAPIEnabled (0.00s) --- PASS: TestHandler_requireAPIEnabled/fail/auth.IsAdminAPIEnabled (0.00s) --- PASS: TestHandler_requireAPIEnabled/ok (0.00s) === RUN TestHandler_extractAuthorizeTokenAdmin === RUN TestHandler_extractAuthorizeTokenAdmin/fail/missing-authorization-token -2024/05/23 12:06:39 missing authorization header token -2024/05/23 12:06:39 {"type":"unauthorized","detail":"unauthorized","message":"missing authorization header token"} +2023/04/22 07:50:35 missing authorization header token +2023/04/22 07:50:35 {"type":"unauthorized","detail":"unauthorized","message":"missing authorization header token"} === RUN TestHandler_extractAuthorizeTokenAdmin/fail/auth.AuthorizeAdminToken -2024/05/23 12:06:39 not authorized -2024/05/23 12:06:39 {"type":"unauthorized","detail":"unauthorized","message":"not authorized"} +2023/04/22 07:50:35 not authorized +2023/04/22 07:50:35 {"type":"unauthorized","detail":"unauthorized","message":"not authorized"} === RUN TestHandler_extractAuthorizeTokenAdmin/ok --- PASS: TestHandler_extractAuthorizeTokenAdmin (0.00s) --- PASS: TestHandler_extractAuthorizeTokenAdmin/fail/missing-authorization-token (0.00s) --- PASS: TestHandler_extractAuthorizeTokenAdmin/fail/auth.AuthorizeAdminToken (0.00s) --- PASS: TestHandler_extractAuthorizeTokenAdmin/ok (0.00s) === RUN TestHandler_GetProvisioner -=== RUN TestHandler_GetProvisioner/fail/auth.LoadProvisionerByID -2024/05/23 12:06:39 error loading provisioner provID: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provID: force"} === RUN TestHandler_GetProvisioner/fail/auth.LoadProvisionerByName -2024/05/23 12:06:39 error loading provisioner provName: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} +2023/04/22 07:50:35 error loading provisioner provName: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} === RUN TestHandler_GetProvisioner/fail/db.GetProvisioner -2024/05/23 12:06:39 error loading provisioner provName: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} +2023/04/22 07:50:35 error loading provisioner provName: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} === RUN TestHandler_GetProvisioner/ok +=== RUN TestHandler_GetProvisioner/fail/auth.LoadProvisionerByID +2023/04/22 07:50:35 error loading provisioner provID: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provID: force"} --- PASS: TestHandler_GetProvisioner (0.01s) - --- PASS: TestHandler_GetProvisioner/fail/auth.LoadProvisionerByID (0.00s) --- PASS: TestHandler_GetProvisioner/fail/auth.LoadProvisionerByName (0.00s) --- PASS: TestHandler_GetProvisioner/fail/db.GetProvisioner (0.00s) - --- PASS: TestHandler_GetProvisioner/ok (0.00s) + --- PASS: TestHandler_GetProvisioner/ok (0.01s) + --- PASS: TestHandler_GetProvisioner/fail/auth.LoadProvisionerByID (0.00s) === RUN TestHandler_GetProvisioners === RUN TestHandler_GetProvisioners/fail/parse-cursor -2024/05/23 12:06:39 error parsing cursor and limit from query params: limit 'X' is not an integer: strconv.Atoi: parsing "X": invalid syntax -2024/05/23 12:06:39 {"type":"badRequest","detail":"bad request","message":"error parsing cursor and limit from query params: limit 'X' is not an integer: strconv.Atoi: parsing \"X\": invalid syntax"} +2023/04/22 07:50:35 error parsing cursor and limit from query params: limit 'X' is not an integer: strconv.Atoi: parsing "X": invalid syntax +2023/04/22 07:50:35 {"type":"badRequest","detail":"bad request","message":"error parsing cursor and limit from query params: limit 'X' is not an integer: strconv.Atoi: parsing \"X\": invalid syntax"} === RUN TestHandler_GetProvisioners/fail/auth.GetProvisioners -2024/05/23 12:06:39 force +2023/04/22 07:50:35 force === RUN TestHandler_GetProvisioners/ok --- PASS: TestHandler_GetProvisioners (0.00s) --- PASS: TestHandler_GetProvisioners/fail/parse-cursor (0.00s) --- PASS: TestHandler_GetProvisioners/fail/auth.GetProvisioners (0.00s) --- PASS: TestHandler_GetProvisioners/ok (0.00s) === RUN TestHandler_CreateProvisioner +=== RUN TestHandler_CreateProvisioner/fail/readProtoJSON +2023/04/22 07:50:35 proto: syntax error (line 1:2): invalid value ! === RUN TestHandler_CreateProvisioner/fail/auth.StoreProvisioner -2024/05/23 12:06:39 error storing provisioner provName: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error storing provisioner provName: force"} +2023/04/22 07:50:35 error storing provisioner provName: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error storing provisioner provName: force"} === RUN TestHandler_CreateProvisioner/ok -=== RUN TestHandler_CreateProvisioner/fail/readProtoJSON -2024/05/23 12:06:39 proto: syntax error (line 1:2): invalid value ! --- PASS: TestHandler_CreateProvisioner (0.00s) + --- PASS: TestHandler_CreateProvisioner/fail/readProtoJSON (0.00s) --- PASS: TestHandler_CreateProvisioner/fail/auth.StoreProvisioner (0.00s) --- PASS: TestHandler_CreateProvisioner/ok (0.00s) - --- PASS: TestHandler_CreateProvisioner/fail/readProtoJSON (0.00s) === RUN TestHandler_DeleteProvisioner === RUN TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByID -2024/05/23 12:06:39 error loading provisioner provID: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provID: force"} +2023/04/22 07:50:35 error loading provisioner provID: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provID: force"} === RUN TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByName -2024/05/23 12:06:39 error loading provisioner provName: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} +2023/04/22 07:50:35 error loading provisioner provName: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner provName: force"} === RUN TestHandler_DeleteProvisioner/fail/auth.RemoveProvisioner -2024/05/23 12:06:39 error removing provisioner provName: force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error removing provisioner provName: force"} +2023/04/22 07:50:35 error removing provisioner provName: force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error removing provisioner provName: force"} === RUN TestHandler_DeleteProvisioner/ok ---- PASS: TestHandler_DeleteProvisioner (0.00s) +--- PASS: TestHandler_DeleteProvisioner (0.01s) --- PASS: TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByID (0.00s) --- PASS: TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByName (0.00s) --- PASS: TestHandler_DeleteProvisioner/fail/auth.RemoveProvisioner (0.00s) --- PASS: TestHandler_DeleteProvisioner/ok (0.00s) === RUN TestHandler_UpdateProvisioner === RUN TestHandler_UpdateProvisioner/fail/db.GetProvisioner -2024/05/23 12:06:39 error loading provisioner from db 'provID': force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner from db 'provID': force"} +2023/04/22 07:50:35 error loading provisioner from db 'provID': force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner from db 'provID': force"} === RUN TestHandler_UpdateProvisioner/fail/change-id-error -2024/05/23 12:06:39 cannot change provisioner ID -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner ID"} +2023/04/22 07:50:35 cannot change provisioner ID +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner ID"} +=== RUN TestHandler_UpdateProvisioner/fail/change-type-error +2023/04/22 07:50:35 cannot change provisioner type +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner type"} +=== RUN TestHandler_UpdateProvisioner/fail/change-authority-id-error +2023/04/22 07:50:35 cannot change provisioner authorityID +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner authorityID"} +=== RUN TestHandler_UpdateProvisioner/fail/auth.LoadProvisionerByName +2023/04/22 07:50:35 error loading provisioner from cached configuration 'provName': force +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner from cached configuration 'provName': force"} +=== RUN TestHandler_UpdateProvisioner/fail/change-createdAt-error +2023/04/22 07:50:35 cannot change provisioner createdAt +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner createdAt"} === RUN TestHandler_UpdateProvisioner/fail/change-deletedAt-error -2024/05/23 12:06:39 cannot change provisioner deletedAt -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner deletedAt"} +2023/04/22 07:50:35 cannot change provisioner deletedAt +2023/04/22 07:50:35 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner deletedAt"} === RUN TestHandler_UpdateProvisioner/fail/auth.UpdateProvisioner -2024/05/23 12:06:39 force +2023/04/22 07:50:35 force === RUN TestHandler_UpdateProvisioner/ok === RUN TestHandler_UpdateProvisioner/fail/readProtoJSON -2024/05/23 12:06:39 proto: syntax error (line 1:2): invalid value ! -=== RUN TestHandler_UpdateProvisioner/fail/change-type-error -2024/05/23 12:06:39 cannot change provisioner type -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner type"} -=== RUN TestHandler_UpdateProvisioner/fail/change-authority-id-error -2024/05/23 12:06:39 cannot change provisioner authorityID -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner authorityID"} -=== RUN TestHandler_UpdateProvisioner/fail/change-createdAt-error -2024/05/23 12:06:39 cannot change provisioner createdAt -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"cannot change provisioner createdAt"} -=== RUN TestHandler_UpdateProvisioner/fail/auth.LoadProvisionerByName -2024/05/23 12:06:39 error loading provisioner from cached configuration 'provName': force -2024/05/23 12:06:39 {"type":"internalServerError","detail":"the server experienced an internal error","message":"error loading provisioner from cached configuration 'provName': force"} ---- PASS: TestHandler_UpdateProvisioner (0.00s) +2023/04/22 07:50:35 proto: syntax error (line 1:2): invalid value ! +--- PASS: TestHandler_UpdateProvisioner (0.01s) --- PASS: TestHandler_UpdateProvisioner/fail/db.GetProvisioner (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/change-id-error (0.00s) + --- PASS: TestHandler_UpdateProvisioner/fail/change-type-error (0.00s) + --- PASS: TestHandler_UpdateProvisioner/fail/change-authority-id-error (0.00s) + --- PASS: TestHandler_UpdateProvisioner/fail/auth.LoadProvisionerByName (0.00s) + --- PASS: TestHandler_UpdateProvisioner/fail/change-createdAt-error (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/change-deletedAt-error (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/auth.UpdateProvisioner (0.00s) --- PASS: TestHandler_UpdateProvisioner/ok (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/readProtoJSON (0.00s) - --- PASS: TestHandler_UpdateProvisioner/fail/change-type-error (0.00s) - --- PASS: TestHandler_UpdateProvisioner/fail/change-authority-id-error (0.00s) - --- PASS: TestHandler_UpdateProvisioner/fail/change-createdAt-error (0.00s) - --- PASS: TestHandler_UpdateProvisioner/fail/auth.LoadProvisionerByName (0.00s) PASS -ok github.com/smallstep/certificates/authority/admin/api 0.172s +ok github.com/smallstep/certificates/authority/admin/api 0.106s === RUN TestDB_getDBAdminBytes +=== RUN TestDB_getDBAdminBytes/ok === RUN TestDB_getDBAdminBytes/fail/not-found === RUN TestDB_getDBAdminBytes/fail/db.Get-error -=== RUN TestDB_getDBAdminBytes/ok --- PASS: TestDB_getDBAdminBytes (0.00s) + --- PASS: TestDB_getDBAdminBytes/ok (0.00s) --- PASS: TestDB_getDBAdminBytes/fail/not-found (0.00s) --- PASS: TestDB_getDBAdminBytes/fail/db.Get-error (0.00s) - --- PASS: TestDB_getDBAdminBytes/ok (0.00s) === RUN TestDB_getDBAdmin +=== RUN TestDB_getDBAdmin/ok === RUN TestDB_getDBAdmin/fail/not-found === RUN TestDB_getDBAdmin/fail/db.Get-error === RUN TestDB_getDBAdmin/fail/unmarshal-error === RUN TestDB_getDBAdmin/fail/deleted -=== RUN TestDB_getDBAdmin/ok --- PASS: TestDB_getDBAdmin (0.00s) + --- PASS: TestDB_getDBAdmin/ok (0.00s) --- PASS: TestDB_getDBAdmin/fail/not-found (0.00s) --- PASS: TestDB_getDBAdmin/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBAdmin/fail/deleted (0.00s) - --- PASS: TestDB_getDBAdmin/ok (0.00s) === RUN TestDB_unmarshalDBAdmin -=== RUN TestDB_unmarshalDBAdmin/fail/authority-mismatch-error === RUN TestDB_unmarshalDBAdmin/ok === RUN TestDB_unmarshalDBAdmin/fail/unmarshal-error === RUN TestDB_unmarshalDBAdmin/fail/deleted-error +=== RUN TestDB_unmarshalDBAdmin/fail/authority-mismatch-error --- PASS: TestDB_unmarshalDBAdmin (0.00s) - --- PASS: TestDB_unmarshalDBAdmin/fail/authority-mismatch-error (0.00s) --- PASS: TestDB_unmarshalDBAdmin/ok (0.00s) --- PASS: TestDB_unmarshalDBAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_unmarshalDBAdmin/fail/deleted-error (0.00s) + --- PASS: TestDB_unmarshalDBAdmin/fail/authority-mismatch-error (0.00s) === RUN TestDB_unmarshalAdmin +=== RUN TestDB_unmarshalAdmin/fail/unmarshal-error === RUN TestDB_unmarshalAdmin/fail/deleted-error === RUN TestDB_unmarshalAdmin/ok -=== RUN TestDB_unmarshalAdmin/fail/unmarshal-error --- PASS: TestDB_unmarshalAdmin (0.00s) + --- PASS: TestDB_unmarshalAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_unmarshalAdmin/fail/deleted-error (0.00s) --- PASS: TestDB_unmarshalAdmin/ok (0.00s) - --- PASS: TestDB_unmarshalAdmin/fail/unmarshal-error (0.00s) === RUN TestDB_GetAdmin -=== RUN TestDB_GetAdmin/fail/not-found -=== RUN TestDB_GetAdmin/fail/db.Get-error === RUN TestDB_GetAdmin/fail/unmarshal-error === RUN TestDB_GetAdmin/fail/deleted === RUN TestDB_GetAdmin/fail/authorityID-mismatch === RUN TestDB_GetAdmin/ok ---- PASS: TestDB_GetAdmin (0.01s) - --- PASS: TestDB_GetAdmin/fail/not-found (0.00s) - --- PASS: TestDB_GetAdmin/fail/db.Get-error (0.00s) +=== RUN TestDB_GetAdmin/fail/not-found +=== RUN TestDB_GetAdmin/fail/db.Get-error +--- PASS: TestDB_GetAdmin (0.00s) --- PASS: TestDB_GetAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetAdmin/fail/deleted (0.00s) --- PASS: TestDB_GetAdmin/fail/authorityID-mismatch (0.00s) --- PASS: TestDB_GetAdmin/ok (0.00s) + --- PASS: TestDB_GetAdmin/fail/not-found (0.00s) + --- PASS: TestDB_GetAdmin/fail/db.Get-error (0.00s) === RUN TestDB_DeleteAdmin === RUN TestDB_DeleteAdmin/fail/save-error === RUN TestDB_DeleteAdmin/ok @@ -5128,15 +5169,15 @@ --- PASS: TestDB_DeleteAdmin/fail/not-found (0.00s) --- PASS: TestDB_DeleteAdmin/fail/db.Get-error (0.00s) === RUN TestDB_UpdateAdmin -=== RUN TestDB_UpdateAdmin/fail/not-found === RUN TestDB_UpdateAdmin/fail/db.Get-error === RUN TestDB_UpdateAdmin/fail/save-error === RUN TestDB_UpdateAdmin/ok ---- PASS: TestDB_UpdateAdmin (0.03s) - --- PASS: TestDB_UpdateAdmin/fail/not-found (0.00s) +=== RUN TestDB_UpdateAdmin/fail/not-found +--- PASS: TestDB_UpdateAdmin (0.00s) --- PASS: TestDB_UpdateAdmin/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateAdmin/fail/save-error (0.00s) - --- PASS: TestDB_UpdateAdmin/ok (0.03s) + --- PASS: TestDB_UpdateAdmin/ok (0.00s) + --- PASS: TestDB_UpdateAdmin/fail/not-found (0.00s) === RUN TestDB_CreateAdmin === RUN TestDB_CreateAdmin/fail/save-error === RUN TestDB_CreateAdmin/ok @@ -5144,17 +5185,17 @@ --- PASS: TestDB_CreateAdmin/fail/save-error (0.00s) --- PASS: TestDB_CreateAdmin/ok (0.00s) === RUN TestDB_GetAdmins +=== RUN TestDB_GetAdmins/ok/only-invalid +=== RUN TestDB_GetAdmins/ok === RUN TestDB_GetAdmins/fail/db.List-error === RUN TestDB_GetAdmins/fail/unmarshal-error === RUN TestDB_GetAdmins/ok/none -=== RUN TestDB_GetAdmins/ok/only-invalid -=== RUN TestDB_GetAdmins/ok --- PASS: TestDB_GetAdmins (0.00s) + --- PASS: TestDB_GetAdmins/ok/only-invalid (0.00s) + --- PASS: TestDB_GetAdmins/ok (0.00s) --- PASS: TestDB_GetAdmins/fail/db.List-error (0.00s) --- PASS: TestDB_GetAdmins/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetAdmins/ok/none (0.00s) - --- PASS: TestDB_GetAdmins/ok/only-invalid (0.00s) - --- PASS: TestDB_GetAdmins/ok (0.00s) === RUN TestDB_getDBProvisionerBytes === RUN TestDB_getDBProvisionerBytes/fail/db.Get-error === RUN TestDB_getDBProvisionerBytes/ok @@ -5180,11 +5221,11 @@ === RUN TestDB_unmarshalDBProvisioner/fail/deleted-error === RUN TestDB_unmarshalDBProvisioner/fail/authority-mismatch-error === RUN TestDB_unmarshalDBProvisioner/ok ---- PASS: TestDB_unmarshalDBProvisioner (0.02s) +--- PASS: TestDB_unmarshalDBProvisioner (0.00s) --- PASS: TestDB_unmarshalDBProvisioner/fail/unmarshal-error (0.00s) --- PASS: TestDB_unmarshalDBProvisioner/fail/deleted-error (0.00s) --- PASS: TestDB_unmarshalDBProvisioner/fail/authority-mismatch-error (0.00s) - --- PASS: TestDB_unmarshalDBProvisioner/ok (0.02s) + --- PASS: TestDB_unmarshalDBProvisioner/ok (0.00s) === RUN TestDB_unmarshalProvisioner === RUN TestDB_unmarshalProvisioner/fail/unmarshal-error === RUN TestDB_unmarshalProvisioner/fail/deleted-error @@ -5194,92 +5235,92 @@ --- PASS: TestDB_unmarshalProvisioner/fail/deleted-error (0.00s) --- PASS: TestDB_unmarshalProvisioner/ok (0.00s) === RUN TestDB_GetProvisioner -=== RUN TestDB_GetProvisioner/fail/db.Get-error -=== RUN TestDB_GetProvisioner/fail/unmarshal-error === RUN TestDB_GetProvisioner/fail/deleted === RUN TestDB_GetProvisioner/fail/authorityID-mismatch === RUN TestDB_GetProvisioner/ok === RUN TestDB_GetProvisioner/fail/not-found +=== RUN TestDB_GetProvisioner/fail/db.Get-error +=== RUN TestDB_GetProvisioner/fail/unmarshal-error --- PASS: TestDB_GetProvisioner (0.00s) - --- PASS: TestDB_GetProvisioner/fail/db.Get-error (0.00s) - --- PASS: TestDB_GetProvisioner/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetProvisioner/fail/deleted (0.00s) --- PASS: TestDB_GetProvisioner/fail/authorityID-mismatch (0.00s) --- PASS: TestDB_GetProvisioner/ok (0.00s) --- PASS: TestDB_GetProvisioner/fail/not-found (0.00s) + --- PASS: TestDB_GetProvisioner/fail/db.Get-error (0.00s) + --- PASS: TestDB_GetProvisioner/fail/unmarshal-error (0.00s) === RUN TestDB_DeleteProvisioner -=== RUN TestDB_DeleteProvisioner/ok === RUN TestDB_DeleteProvisioner/fail/not-found === RUN TestDB_DeleteProvisioner/fail/db.Get-error === RUN TestDB_DeleteProvisioner/fail/save-error +=== RUN TestDB_DeleteProvisioner/ok --- PASS: TestDB_DeleteProvisioner (0.01s) - --- PASS: TestDB_DeleteProvisioner/ok (0.01s) --- PASS: TestDB_DeleteProvisioner/fail/not-found (0.00s) --- PASS: TestDB_DeleteProvisioner/fail/db.Get-error (0.00s) --- PASS: TestDB_DeleteProvisioner/fail/save-error (0.00s) + --- PASS: TestDB_DeleteProvisioner/ok (0.00s) === RUN TestDB_GetProvisioners +=== RUN TestDB_GetProvisioners/ok/only-invalid +=== RUN TestDB_GetProvisioners/ok === RUN TestDB_GetProvisioners/fail/db.List-error === RUN TestDB_GetProvisioners/fail/unmarshal-error === RUN TestDB_GetProvisioners/ok/none -=== RUN TestDB_GetProvisioners/ok/only-invalid -=== RUN TestDB_GetProvisioners/ok --- PASS: TestDB_GetProvisioners (0.00s) + --- PASS: TestDB_GetProvisioners/ok/only-invalid (0.00s) + --- PASS: TestDB_GetProvisioners/ok (0.00s) --- PASS: TestDB_GetProvisioners/fail/db.List-error (0.00s) --- PASS: TestDB_GetProvisioners/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetProvisioners/ok/none (0.00s) - --- PASS: TestDB_GetProvisioners/ok/only-invalid (0.00s) - --- PASS: TestDB_GetProvisioners/ok (0.00s) === RUN TestDB_CreateProvisioner -=== RUN TestDB_CreateProvisioner/fail/save-error === RUN TestDB_CreateProvisioner/ok +=== RUN TestDB_CreateProvisioner/fail/save-error --- PASS: TestDB_CreateProvisioner (0.00s) - --- PASS: TestDB_CreateProvisioner/fail/save-error (0.00s) --- PASS: TestDB_CreateProvisioner/ok (0.00s) + --- PASS: TestDB_CreateProvisioner/fail/save-error (0.00s) === RUN TestDB_UpdateProvisioner +=== RUN TestDB_UpdateProvisioner/fail/db.Get-error === RUN TestDB_UpdateProvisioner/fail/update-deleted === RUN TestDB_UpdateProvisioner/fail/update-type-error === RUN TestDB_UpdateProvisioner/fail/save-error === RUN TestDB_UpdateProvisioner/ok === RUN TestDB_UpdateProvisioner/fail/not-found -=== RUN TestDB_UpdateProvisioner/fail/db.Get-error ---- PASS: TestDB_UpdateProvisioner (0.01s) +--- PASS: TestDB_UpdateProvisioner (0.00s) + --- PASS: TestDB_UpdateProvisioner/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateProvisioner/fail/update-deleted (0.00s) - --- PASS: TestDB_UpdateProvisioner/fail/update-type-error (0.01s) + --- PASS: TestDB_UpdateProvisioner/fail/update-type-error (0.00s) --- PASS: TestDB_UpdateProvisioner/fail/save-error (0.00s) --- PASS: TestDB_UpdateProvisioner/ok (0.00s) --- PASS: TestDB_UpdateProvisioner/fail/not-found (0.00s) - --- PASS: TestDB_UpdateProvisioner/fail/db.Get-error (0.00s) PASS -ok github.com/smallstep/certificates/authority/admin/db/nosql 0.134s +ok github.com/smallstep/certificates/authority/admin/db/nosql 0.116s ? github.com/smallstep/certificates/authority/administrator [no test files] === RUN TestConfigValidate -=== RUN TestConfigValidate/empty-TLS -tc.tls = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] MinVersion:1.2 MaxVersion:1.3 Renegotiation:false} -*tc.config.TLS = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] MinVersion:1.2 MaxVersion:1.3 Renegotiation:false} -=== RUN TestConfigValidate/tls-min>max +=== RUN TestConfigValidate/empty-address === RUN TestConfigValidate/empty-root === RUN TestConfigValidate/empty-intermediate-cert -=== RUN TestConfigValidate/empty-intermediate-key +=== RUN TestConfigValidate/empty-dnsNames === RUN TestConfigValidate/empty-TLS-values tc.tls = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] MinVersion:1.2 MaxVersion:1.3 Renegotiation:false} *tc.config.TLS = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] MinVersion:1.2 MaxVersion:1.3 Renegotiation:false} === RUN TestConfigValidate/custom-tls-values tc.tls = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305] MinVersion:1.0 MaxVersion:1.1 Renegotiation:true} *tc.config.TLS = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305] MinVersion:1.0 MaxVersion:1.1 Renegotiation:true} -=== RUN TestConfigValidate/empty-address === RUN TestConfigValidate/invalid-address -=== RUN TestConfigValidate/empty-dnsNames ---- PASS: TestConfigValidate (0.00s) - --- PASS: TestConfigValidate/empty-TLS (0.00s) - --- PASS: TestConfigValidate/tls-min>max (0.00s) +=== RUN TestConfigValidate/empty-intermediate-key +=== RUN TestConfigValidate/empty-TLS +tc.tls = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] MinVersion:1.2 MaxVersion:1.3 Renegotiation:false} +*tc.config.TLS = {CipherSuites:[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] MinVersion:1.2 MaxVersion:1.3 Renegotiation:false} +=== RUN TestConfigValidate/tls-min>max +--- PASS: TestConfigValidate (0.02s) + --- PASS: TestConfigValidate/empty-address (0.00s) --- PASS: TestConfigValidate/empty-root (0.00s) --- PASS: TestConfigValidate/empty-intermediate-cert (0.00s) - --- PASS: TestConfigValidate/empty-intermediate-key (0.00s) + --- PASS: TestConfigValidate/empty-dnsNames (0.00s) --- PASS: TestConfigValidate/empty-TLS-values (0.00s) --- PASS: TestConfigValidate/custom-tls-values (0.00s) - --- PASS: TestConfigValidate/empty-address (0.00s) --- PASS: TestConfigValidate/invalid-address (0.00s) - --- PASS: TestConfigValidate/empty-dnsNames (0.00s) + --- PASS: TestConfigValidate/empty-intermediate-key (0.00s) + --- PASS: TestConfigValidate/empty-TLS (0.00s) + --- PASS: TestConfigValidate/tls-min>max (0.00s) === RUN TestAuthConfigValidate === RUN TestAuthConfigValidate/ok-empty-asn1dn-template === RUN TestAuthConfigValidate/ok-custom-asn1dn @@ -5296,7 +5337,7 @@ === RUN Test_toHostname/127.0.0.1 === RUN Test_toHostname/::1 === RUN Test_toHostname/[::1] ---- PASS: Test_toHostname (0.01s) +--- PASS: Test_toHostname (0.00s) --- PASS: Test_toHostname/localhost (0.00s) --- PASS: Test_toHostname/ca.smallstep.com (0.00s) --- PASS: Test_toHostname/127.0.0.1 (0.00s) @@ -5331,7 +5372,7 @@ === RUN TestTLSVersion_Validate/1.2 === RUN TestTLSVersion_Validate/1.3 === RUN TestTLSVersion_Validate/0.99 ---- PASS: TestTLSVersion_Validate (0.00s) +--- PASS: TestTLSVersion_Validate (0.01s) --- PASS: TestTLSVersion_Validate/default (0.00s) --- PASS: TestTLSVersion_Validate/1.0 (0.00s) --- PASS: TestTLSVersion_Validate/1.1 (0.00s) @@ -5424,7 +5465,7 @@ === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 === RUN TestCipherSuites_Value/multiple === RUN TestCipherSuites_Value/fail ---- PASS: TestCipherSuites_Value (0.00s) +--- PASS: TestCipherSuites_Value (0.01s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_RC4_128_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_3DES_EDE_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_AES_128_CBC_SHA (0.00s) @@ -5437,7 +5478,7 @@ --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.00s) - --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0.00s) + --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0.01s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (0.00s) @@ -5458,7 +5499,7 @@ === RUN Test_multiString_First/empty === RUN Test_multiString_First/string === RUN Test_multiString_First/slice ---- PASS: Test_multiString_First (0.06s) +--- PASS: Test_multiString_First (0.00s) --- PASS: Test_multiString_First/empty (0.00s) --- PASS: Test_multiString_First/string (0.00s) --- PASS: Test_multiString_First/slice (0.00s) @@ -5497,7 +5538,7 @@ --- PASS: Test_multiString_UnmarshalJSON/error (0.00s) --- PASS: Test_multiString_UnmarshalJSON/nil (0.00s) PASS -ok github.com/smallstep/certificates/authority/config 0.222s +ok github.com/smallstep/certificates/authority/config 0.123s === RUN TestACME_Getters --- PASS: TestACME_Getters (0.00s) === RUN TestACME_Init @@ -5528,9 +5569,9 @@ === RUN TestAWS_GetTokenID/ok === RUN TestAWS_GetTokenID/ok_no_TOFU === RUN TestAWS_GetTokenID/fail ---- PASS: TestAWS_GetTokenID (0.02s) +--- PASS: TestAWS_GetTokenID (0.03s) --- PASS: TestAWS_GetTokenID/ok (0.00s) - --- PASS: TestAWS_GetTokenID/ok_no_TOFU (0.00s) + --- PASS: TestAWS_GetTokenID/ok_no_TOFU (0.01s) --- PASS: TestAWS_GetTokenID/fail (0.00s) === RUN TestAWS_GetIdentityToken === RUN TestAWS_GetIdentityToken/ok @@ -5542,20 +5583,20 @@ === RUN TestAWS_GetIdentityToken/fail_read_identityURL === RUN TestAWS_GetIdentityToken/fail_read_signatureURL === RUN TestAWS_GetIdentityToken/fail_unmarshal_identityURL ---- PASS: TestAWS_GetIdentityToken (0.11s) +--- PASS: TestAWS_GetIdentityToken (0.04s) --- PASS: TestAWS_GetIdentityToken/ok (0.00s) - --- PASS: TestAWS_GetIdentityToken/ok_no_imds (0.03s) + --- PASS: TestAWS_GetIdentityToken/ok_no_imds (0.01s) --- PASS: TestAWS_GetIdentityToken/fail_ca_url (0.00s) - --- PASS: TestAWS_GetIdentityToken/fail_identityURL (0.03s) - --- PASS: TestAWS_GetIdentityToken/fail_signatureURL (0.01s) + --- PASS: TestAWS_GetIdentityToken/fail_identityURL (0.01s) + --- PASS: TestAWS_GetIdentityToken/fail_signatureURL (0.00s) --- PASS: TestAWS_GetIdentityToken/fail_signature (0.01s) --- PASS: TestAWS_GetIdentityToken/fail_read_identityURL (0.00s) - --- PASS: TestAWS_GetIdentityToken/fail_read_signatureURL (0.00s) + --- PASS: TestAWS_GetIdentityToken/fail_read_signatureURL (0.01s) --- PASS: TestAWS_GetIdentityToken/fail_unmarshal_identityURL (0.00s) === RUN TestAWS_GetIdentityToken_V1Only ---- PASS: TestAWS_GetIdentityToken_V1Only (0.02s) +--- PASS: TestAWS_GetIdentityToken_V1Only (0.00s) === RUN TestAWS_GetIdentityToken_BadIDMS ---- PASS: TestAWS_GetIdentityToken_BadIDMS (0.00s) +--- PASS: TestAWS_GetIdentityToken_BadIDMS (0.01s) === RUN TestAWS_Init === RUN TestAWS_Init/ok === RUN TestAWS_Init/ok/v1 @@ -5570,7 +5611,7 @@ === RUN TestAWS_Init/fail/missing === RUN TestAWS_Init/fail/cert === RUN TestAWS_Init/fail_claims ---- PASS: TestAWS_Init (0.03s) +--- PASS: TestAWS_Init (0.02s) --- PASS: TestAWS_Init/ok (0.00s) --- PASS: TestAWS_Init/ok/v1 (0.00s) --- PASS: TestAWS_Init/ok/v2 (0.00s) @@ -5585,35 +5626,35 @@ --- PASS: TestAWS_Init/fail/cert (0.00s) --- PASS: TestAWS_Init/fail_claims (0.00s) === RUN TestAWS_authorizeToken -=== RUN TestAWS_authorizeToken/fail/invalid-account-id -=== RUN TestAWS_authorizeToken/ok/identityCert -=== RUN TestAWS_authorizeToken/fail/cannot-validate-sig -=== RUN TestAWS_authorizeToken/fail/invalid-token-issuer -=== RUN TestAWS_authorizeToken/fail/invalid-subject-disabled-custom-SANs -=== RUN TestAWS_authorizeToken/fail/empty-account-id -=== RUN TestAWS_authorizeToken/fail/empty-region -=== RUN TestAWS_authorizeToken/ok -=== RUN TestAWS_authorizeToken/ok/identityCert2 === RUN TestAWS_authorizeToken/fail/bad-token +=== RUN TestAWS_authorizeToken/fail/cannot-validate-sig +=== RUN TestAWS_authorizeToken/ok/identityCert === RUN TestAWS_authorizeToken/fail/empty-instance-id -=== RUN TestAWS_authorizeToken/fail/instance-age === RUN TestAWS_authorizeToken/fail/empty-private-ip +=== RUN TestAWS_authorizeToken/fail/invalid-subject-disabled-custom-SANs +=== RUN TestAWS_authorizeToken/fail/invalid-account-id +=== RUN TestAWS_authorizeToken/ok +=== RUN TestAWS_authorizeToken/fail/empty-region +=== RUN TestAWS_authorizeToken/fail/invalid-token-issuer === RUN TestAWS_authorizeToken/fail/invalid-audience ---- PASS: TestAWS_authorizeToken (0.45s) - --- PASS: TestAWS_authorizeToken/fail/invalid-account-id (0.05s) - --- PASS: TestAWS_authorizeToken/ok/identityCert (0.00s) - --- PASS: TestAWS_authorizeToken/fail/cannot-validate-sig (0.00s) - --- PASS: TestAWS_authorizeToken/fail/invalid-token-issuer (0.02s) - --- PASS: TestAWS_authorizeToken/fail/invalid-subject-disabled-custom-SANs (0.01s) - --- PASS: TestAWS_authorizeToken/fail/empty-account-id (0.00s) - --- PASS: TestAWS_authorizeToken/fail/empty-region (0.00s) - --- PASS: TestAWS_authorizeToken/ok (0.00s) - --- PASS: TestAWS_authorizeToken/ok/identityCert2 (0.00s) +=== RUN TestAWS_authorizeToken/fail/empty-account-id +=== RUN TestAWS_authorizeToken/fail/instance-age +=== RUN TestAWS_authorizeToken/ok/identityCert2 +--- PASS: TestAWS_authorizeToken (0.23s) --- PASS: TestAWS_authorizeToken/fail/bad-token (0.00s) + --- PASS: TestAWS_authorizeToken/fail/cannot-validate-sig (0.00s) + --- PASS: TestAWS_authorizeToken/ok/identityCert (0.00s) --- PASS: TestAWS_authorizeToken/fail/empty-instance-id (0.00s) - --- PASS: TestAWS_authorizeToken/fail/instance-age (0.00s) --- PASS: TestAWS_authorizeToken/fail/empty-private-ip (0.00s) + --- PASS: TestAWS_authorizeToken/fail/invalid-subject-disabled-custom-SANs (0.00s) + --- PASS: TestAWS_authorizeToken/fail/invalid-account-id (0.00s) + --- PASS: TestAWS_authorizeToken/ok (0.00s) + --- PASS: TestAWS_authorizeToken/fail/empty-region (0.00s) + --- PASS: TestAWS_authorizeToken/fail/invalid-token-issuer (0.00s) --- PASS: TestAWS_authorizeToken/fail/invalid-audience (0.00s) + --- PASS: TestAWS_authorizeToken/fail/empty-account-id (0.00s) + --- PASS: TestAWS_authorizeToken/fail/instance-age (0.00s) + --- PASS: TestAWS_authorizeToken/ok/identityCert2 (0.00s) === RUN TestAWS_AuthorizeSign === RUN TestAWS_AuthorizeSign/ok === RUN TestAWS_AuthorizeSign/ok#01 @@ -5633,13 +5674,13 @@ === RUN TestAWS_AuthorizeSign/fail_nbf === RUN TestAWS_AuthorizeSign/fail_key === RUN TestAWS_AuthorizeSign/fail_instance_age ---- PASS: TestAWS_AuthorizeSign (0.38s) +--- PASS: TestAWS_AuthorizeSign (0.19s) --- PASS: TestAWS_AuthorizeSign/ok (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#01 (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#02 (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#03 (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#04 (0.00s) - --- PASS: TestAWS_AuthorizeSign/fail_account (0.00s) + --- PASS: TestAWS_AuthorizeSign/fail_account (0.01s) --- PASS: TestAWS_AuthorizeSign/fail_token (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_subject (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_issuer (0.00s) @@ -5667,17 +5708,17 @@ === RUN TestAWS_AuthorizeSSHSign/fail-extra-principal === RUN TestAWS_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestAWS_AuthorizeSSHSign/fail-invalid-token ---- PASS: TestAWS_AuthorizeSSHSign (4.78s) - --- PASS: TestAWS_AuthorizeSSHSign/ok (0.03s) +--- PASS: TestAWS_AuthorizeSSHSign (1.16s) + --- PASS: TestAWS_AuthorizeSSHSign/ok (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-rsa2048 (0.00s) - --- PASS: TestAWS_AuthorizeSSHSign/ok-type (0.01s) - --- PASS: TestAWS_AuthorizeSSHSign/ok-principals (0.00s) - --- PASS: TestAWS_AuthorizeSSHSign/ok-principal-ip (0.01s) - --- PASS: TestAWS_AuthorizeSSHSign/ok-principal-hostname (0.00s) - --- PASS: TestAWS_AuthorizeSSHSign/ok-options (0.01s) + --- PASS: TestAWS_AuthorizeSSHSign/ok-type (0.00s) + --- PASS: TestAWS_AuthorizeSSHSign/ok-principals (0.02s) + --- PASS: TestAWS_AuthorizeSSHSign/ok-principal-ip (0.00s) + --- PASS: TestAWS_AuthorizeSSHSign/ok-principal-hostname (0.01s) + --- PASS: TestAWS_AuthorizeSSHSign/ok-options (0.00s) --- PASS: TestAWS_AuthorizeSSHSign/ok-custom (0.01s) - --- PASS: TestAWS_AuthorizeSSHSign/fail-rsa1024 (0.01s) - --- PASS: TestAWS_AuthorizeSSHSign/fail-type (0.00s) + --- PASS: TestAWS_AuthorizeSSHSign/fail-rsa1024 (0.00s) + --- PASS: TestAWS_AuthorizeSSHSign/fail-type (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/fail-principal (0.00s) --- PASS: TestAWS_AuthorizeSSHSign/fail-extra-principal (0.00s) --- PASS: TestAWS_AuthorizeSSHSign/fail-sshCA-disabled (0.00s) @@ -5695,7 +5736,7 @@ === RUN TestAzure_GetTokenID/ok_no_TOFU === RUN TestAzure_GetTokenID/fail_token === RUN TestAzure_GetTokenID/fail_claims ---- PASS: TestAzure_GetTokenID (0.01s) +--- PASS: TestAzure_GetTokenID (0.03s) --- PASS: TestAzure_GetTokenID/ok (0.00s) --- PASS: TestAzure_GetTokenID/ok_no_TOFU (0.00s) --- PASS: TestAzure_GetTokenID/fail_token (0.00s) @@ -5706,9 +5747,9 @@ === RUN TestAzure_GetIdentityToken/fail_unmarshal === RUN TestAzure_GetIdentityToken/fail_url === RUN TestAzure_GetIdentityToken/fail_connect ---- PASS: TestAzure_GetIdentityToken (0.02s) - --- PASS: TestAzure_GetIdentityToken/ok (0.00s) - --- PASS: TestAzure_GetIdentityToken/fail_request (0.02s) +--- PASS: TestAzure_GetIdentityToken (0.01s) + --- PASS: TestAzure_GetIdentityToken/ok (0.01s) + --- PASS: TestAzure_GetIdentityToken/fail_request (0.00s) --- PASS: TestAzure_GetIdentityToken/fail_unmarshal (0.00s) --- PASS: TestAzure_GetIdentityToken/fail_url (0.00s) --- PASS: TestAzure_GetIdentityToken/fail_connect (0.00s) @@ -5722,30 +5763,30 @@ === RUN TestAzure_Init/fail_discovery_URL === RUN TestAzure_Init/fail_JWK_URL === RUN TestAzure_Init/fail_config_Validate ---- PASS: TestAzure_Init (0.02s) - --- PASS: TestAzure_Init/ok (0.01s) - --- PASS: TestAzure_Init/ok_with_config (0.00s) +--- PASS: TestAzure_Init (0.03s) + --- PASS: TestAzure_Init/ok (0.00s) + --- PASS: TestAzure_Init/ok_with_config (0.02s) --- PASS: TestAzure_Init/fail_type (0.00s) --- PASS: TestAzure_Init/fail_name (0.00s) --- PASS: TestAzure_Init/fail_tenant_id (0.00s) --- PASS: TestAzure_Init/fail_claims (0.00s) --- PASS: TestAzure_Init/fail_discovery_URL (0.00s) --- PASS: TestAzure_Init/fail_JWK_URL (0.00s) - --- PASS: TestAzure_Init/fail_config_Validate (0.00s) + --- PASS: TestAzure_Init/fail_config_Validate (0.01s) === RUN TestAzure_authorizeToken -=== RUN TestAzure_authorizeToken/fail/invalid-token-issuer -=== RUN TestAzure_authorizeToken/fail/invalid-tenant-id === RUN TestAzure_authorizeToken/fail/invalid-xms-mir-id === RUN TestAzure_authorizeToken/ok === RUN TestAzure_authorizeToken/fail/bad-token === RUN TestAzure_authorizeToken/fail/cannot-validate-sig ---- PASS: TestAzure_authorizeToken (0.05s) - --- PASS: TestAzure_authorizeToken/fail/invalid-token-issuer (0.00s) - --- PASS: TestAzure_authorizeToken/fail/invalid-tenant-id (0.00s) - --- PASS: TestAzure_authorizeToken/fail/invalid-xms-mir-id (0.02s) +=== RUN TestAzure_authorizeToken/fail/invalid-token-issuer +=== RUN TestAzure_authorizeToken/fail/invalid-tenant-id +--- PASS: TestAzure_authorizeToken (0.01s) + --- PASS: TestAzure_authorizeToken/fail/invalid-xms-mir-id (0.00s) --- PASS: TestAzure_authorizeToken/ok (0.00s) --- PASS: TestAzure_authorizeToken/fail/bad-token (0.00s) - --- PASS: TestAzure_authorizeToken/fail/cannot-validate-sig (0.02s) + --- PASS: TestAzure_authorizeToken/fail/cannot-validate-sig (0.00s) + --- PASS: TestAzure_authorizeToken/fail/invalid-token-issuer (0.01s) + --- PASS: TestAzure_authorizeToken/fail/invalid-tenant-id (0.00s) === RUN TestAzure_AuthorizeSign === RUN TestAzure_AuthorizeSign/ok === RUN TestAzure_AuthorizeSign/ok#01 @@ -5762,22 +5803,22 @@ === RUN TestAzure_AuthorizeSign/fail_exp === RUN TestAzure_AuthorizeSign/fail_nbf === RUN TestAzure_AuthorizeSign/fail_key ---- PASS: TestAzure_AuthorizeSign (0.11s) +--- PASS: TestAzure_AuthorizeSign (0.03s) --- PASS: TestAzure_AuthorizeSign/ok (0.00s) --- PASS: TestAzure_AuthorizeSign/ok#01 (0.00s) --- PASS: TestAzure_AuthorizeSign/ok#02 (0.00s) --- PASS: TestAzure_AuthorizeSign/ok#03 (0.00s) - --- PASS: TestAzure_AuthorizeSign/ok#04 (0.02s) + --- PASS: TestAzure_AuthorizeSign/ok#04 (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_tenant (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_resource_group (0.00s) - --- PASS: TestAzure_AuthorizeSign/fail_subscription (0.00s) + --- PASS: TestAzure_AuthorizeSign/fail_subscription (0.01s) --- PASS: TestAzure_AuthorizeSign/fail_object_id (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_token (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_issuer (0.00s) - --- PASS: TestAzure_AuthorizeSign/fail_audience (0.02s) + --- PASS: TestAzure_AuthorizeSign/fail_audience (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_exp (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_nbf (0.00s) - --- PASS: TestAzure_AuthorizeSign/fail_key (0.01s) + --- PASS: TestAzure_AuthorizeSign/fail_key (0.00s) === RUN TestAzure_AuthorizeRenew === RUN TestAzure_AuthorizeRenew/ok === RUN TestAzure_AuthorizeRenew/fail/renew-disabled @@ -5797,14 +5838,14 @@ === RUN TestAzure_AuthorizeSSHSign/fail-extra-principal === RUN TestAzure_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestAzure_AuthorizeSSHSign/fail-invalid-token ---- PASS: TestAzure_AuthorizeSSHSign (1.79s) +--- PASS: TestAzure_AuthorizeSSHSign (1.34s) --- PASS: TestAzure_AuthorizeSSHSign/ok (0.00s) --- PASS: TestAzure_AuthorizeSSHSign/ok-rsa2048 (0.01s) - --- PASS: TestAzure_AuthorizeSSHSign/ok-type (0.02s) + --- PASS: TestAzure_AuthorizeSSHSign/ok-type (0.00s) --- PASS: TestAzure_AuthorizeSSHSign/ok-principals (0.00s) --- PASS: TestAzure_AuthorizeSSHSign/ok-options (0.01s) --- PASS: TestAzure_AuthorizeSSHSign/ok-custom (0.00s) - --- PASS: TestAzure_AuthorizeSSHSign/fail-rsa1024 (0.03s) + --- PASS: TestAzure_AuthorizeSSHSign/fail-rsa1024 (0.01s) --- PASS: TestAzure_AuthorizeSSHSign/fail-type (0.00s) --- PASS: TestAzure_AuthorizeSSHSign/fail-principal (0.00s) --- PASS: TestAzure_AuthorizeSSHSign/fail-extra-principal (0.01s) @@ -5846,10 +5887,10 @@ === RUN TestCollection_LoadByToken/bad === RUN TestCollection_LoadByToken/fail === RUN TestCollection_LoadByToken/fail-no-k8sSa-provisioner ---- PASS: TestCollection_LoadByToken (3.51s) +--- PASS: TestCollection_LoadByToken (5.61s) --- PASS: TestCollection_LoadByToken/ok1 (0.00s) --- PASS: TestCollection_LoadByToken/ok2 (0.00s) - --- PASS: TestCollection_LoadByToken/ok3 (0.01s) + --- PASS: TestCollection_LoadByToken/ok3 (0.00s) --- PASS: TestCollection_LoadByToken/ok4 (0.00s) --- PASS: TestCollection_LoadByToken/bad (0.00s) --- PASS: TestCollection_LoadByToken/fail (0.00s) @@ -5861,7 +5902,7 @@ === RUN TestCollection_LoadByCertificate/noExtension === RUN TestCollection_LoadByCertificate/notFound === RUN TestCollection_LoadByCertificate/badCert ---- PASS: TestCollection_LoadByCertificate (0.59s) +--- PASS: TestCollection_LoadByCertificate (1.77s) --- PASS: TestCollection_LoadByCertificate/ok1 (0.00s) --- PASS: TestCollection_LoadByCertificate/ok2 (0.00s) --- PASS: TestCollection_LoadByCertificate/ok3 (0.00s) @@ -5872,7 +5913,7 @@ === RUN TestCollection_LoadEncryptedKey/ok === RUN TestCollection_LoadEncryptedKey/oidc === RUN TestCollection_LoadEncryptedKey/notFound ---- PASS: TestCollection_LoadEncryptedKey (0.62s) +--- PASS: TestCollection_LoadEncryptedKey (0.71s) --- PASS: TestCollection_LoadEncryptedKey/ok (0.00s) --- PASS: TestCollection_LoadEncryptedKey/oidc (0.00s) --- PASS: TestCollection_LoadEncryptedKey/notFound (0.00s) @@ -5881,7 +5922,7 @@ === RUN TestCollection_Store/ok2 === RUN TestCollection_Store/fail1 === RUN TestCollection_Store/fail2 ---- PASS: TestCollection_Store (0.61s) +--- PASS: TestCollection_Store (1.61s) --- PASS: TestCollection_Store/ok1 (0.00s) --- PASS: TestCollection_Store/ok2 (0.00s) --- PASS: TestCollection_Store/fail1 (0.00s) @@ -5895,7 +5936,7 @@ === RUN TestCollection_Find/1_to_5 === RUN TestCollection_Find/defaultLimit === RUN TestCollection_Find/overTheLimit ---- PASS: TestCollection_Find (6.49s) +--- PASS: TestCollection_Find (6.56s) --- PASS: TestCollection_Find/all (0.00s) --- PASS: TestCollection_Find/0_to_19 (0.00s) --- PASS: TestCollection_Find/0_to_9 (0.00s) @@ -5905,23 +5946,23 @@ --- PASS: TestCollection_Find/defaultLimit (0.00s) --- PASS: TestCollection_Find/overTheLimit (0.00s) === RUN Test_matchesAudience +=== RUN Test_matchesAudience/false_arg1,arg2_empty +=== RUN Test_matchesAudience/false === RUN Test_matchesAudience/true === RUN Test_matchesAudience/true,portsA === RUN Test_matchesAudience/true,portsB === RUN Test_matchesAudience/true,portsAB === RUN Test_matchesAudience/false_arg1_empty === RUN Test_matchesAudience/false_arg2_empty -=== RUN Test_matchesAudience/false_arg1,arg2_empty -=== RUN Test_matchesAudience/false --- PASS: Test_matchesAudience (0.00s) + --- PASS: Test_matchesAudience/false_arg1,arg2_empty (0.00s) + --- PASS: Test_matchesAudience/false (0.00s) --- PASS: Test_matchesAudience/true (0.00s) --- PASS: Test_matchesAudience/true,portsA (0.00s) --- PASS: Test_matchesAudience/true,portsB (0.00s) --- PASS: Test_matchesAudience/true,portsAB (0.00s) --- PASS: Test_matchesAudience/false_arg1_empty (0.00s) --- PASS: Test_matchesAudience/false_arg2_empty (0.00s) - --- PASS: Test_matchesAudience/false_arg1,arg2_empty (0.00s) - --- PASS: Test_matchesAudience/false (0.00s) === RUN Test_stripPort === RUN Test_stripPort/with_port === RUN Test_stripPort/with_no_port @@ -6064,7 +6105,7 @@ === RUN TestGetProvisionerExtension/ok === RUN TestGetProvisionerExtension/fail_unmarshal === RUN TestGetProvisionerExtension/missing_extension ---- PASS: TestGetProvisionerExtension (0.00s) +--- PASS: TestGetProvisionerExtension (0.01s) --- PASS: TestGetProvisionerExtension/ok (0.00s) --- PASS: TestGetProvisionerExtension/fail_unmarshal (0.00s) --- PASS: TestGetProvisionerExtension/missing_extension (0.00s) @@ -6075,7 +6116,7 @@ === RUN TestGCP_GetTokenID/ok#01 === RUN TestGCP_GetTokenID/fail_token === RUN TestGCP_GetTokenID/fail_claims ---- PASS: TestGCP_GetTokenID (0.00s) +--- PASS: TestGCP_GetTokenID (0.01s) --- PASS: TestGCP_GetTokenID/ok (0.00s) --- PASS: TestGCP_GetTokenID/ok#01 (0.00s) --- PASS: TestGCP_GetTokenID/fail_token (0.00s) @@ -6089,9 +6130,9 @@ gcp_test.go:149: error on identity request: status=400, response=Bad Request === RUN TestGCP_GetIdentityToken/fail_url - gcp_test.go:149: error creating identity request: parse "://ca.smallstep.com?audience=https%3A%2F%2Fca%2F1.0%2Fsign%23gcp%2FJkZewDLXSf&format=full&licenses=FALSE": missing protocol scheme + gcp_test.go:149: error creating identity request: parse "://ca.smallstep.com?audience=https%3A%2F%2Fca%2F1.0%2Fsign%23gcp%2F77SUtkFWyJ&format=full&licenses=FALSE": missing protocol scheme === RUN TestGCP_GetIdentityToken/fail_connect - gcp_test.go:149: error doing identity request, are you in a GCP VM?: Get "foobarzar?audience=https%3A%2F%2Fca%2F1.0%2Fsign%23gcp%2FJkZewDLXSf&format=full&licenses=FALSE": unsupported protocol scheme "" + gcp_test.go:149: error doing identity request, are you in a GCP VM?: Get "foobarzar?audience=https%3A%2F%2Fca%2F1.0%2Fsign%23gcp%2F77SUtkFWyJ&format=full&licenses=FALSE": unsupported protocol scheme "" --- PASS: TestGCP_GetIdentityToken (0.00s) --- PASS: TestGCP_GetIdentityToken/ok (0.00s) --- PASS: TestGCP_GetIdentityToken/fail_ca_url (0.00s) @@ -6107,8 +6148,8 @@ === RUN TestGCP_Init/bad_duration === RUN TestGCP_Init/bad_claims === RUN TestGCP_Init/bad_certs ---- PASS: TestGCP_Init (0.01s) - --- PASS: TestGCP_Init/ok (0.00s) +--- PASS: TestGCP_Init (0.02s) + --- PASS: TestGCP_Init/ok (0.01s) --- PASS: TestGCP_Init/ok#01 (0.00s) --- PASS: TestGCP_Init/ok#02 (0.00s) --- PASS: TestGCP_Init/bad_type (0.00s) @@ -6117,29 +6158,29 @@ --- PASS: TestGCP_Init/bad_claims (0.00s) --- PASS: TestGCP_Init/bad_certs (0.00s) === RUN TestGCP_authorizeToken +=== RUN TestGCP_authorizeToken/fail/empty-zone +=== RUN TestGCP_authorizeToken/fail/bad-token === RUN TestGCP_authorizeToken/fail/invalid-issuer === RUN TestGCP_authorizeToken/fail/invalid-serviceAccount -=== RUN TestGCP_authorizeToken/fail/invalid-projectID === RUN TestGCP_authorizeToken/fail/instance-age -=== RUN TestGCP_authorizeToken/fail/cannot-validate-sig === RUN TestGCP_authorizeToken/fail/empty-instance-id === RUN TestGCP_authorizeToken/fail/empty-instance-name === RUN TestGCP_authorizeToken/fail/empty-project-id -=== RUN TestGCP_authorizeToken/fail/empty-zone +=== RUN TestGCP_authorizeToken/fail/cannot-validate-sig +=== RUN TestGCP_authorizeToken/fail/invalid-projectID === RUN TestGCP_authorizeToken/ok -=== RUN TestGCP_authorizeToken/fail/bad-token ---- PASS: TestGCP_authorizeToken (0.02s) +--- PASS: TestGCP_authorizeToken (0.03s) + --- PASS: TestGCP_authorizeToken/fail/empty-zone (0.00s) + --- PASS: TestGCP_authorizeToken/fail/bad-token (0.00s) --- PASS: TestGCP_authorizeToken/fail/invalid-issuer (0.00s) --- PASS: TestGCP_authorizeToken/fail/invalid-serviceAccount (0.00s) - --- PASS: TestGCP_authorizeToken/fail/invalid-projectID (0.00s) --- PASS: TestGCP_authorizeToken/fail/instance-age (0.00s) - --- PASS: TestGCP_authorizeToken/fail/cannot-validate-sig (0.00s) --- PASS: TestGCP_authorizeToken/fail/empty-instance-id (0.00s) - --- PASS: TestGCP_authorizeToken/fail/empty-instance-name (0.00s) + --- PASS: TestGCP_authorizeToken/fail/empty-instance-name (0.01s) --- PASS: TestGCP_authorizeToken/fail/empty-project-id (0.00s) - --- PASS: TestGCP_authorizeToken/fail/empty-zone (0.00s) + --- PASS: TestGCP_authorizeToken/fail/cannot-validate-sig (0.00s) + --- PASS: TestGCP_authorizeToken/fail/invalid-projectID (0.01s) --- PASS: TestGCP_authorizeToken/ok (0.00s) - --- PASS: TestGCP_authorizeToken/fail/bad-token (0.00s) === RUN TestGCP_AuthorizeSign === RUN TestGCP_AuthorizeSign/ok === RUN TestGCP_AuthorizeSign/ok#01 @@ -6163,13 +6204,13 @@ --- PASS: TestGCP_AuthorizeSign/ok#02 (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_token (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_key (0.00s) - --- PASS: TestGCP_AuthorizeSign/fail_iss (0.00s) + --- PASS: TestGCP_AuthorizeSign/fail_iss (0.01s) --- PASS: TestGCP_AuthorizeSign/fail_aud (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_exp (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_nbf (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_service_account (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_invalid_project_id (0.00s) - --- PASS: TestGCP_AuthorizeSign/fail_invalid_instance_age (0.00s) + --- PASS: TestGCP_AuthorizeSign/fail_invalid_instance_age (0.01s) --- PASS: TestGCP_AuthorizeSign/fail_instance_id (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_instance_name (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_project_id (0.00s) @@ -6189,15 +6230,15 @@ === RUN TestGCP_AuthorizeSSHSign/fail-extra-principal === RUN TestGCP_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestGCP_AuthorizeSSHSign/fail-invalid-token ---- PASS: TestGCP_AuthorizeSSHSign (1.69s) +--- PASS: TestGCP_AuthorizeSSHSign (2.14s) --- PASS: TestGCP_AuthorizeSSHSign/ok (0.00s) --- PASS: TestGCP_AuthorizeSSHSign/ok-rsa2048 (0.00s) --- PASS: TestGCP_AuthorizeSSHSign/ok-type (0.00s) --- PASS: TestGCP_AuthorizeSSHSign/ok-principals (0.00s) - --- PASS: TestGCP_AuthorizeSSHSign/ok-principal1 (0.00s) - --- PASS: TestGCP_AuthorizeSSHSign/ok-principal2 (0.01s) + --- PASS: TestGCP_AuthorizeSSHSign/ok-principal1 (0.01s) + --- PASS: TestGCP_AuthorizeSSHSign/ok-principal2 (0.00s) --- PASS: TestGCP_AuthorizeSSHSign/ok-options (0.00s) - --- PASS: TestGCP_AuthorizeSSHSign/ok-custom (0.00s) + --- PASS: TestGCP_AuthorizeSSHSign/ok-custom (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/fail-rsa1024 (0.00s) --- PASS: TestGCP_AuthorizeSSHSign/fail-type (0.00s) --- PASS: TestGCP_AuthorizeSSHSign/fail-principal (0.00s) @@ -6211,21 +6252,21 @@ --- PASS: TestGCP_AuthorizeRenew/ok (0.00s) --- PASS: TestGCP_AuthorizeRenew/fail/renewal-disabled (0.00s) === RUN TestJWK_Getters ---- PASS: TestJWK_Getters (0.48s) +--- PASS: TestJWK_Getters (0.39s) === RUN TestJWK_Init +=== RUN TestJWK_Init/fail-empty +=== RUN TestJWK_Init/fail-empty-name === RUN TestJWK_Init/fail-empty-type === RUN TestJWK_Init/fail-empty-key === RUN TestJWK_Init/fail-bad-claims === RUN TestJWK_Init/ok -=== RUN TestJWK_Init/fail-empty -=== RUN TestJWK_Init/fail-empty-name --- PASS: TestJWK_Init (0.00s) + --- PASS: TestJWK_Init/fail-empty (0.00s) + --- PASS: TestJWK_Init/fail-empty-name (0.00s) --- PASS: TestJWK_Init/fail-empty-type (0.00s) --- PASS: TestJWK_Init/fail-empty-key (0.00s) --- PASS: TestJWK_Init/fail-bad-claims (0.00s) --- PASS: TestJWK_Init/ok (0.00s) - --- PASS: TestJWK_Init/fail-empty (0.00s) - --- PASS: TestJWK_Init/fail-empty-name (0.00s) === RUN TestJWK_authorizeToken === RUN TestJWK_authorizeToken/fail-token === RUN TestJWK_authorizeToken/fail-key @@ -6239,7 +6280,7 @@ === RUN TestJWK_authorizeToken/ok === RUN TestJWK_authorizeToken/ok-no-encrypted-key === RUN TestJWK_authorizeToken/ok-no-sans ---- PASS: TestJWK_authorizeToken (2.00s) +--- PASS: TestJWK_authorizeToken (1.73s) --- PASS: TestJWK_authorizeToken/fail-token (0.00s) --- PASS: TestJWK_authorizeToken/fail-key (0.00s) --- PASS: TestJWK_authorizeToken/fail-claims (0.00s) @@ -6251,25 +6292,25 @@ --- PASS: TestJWK_authorizeToken/fail-subject (0.00s) --- PASS: TestJWK_authorizeToken/ok (0.00s) --- PASS: TestJWK_authorizeToken/ok-no-encrypted-key (0.00s) - --- PASS: TestJWK_authorizeToken/ok-no-sans (0.01s) + --- PASS: TestJWK_authorizeToken/ok-no-sans (0.00s) === RUN TestJWK_AuthorizeRevoke === RUN TestJWK_AuthorizeRevoke/fail-signature === RUN TestJWK_AuthorizeRevoke/ok ---- PASS: TestJWK_AuthorizeRevoke (0.94s) +--- PASS: TestJWK_AuthorizeRevoke (0.89s) --- PASS: TestJWK_AuthorizeRevoke/fail-signature (0.00s) --- PASS: TestJWK_AuthorizeRevoke/ok (0.00s) === RUN TestJWK_AuthorizeSign === RUN TestJWK_AuthorizeSign/fail-signature === RUN TestJWK_AuthorizeSign/ok-sans === RUN TestJWK_AuthorizeSign/ok-no-sans ---- PASS: TestJWK_AuthorizeSign (0.95s) +--- PASS: TestJWK_AuthorizeSign (0.88s) --- PASS: TestJWK_AuthorizeSign/fail-signature (0.00s) --- PASS: TestJWK_AuthorizeSign/ok-sans (0.00s) --- PASS: TestJWK_AuthorizeSign/ok-no-sans (0.00s) === RUN TestJWK_AuthorizeRenew === RUN TestJWK_AuthorizeRenew/ok === RUN TestJWK_AuthorizeRenew/fail/renew-disabled ---- PASS: TestJWK_AuthorizeRenew (0.71s) +--- PASS: TestJWK_AuthorizeRenew (0.90s) --- PASS: TestJWK_AuthorizeRenew/ok (0.00s) --- PASS: TestJWK_AuthorizeRenew/fail/renew-disabled (0.00s) === RUN TestJWK_AuthorizeSSHSign @@ -6285,19 +6326,19 @@ === RUN TestJWK_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestJWK_AuthorizeSSHSign/fail-signature === RUN TestJWK_AuthorizeSSHSign/rail-rsa1024 ---- PASS: TestJWK_AuthorizeSSHSign (1.66s) +--- PASS: TestJWK_AuthorizeSSHSign (2.14s) --- PASS: TestJWK_AuthorizeSSHSign/user (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/user-rsa2048 (0.00s) - --- PASS: TestJWK_AuthorizeSSHSign/user-type (0.01s) + --- PASS: TestJWK_AuthorizeSSHSign/user-type (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/user-principals (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/user-options (0.00s) - --- PASS: TestJWK_AuthorizeSSHSign/host (0.00s) + --- PASS: TestJWK_AuthorizeSSHSign/host (0.01s) --- PASS: TestJWK_AuthorizeSSHSign/host-type (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/host-principals (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/host-options (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/fail-sshCA-disabled (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/fail-signature (0.00s) - --- PASS: TestJWK_AuthorizeSSHSign/rail-rsa1024 (0.00s) + --- PASS: TestJWK_AuthorizeSSHSign/rail-rsa1024 (0.01s) === RUN TestJWK_AuthorizeSign_SSHOptions === RUN TestJWK_AuthorizeSign_SSHOptions/ok-user === RUN TestJWK_AuthorizeSign_SSHOptions/ok-host @@ -6314,42 +6355,42 @@ === RUN TestJWK_AuthorizeSign_SSHOptions/fail-audience === RUN TestJWK_AuthorizeSign_SSHOptions/fail-expired === RUN TestJWK_AuthorizeSign_SSHOptions/fail-notBefore ---- PASS: TestJWK_AuthorizeSign_SSHOptions (0.79s) - --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user (0.00s) - --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-host (0.00s) +--- PASS: TestJWK_AuthorizeSign_SSHOptions (1.26s) + --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user (0.02s) + --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-host (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-validAfter (0.00s) - --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-validBefore (0.01s) + --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-validBefore (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-validAfter-validBefore (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-match (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-certType (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-principals (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-validAfter (0.00s) - --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-validBefore (0.00s) - --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-subject (0.01s) + --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-validBefore (0.01s) + --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-subject (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-issuer (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-audience (0.00s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-expired (0.00s) - --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-notBefore (0.01s) + --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-notBefore (0.00s) === RUN TestJWK_AuthorizeSSHRevoke -=== RUN TestJWK_AuthorizeSSHRevoke/ok === RUN TestJWK_AuthorizeSSHRevoke/fail/invalid-token ---- PASS: TestJWK_AuthorizeSSHRevoke (1.16s) - --- PASS: TestJWK_AuthorizeSSHRevoke/ok (0.73s) - --- PASS: TestJWK_AuthorizeSSHRevoke/fail/invalid-token (0.43s) +=== RUN TestJWK_AuthorizeSSHRevoke/ok +--- PASS: TestJWK_AuthorizeSSHRevoke (1.26s) + --- PASS: TestJWK_AuthorizeSSHRevoke/fail/invalid-token (0.54s) + --- PASS: TestJWK_AuthorizeSSHRevoke/ok (0.71s) === RUN TestK8sSA_Getters --- PASS: TestK8sSA_Getters (0.00s) === RUN TestK8sSA_authorizeToken +=== RUN TestK8sSA_authorizeToken/fail/bad-token === RUN TestK8sSA_authorizeToken/fail/not-implemented === RUN TestK8sSA_authorizeToken/fail/error-validating-token === RUN TestK8sSA_authorizeToken/fail/invalid-issuer === RUN TestK8sSA_authorizeToken/ok -=== RUN TestK8sSA_authorizeToken/fail/bad-token --- PASS: TestK8sSA_authorizeToken (0.01s) + --- PASS: TestK8sSA_authorizeToken/fail/bad-token (0.00s) --- PASS: TestK8sSA_authorizeToken/fail/not-implemented (0.00s) --- PASS: TestK8sSA_authorizeToken/fail/error-validating-token (0.00s) --- PASS: TestK8sSA_authorizeToken/fail/invalid-issuer (0.00s) --- PASS: TestK8sSA_authorizeToken/ok (0.00s) - --- PASS: TestK8sSA_authorizeToken/fail/bad-token (0.00s) === RUN TestK8sSA_AuthorizeRevoke === RUN TestK8sSA_AuthorizeRevoke/fail/invalid-token === RUN TestK8sSA_AuthorizeRevoke/ok @@ -6383,7 +6424,7 @@ --- PASS: Test_newKeyStore/ok (0.00s) --- PASS: Test_newKeyStore/fail (0.00s) === RUN Test_keyStore ---- PASS: Test_keyStore (5.00s) +--- PASS: Test_keyStore (5.01s) === RUN Test_keyStore_noCache --- PASS: Test_keyStore_noCache (0.01s) === RUN Test_keyStore_Get @@ -6442,7 +6483,7 @@ === RUN TestNebula_GetTokenID/ok === RUN TestNebula_GetTokenID/fail_parse === RUN TestNebula_GetTokenID/fail_claims ---- PASS: TestNebula_GetTokenID (0.01s) +--- PASS: TestNebula_GetTokenID (0.02s) --- PASS: TestNebula_GetTokenID/ok (0.00s) --- PASS: TestNebula_GetTokenID/fail_parse (0.00s) --- PASS: TestNebula_GetTokenID/fail_claims (0.00s) @@ -6463,9 +6504,9 @@ === RUN TestNebula_AuthorizeSign/ok_no_sans === RUN TestNebula_AuthorizeSign/fail_token === RUN TestNebula_AuthorizeSign/fail_template ---- PASS: TestNebula_AuthorizeSign (0.01s) +--- PASS: TestNebula_AuthorizeSign (0.02s) --- PASS: TestNebula_AuthorizeSign/ok (0.00s) - --- PASS: TestNebula_AuthorizeSign/ok_no_sans (0.00s) + --- PASS: TestNebula_AuthorizeSign/ok_no_sans (0.01s) --- PASS: TestNebula_AuthorizeSign/fail_token (0.00s) --- PASS: TestNebula_AuthorizeSign/fail_template (0.00s) === RUN TestNebula_AuthorizeSSHSign @@ -6480,7 +6521,7 @@ --- PASS: TestNebula_AuthorizeSSHSign (0.03s) --- PASS: TestNebula_AuthorizeSSHSign/ok (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/ok_no_options (0.00s) - --- PASS: TestNebula_AuthorizeSSHSign/ok_with_validity (0.00s) + --- PASS: TestNebula_AuthorizeSSHSign/ok_with_validity (0.01s) --- PASS: TestNebula_AuthorizeSSHSign/fail_token (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/fail_user (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/fail_principals (0.00s) @@ -6508,7 +6549,7 @@ --- PASS: TestNebula_AuthorizeSSHRevoke/fail_disabled (0.00s) === RUN TestNebula_AuthorizeSSHRenew === RUN TestNebula_AuthorizeSSHRenew/fail ---- PASS: TestNebula_AuthorizeSSHRenew (0.00s) +--- PASS: TestNebula_AuthorizeSSHRenew (0.01s) --- PASS: TestNebula_AuthorizeSSHRenew/fail (0.00s) === RUN TestNebula_AuthorizeSSHRekey === RUN TestNebula_AuthorizeSSHRekey/fail @@ -6537,7 +6578,7 @@ --- PASS: TestNebula_authorizeToken/fail_claims_nbf (0.00s) --- PASS: TestNebula_authorizeToken/fail_claims_iss (0.00s) --- PASS: TestNebula_authorizeToken/fail_claims_aud (0.00s) - --- PASS: TestNebula_authorizeToken/fail_claims_sub (0.00s) + --- PASS: TestNebula_authorizeToken/fail_claims_sub (0.01s) === RUN Test_nebulaSANsValidator_Valid === RUN Test_nebulaSANsValidator_Valid/ok === RUN Test_nebulaSANsValidator_Valid/ok_name_only @@ -6606,7 +6647,7 @@ === RUN TestOIDC_Init/bad-parse-url === RUN TestOIDC_Init/bad-get-url === RUN TestOIDC_Init/bad-listen-address ---- PASS: TestOIDC_Init (0.02s) +--- PASS: TestOIDC_Init (0.01s) --- PASS: TestOIDC_Init/ok (0.00s) --- PASS: TestOIDC_Init/ok-admins (0.00s) --- PASS: TestOIDC_Init/ok-domains (0.00s) @@ -6637,7 +6678,7 @@ === RUN TestOIDC_authorizeToken/fail-signature === RUN TestOIDC_authorizeToken/fail-expired === RUN TestOIDC_authorizeToken/fail-not-before ---- PASS: TestOIDC_authorizeToken (0.02s) +--- PASS: TestOIDC_authorizeToken (0.04s) --- PASS: TestOIDC_authorizeToken/ok1 (0.00s) --- PASS: TestOIDC_authorizeToken/ok_tenantid (0.00s) --- PASS: TestOIDC_authorizeToken/ok_admin (0.00s) @@ -6657,8 +6698,8 @@ === RUN TestOIDC_AuthorizeSign/admin === RUN TestOIDC_AuthorizeSign/no-email === RUN TestOIDC_AuthorizeSign/bad-token ---- PASS: TestOIDC_AuthorizeSign (0.02s) - --- PASS: TestOIDC_AuthorizeSign/ok1 (0.01s) +--- PASS: TestOIDC_AuthorizeSign (0.03s) + --- PASS: TestOIDC_AuthorizeSign/ok1 (0.00s) --- PASS: TestOIDC_AuthorizeSign/admin (0.00s) --- PASS: TestOIDC_AuthorizeSign/no-email (0.00s) --- PASS: TestOIDC_AuthorizeSign/bad-token (0.00s) @@ -6696,15 +6737,15 @@ === RUN TestOIDC_AuthorizeSSHSign/fail-admin-type === RUN TestOIDC_AuthorizeSSHSign/fail-admin-key-id === RUN TestOIDC_AuthorizeSSHSign/fail-admin-principals ---- PASS: TestOIDC_AuthorizeSSHSign (0.80s) - --- PASS: TestOIDC_AuthorizeSSHSign/ok (0.02s) - --- PASS: TestOIDC_AuthorizeSSHSign/ok-rsa2048 (0.00s) +--- PASS: TestOIDC_AuthorizeSSHSign (0.77s) + --- PASS: TestOIDC_AuthorizeSSHSign/ok (0.00s) + --- PASS: TestOIDC_AuthorizeSSHSign/ok-rsa2048 (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-user (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-principals (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-principals-getIdentity (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-emptyPrincipals-getIdentity (0.00s) - --- PASS: TestOIDC_AuthorizeSSHSign/ok-options (0.00s) - --- PASS: TestOIDC_AuthorizeSSHSign/ok-admin-user (0.02s) + --- PASS: TestOIDC_AuthorizeSSHSign/ok-options (0.01s) + --- PASS: TestOIDC_AuthorizeSSHSign/ok-admin-user (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-admin-host (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-admin-options (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-rsa1024 (0.00s) @@ -6720,7 +6761,7 @@ === RUN TestOIDC_AuthorizeSSHRevoke/ok === RUN TestOIDC_AuthorizeSSHRevoke/fail/invalid-token === RUN TestOIDC_AuthorizeSSHRevoke/fail/not-admin ---- PASS: TestOIDC_AuthorizeSSHRevoke (0.02s) +--- PASS: TestOIDC_AuthorizeSSHRevoke (0.01s) --- PASS: TestOIDC_AuthorizeSSHRevoke/ok (0.00s) --- PASS: TestOIDC_AuthorizeSSHRevoke/fail/invalid-token (0.00s) --- PASS: TestOIDC_AuthorizeSSHRevoke/fail/not-admin (0.00s) @@ -6782,9 +6823,9 @@ === RUN TestTemplateOptions/ok === RUN TestTemplateOptions/okCustomTemplate === RUN TestTemplateOptions/fail ---- PASS: TestTemplateOptions (0.01s) +--- PASS: TestTemplateOptions (0.00s) --- PASS: TestTemplateOptions/ok (0.00s) - --- PASS: TestTemplateOptions/okCustomTemplate (0.01s) + --- PASS: TestTemplateOptions/okCustomTemplate (0.00s) --- PASS: TestTemplateOptions/fail (0.00s) === RUN TestCustomTemplateOptions === RUN TestCustomTemplateOptions/ok @@ -6799,10 +6840,10 @@ === RUN TestCustomTemplateOptions/okNullTemplateData === RUN TestCustomTemplateOptions/fail === RUN TestCustomTemplateOptions/failTemplateData ---- PASS: TestCustomTemplateOptions (0.03s) +--- PASS: TestCustomTemplateOptions (0.01s) --- PASS: TestCustomTemplateOptions/ok (0.00s) --- PASS: TestCustomTemplateOptions/okIID (0.00s) - --- PASS: TestCustomTemplateOptions/okNoData (0.01s) + --- PASS: TestCustomTemplateOptions/okNoData (0.00s) --- PASS: TestCustomTemplateOptions/okTemplateData (0.00s) --- PASS: TestCustomTemplateOptions/okTemplate (0.00s) --- PASS: TestCustomTemplateOptions/okFile (0.00s) @@ -6853,26 +6894,26 @@ --- PASS: TestSanitizeSSHUserPrincipal/email_with_underscores (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/email_with_symbols (0.00s) === RUN TestDefaultIdentityFunc -=== RUN TestDefaultIdentityFunc/fail/bad-ssh-regex -=== RUN TestDefaultIdentityFunc/ok_username +=== RUN TestDefaultIdentityFunc/ok_symbol === RUN TestDefaultIdentityFunc/ok_usernames === RUN TestDefaultIdentityFunc/fail/unsupported-provisioner +=== RUN TestDefaultIdentityFunc/fail/bad-ssh-regex === RUN TestDefaultIdentityFunc/ok === RUN TestDefaultIdentityFunc/ok_letter_case -=== RUN TestDefaultIdentityFunc/ok_simple === RUN TestDefaultIdentityFunc/ok_simple_letter_case -=== RUN TestDefaultIdentityFunc/ok_symbol +=== RUN TestDefaultIdentityFunc/ok_simple +=== RUN TestDefaultIdentityFunc/ok_username === RUN TestDefaultIdentityFunc/ok_empty_username --- PASS: TestDefaultIdentityFunc (0.00s) - --- PASS: TestDefaultIdentityFunc/fail/bad-ssh-regex (0.00s) - --- PASS: TestDefaultIdentityFunc/ok_username (0.00s) + --- PASS: TestDefaultIdentityFunc/ok_symbol (0.00s) --- PASS: TestDefaultIdentityFunc/ok_usernames (0.00s) --- PASS: TestDefaultIdentityFunc/fail/unsupported-provisioner (0.00s) + --- PASS: TestDefaultIdentityFunc/fail/bad-ssh-regex (0.00s) --- PASS: TestDefaultIdentityFunc/ok (0.00s) --- PASS: TestDefaultIdentityFunc/ok_letter_case (0.00s) - --- PASS: TestDefaultIdentityFunc/ok_simple (0.00s) --- PASS: TestDefaultIdentityFunc/ok_simple_letter_case (0.00s) - --- PASS: TestDefaultIdentityFunc/ok_symbol (0.00s) + --- PASS: TestDefaultIdentityFunc/ok_simple (0.00s) + --- PASS: TestDefaultIdentityFunc/ok_username (0.00s) --- PASS: TestDefaultIdentityFunc/ok_empty_username (0.00s) === RUN TestUnimplementedMethods === RUN TestUnimplementedMethods/jwk/sshRekey @@ -7055,45 +7096,45 @@ --- PASS: Test_urisValidator_Valid/fail2 (0.00s) --- PASS: Test_urisValidator_Valid/fail3 (0.00s) === RUN Test_defaultSANsValidator_Valid -=== RUN Test_defaultSANsValidator_Valid/ok === RUN Test_defaultSANsValidator_Valid/fail/dnsNamesValidator === RUN Test_defaultSANsValidator_Valid/fail/emailAddressesValidator === RUN Test_defaultSANsValidator_Valid/fail/ipAddressesValidator === RUN Test_defaultSANsValidator_Valid/fail/urisValidator +=== RUN Test_defaultSANsValidator_Valid/ok --- PASS: Test_defaultSANsValidator_Valid (0.00s) - --- PASS: Test_defaultSANsValidator_Valid/ok (0.00s) --- PASS: Test_defaultSANsValidator_Valid/fail/dnsNamesValidator (0.00s) --- PASS: Test_defaultSANsValidator_Valid/fail/emailAddressesValidator (0.00s) --- PASS: Test_defaultSANsValidator_Valid/fail/ipAddressesValidator (0.00s) --- PASS: Test_defaultSANsValidator_Valid/fail/urisValidator (0.00s) + --- PASS: Test_defaultSANsValidator_Valid/ok (0.00s) === RUN Test_validityValidator_Valid +=== RUN Test_validityValidator_Valid/ok/duration-exactly-min +=== RUN Test_validityValidator_Valid/fail/duration-too-great === RUN Test_validityValidator_Valid/ok/duration-exactly-max === RUN Test_validityValidator_Valid/ok/duration-exact-min-with-backdate === RUN Test_validityValidator_Valid/ok/duration-exact-max-with-backdate === RUN Test_validityValidator_Valid/fail/notAfter-past === RUN Test_validityValidator_Valid/fail/notBefore-after-notAfter === RUN Test_validityValidator_Valid/fail/duration-too-short -=== RUN Test_validityValidator_Valid/ok/duration-exactly-min -=== RUN Test_validityValidator_Valid/fail/duration-too-great ---- PASS: Test_validityValidator_Valid (2.00s) +--- PASS: Test_validityValidator_Valid (2.01s) + --- PASS: Test_validityValidator_Valid/ok/duration-exactly-min (0.00s) + --- PASS: Test_validityValidator_Valid/fail/duration-too-great (0.00s) --- PASS: Test_validityValidator_Valid/ok/duration-exactly-max (0.00s) --- PASS: Test_validityValidator_Valid/ok/duration-exact-min-with-backdate (1.00s) --- PASS: Test_validityValidator_Valid/ok/duration-exact-max-with-backdate (1.00s) --- PASS: Test_validityValidator_Valid/fail/notAfter-past (0.00s) --- PASS: Test_validityValidator_Valid/fail/notBefore-after-notAfter (0.00s) --- PASS: Test_validityValidator_Valid/fail/duration-too-short (0.00s) - --- PASS: Test_validityValidator_Valid/ok/duration-exactly-min (0.00s) - --- PASS: Test_validityValidator_Valid/fail/duration-too-great (0.00s) === RUN Test_forceCN_Option -=== RUN Test_forceCN_Option/ok/CN-not-forced === RUN Test_forceCN_Option/ok/CN-forced-and-set === RUN Test_forceCN_Option/ok/CN-forced-and-not-set === RUN Test_forceCN_Option/fail/CN-forced-and-empty-DNSNames +=== RUN Test_forceCN_Option/ok/CN-not-forced --- PASS: Test_forceCN_Option (0.00s) - --- PASS: Test_forceCN_Option/ok/CN-not-forced (0.00s) --- PASS: Test_forceCN_Option/ok/CN-forced-and-set (0.00s) --- PASS: Test_forceCN_Option/ok/CN-forced-and-not-set (0.00s) --- PASS: Test_forceCN_Option/fail/CN-forced-and-empty-DNSNames (0.00s) + --- PASS: Test_forceCN_Option/ok/CN-not-forced (0.00s) === RUN Test_profileDefaultDuration_Option === RUN Test_profileDefaultDuration_Option/ok/duration-set === RUN Test_profileDefaultDuration_Option/ok/notAfter-set @@ -7151,21 +7192,21 @@ --- PASS: TestSSHOptions_Modify/ok/host-cert (0.00s) --- PASS: TestSSHOptions_Modify/ok (0.00s) === RUN TestSSHOptions_Match +=== RUN TestSSHOptions_Match/ok/equal === RUN TestSSHOptions_Match/fail/cert-type === RUN TestSSHOptions_Match/fail/pricipals === RUN TestSSHOptions_Match/fail/validAfter === RUN TestSSHOptions_Match/fail/validBefore === RUN TestSSHOptions_Match/ok/original-empty === RUN TestSSHOptions_Match/ok/cmp-empty -=== RUN TestSSHOptions_Match/ok/equal --- PASS: TestSSHOptions_Match (0.00s) + --- PASS: TestSSHOptions_Match/ok/equal (0.00s) --- PASS: TestSSHOptions_Match/fail/cert-type (0.00s) --- PASS: TestSSHOptions_Match/fail/pricipals (0.00s) --- PASS: TestSSHOptions_Match/fail/validAfter (0.00s) --- PASS: TestSSHOptions_Match/fail/validBefore (0.00s) --- PASS: TestSSHOptions_Match/ok/original-empty (0.00s) --- PASS: TestSSHOptions_Match/ok/cmp-empty (0.00s) - --- PASS: TestSSHOptions_Match/ok/equal (0.00s) === RUN Test_sshCertPrincipalsModifier_Modify === RUN Test_sshCertPrincipalsModifier_Modify/ok --- PASS: Test_sshCertPrincipalsModifier_Modify (0.00s) @@ -7193,15 +7234,15 @@ --- PASS: Test_sshCertDefaultsModifier_Modify/ok/changes (0.00s) --- PASS: Test_sshCertDefaultsModifier_Modify/ok/no-changes (0.00s) === RUN Test_sshDefaultExtensionModifier_Modify -=== RUN Test_sshDefaultExtensionModifier_Modify/ok/host === RUN Test_sshDefaultExtensionModifier_Modify/ok/user/extensions-exists === RUN Test_sshDefaultExtensionModifier_Modify/ok/user/no-extensions === RUN Test_sshDefaultExtensionModifier_Modify/fail/unexpected-cert-type +=== RUN Test_sshDefaultExtensionModifier_Modify/ok/host --- PASS: Test_sshDefaultExtensionModifier_Modify (0.00s) - --- PASS: Test_sshDefaultExtensionModifier_Modify/ok/host (0.00s) --- PASS: Test_sshDefaultExtensionModifier_Modify/ok/user/extensions-exists (0.00s) --- PASS: Test_sshDefaultExtensionModifier_Modify/ok/user/no-extensions (0.00s) --- PASS: Test_sshDefaultExtensionModifier_Modify/fail/unexpected-cert-type (0.00s) + --- PASS: Test_sshDefaultExtensionModifier_Modify/ok/host (0.00s) === RUN Test_sshCertDefaultValidator_Valid === RUN Test_sshCertDefaultValidator_Valid/fail/zero-nonce === RUN Test_sshCertDefaultValidator_Valid/fail/nil-key @@ -7255,25 +7296,25 @@ --- PASS: Test_sshCertValidityValidator/ok/duration-exactly-max (0.00s) --- PASS: Test_sshCertValidityValidator/ok (0.00s) === RUN Test_sshValidityModifier -=== RUN Test_sshValidityModifier/fail/type-not-set -=== RUN Test_sshValidityModifier/fail/requested-validBefore-after-limit -=== RUN Test_sshValidityModifier/ok/defaults -=== RUN Test_sshValidityModifier/ok/valid-requested-validBefore -=== RUN Test_sshValidityModifier/fail/type-not-recognized -=== RUN Test_sshValidityModifier/fail/requested-validAfter-after-limit === RUN Test_sshValidityModifier/ok/no-limit === RUN Test_sshValidityModifier/ok/empty-requested-validBefore-limit-after-default === RUN Test_sshValidityModifier/ok/empty-requested-validBefore-limit-before-default +=== RUN Test_sshValidityModifier/ok/valid-requested-validBefore +=== RUN Test_sshValidityModifier/fail/type-not-set +=== RUN Test_sshValidityModifier/fail/type-not-recognized +=== RUN Test_sshValidityModifier/fail/requested-validAfter-after-limit +=== RUN Test_sshValidityModifier/fail/requested-validBefore-after-limit +=== RUN Test_sshValidityModifier/ok/defaults --- PASS: Test_sshValidityModifier (0.00s) - --- PASS: Test_sshValidityModifier/fail/type-not-set (0.00s) - --- PASS: Test_sshValidityModifier/fail/requested-validBefore-after-limit (0.00s) - --- PASS: Test_sshValidityModifier/ok/defaults (0.00s) - --- PASS: Test_sshValidityModifier/ok/valid-requested-validBefore (0.00s) - --- PASS: Test_sshValidityModifier/fail/type-not-recognized (0.00s) - --- PASS: Test_sshValidityModifier/fail/requested-validAfter-after-limit (0.00s) --- PASS: Test_sshValidityModifier/ok/no-limit (0.00s) --- PASS: Test_sshValidityModifier/ok/empty-requested-validBefore-limit-after-default (0.00s) --- PASS: Test_sshValidityModifier/ok/empty-requested-validBefore-limit-before-default (0.00s) + --- PASS: Test_sshValidityModifier/ok/valid-requested-validBefore (0.00s) + --- PASS: Test_sshValidityModifier/fail/type-not-set (0.00s) + --- PASS: Test_sshValidityModifier/fail/type-not-recognized (0.00s) + --- PASS: Test_sshValidityModifier/fail/requested-validAfter-after-limit (0.00s) + --- PASS: Test_sshValidityModifier/fail/requested-validBefore-after-limit (0.00s) + --- PASS: Test_sshValidityModifier/ok/defaults (0.00s) === RUN Test_sshDefaultDuration_Option === RUN Test_sshDefaultDuration_Option/user === RUN Test_sshDefaultDuration_Option/host @@ -7325,33 +7366,33 @@ === RUN TestSSHPOP_Getters --- PASS: TestSSHPOP_Getters (0.00s) === RUN TestSSHPOP_authorizeToken +=== RUN TestSSHPOP_authorizeToken/fail/cert-not-yet-valid === RUN TestSSHPOP_authorizeToken/fail/cert-past-validity === RUN TestSSHPOP_authorizeToken/fail/no-signer-found === RUN TestSSHPOP_authorizeToken/fail/error-parsing-claims-bad-sig -=== RUN TestSSHPOP_authorizeToken/fail/invalid-claims-issuer +=== RUN TestSSHPOP_authorizeToken/fail/bad-token === RUN TestSSHPOP_authorizeToken/fail/invalid-audience === RUN TestSSHPOP_authorizeToken/fail/empty-subject === RUN TestSSHPOP_authorizeToken/ok -=== RUN TestSSHPOP_authorizeToken/fail/cert-not-yet-valid -=== RUN TestSSHPOP_authorizeToken/fail/bad-token +=== RUN TestSSHPOP_authorizeToken/fail/invalid-claims-issuer --- PASS: TestSSHPOP_authorizeToken (0.02s) + --- PASS: TestSSHPOP_authorizeToken/fail/cert-not-yet-valid (0.00s) --- PASS: TestSSHPOP_authorizeToken/fail/cert-past-validity (0.00s) --- PASS: TestSSHPOP_authorizeToken/fail/no-signer-found (0.00s) - --- PASS: TestSSHPOP_authorizeToken/fail/error-parsing-claims-bad-sig (0.01s) - --- PASS: TestSSHPOP_authorizeToken/fail/invalid-claims-issuer (0.00s) + --- PASS: TestSSHPOP_authorizeToken/fail/error-parsing-claims-bad-sig (0.00s) + --- PASS: TestSSHPOP_authorizeToken/fail/bad-token (0.00s) --- PASS: TestSSHPOP_authorizeToken/fail/invalid-audience (0.00s) --- PASS: TestSSHPOP_authorizeToken/fail/empty-subject (0.00s) --- PASS: TestSSHPOP_authorizeToken/ok (0.00s) - --- PASS: TestSSHPOP_authorizeToken/fail/cert-not-yet-valid (0.00s) - --- PASS: TestSSHPOP_authorizeToken/fail/bad-token (0.00s) + --- PASS: TestSSHPOP_authorizeToken/fail/invalid-claims-issuer (0.00s) === RUN TestSSHPOP_AuthorizeSSHRevoke +=== RUN TestSSHPOP_AuthorizeSSHRevoke/ok === RUN TestSSHPOP_AuthorizeSSHRevoke/fail/bad-token === RUN TestSSHPOP_AuthorizeSSHRevoke/fail/subject-not-equal-serial -=== RUN TestSSHPOP_AuthorizeSSHRevoke/ok ---- PASS: TestSSHPOP_AuthorizeSSHRevoke (0.00s) +--- PASS: TestSSHPOP_AuthorizeSSHRevoke (0.01s) + --- PASS: TestSSHPOP_AuthorizeSSHRevoke/ok (0.00s) --- PASS: TestSSHPOP_AuthorizeSSHRevoke/fail/bad-token (0.00s) --- PASS: TestSSHPOP_AuthorizeSSHRevoke/fail/subject-not-equal-serial (0.00s) - --- PASS: TestSSHPOP_AuthorizeSSHRevoke/ok (0.00s) === RUN TestSSHPOP_AuthorizeSSHRenew === RUN TestSSHPOP_AuthorizeSSHRenew/fail/bad-token === RUN TestSSHPOP_AuthorizeSSHRenew/fail/not-host-cert @@ -7361,27 +7402,27 @@ --- PASS: TestSSHPOP_AuthorizeSSHRenew/fail/not-host-cert (0.00s) --- PASS: TestSSHPOP_AuthorizeSSHRenew/ok (0.00s) === RUN TestSSHPOP_AuthorizeSSHRekey -=== RUN TestSSHPOP_AuthorizeSSHRekey/ok === RUN TestSSHPOP_AuthorizeSSHRekey/fail/bad-token === RUN TestSSHPOP_AuthorizeSSHRekey/fail/not-host-cert ---- PASS: TestSSHPOP_AuthorizeSSHRekey (0.00s) - --- PASS: TestSSHPOP_AuthorizeSSHRekey/ok (0.00s) +=== RUN TestSSHPOP_AuthorizeSSHRekey/ok +--- PASS: TestSSHPOP_AuthorizeSSHRekey (0.01s) --- PASS: TestSSHPOP_AuthorizeSSHRekey/fail/bad-token (0.00s) --- PASS: TestSSHPOP_AuthorizeSSHRekey/fail/not-host-cert (0.00s) + --- PASS: TestSSHPOP_AuthorizeSSHRekey/ok (0.00s) === RUN TestSSHPOP_ExtractSSHPOPCert -=== RUN TestSSHPOP_ExtractSSHPOPCert/ok -=== RUN TestSSHPOP_ExtractSSHPOPCert/fail/bad-token === RUN TestSSHPOP_ExtractSSHPOPCert/fail/sshpop-missing === RUN TestSSHPOP_ExtractSSHPOPCert/fail/wrong-sshpop-type === RUN TestSSHPOP_ExtractSSHPOPCert/fail/base64decode-error === RUN TestSSHPOP_ExtractSSHPOPCert/fail/parsing-sshpop-pubkey ---- PASS: TestSSHPOP_ExtractSSHPOPCert (0.00s) - --- PASS: TestSSHPOP_ExtractSSHPOPCert/ok (0.00s) - --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/bad-token (0.00s) +=== RUN TestSSHPOP_ExtractSSHPOPCert/ok +=== RUN TestSSHPOP_ExtractSSHPOPCert/fail/bad-token +--- PASS: TestSSHPOP_ExtractSSHPOPCert (0.01s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/sshpop-missing (0.00s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/wrong-sshpop-type (0.00s) - --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/base64decode-error (0.00s) + --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/base64decode-error (0.01s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/parsing-sshpop-pubkey (0.00s) + --- PASS: TestSSHPOP_ExtractSSHPOPCert/ok (0.00s) + --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/bad-token (0.00s) === RUN TestNewTimeDuration === RUN TestNewTimeDuration/ok === RUN TestNewTimeDuration/zero @@ -7485,7 +7526,6 @@ === RUN TestX5C_Getters --- PASS: TestX5C_Getters (0.00s) === RUN TestX5C_Init -=== RUN TestX5C_Init/fail/empty === RUN TestX5C_Init/fail/empty-name === RUN TestX5C_Init/fail/empty-type === RUN TestX5C_Init/fail/empty-key @@ -7493,8 +7533,8 @@ === RUN TestX5C_Init/fail/invalid-duration === RUN TestX5C_Init/ok === RUN TestX5C_Init/ok/root-chain +=== RUN TestX5C_Init/fail/empty --- PASS: TestX5C_Init (0.00s) - --- PASS: TestX5C_Init/fail/empty (0.00s) --- PASS: TestX5C_Init/fail/empty-name (0.00s) --- PASS: TestX5C_Init/fail/empty-type (0.00s) --- PASS: TestX5C_Init/fail/empty-key (0.00s) @@ -7502,34 +7542,35 @@ --- PASS: TestX5C_Init/fail/invalid-duration (0.00s) --- PASS: TestX5C_Init/ok (0.00s) --- PASS: TestX5C_Init/ok/root-chain (0.00s) + --- PASS: TestX5C_Init/fail/empty (0.00s) === RUN TestX5C_authorizeToken -=== RUN TestX5C_authorizeToken/fail/doubled-up-self-signed-cert === RUN TestX5C_authorizeToken/fail/digital-signature-ext-required +=== RUN TestX5C_authorizeToken/fail/invalid-issuer === RUN TestX5C_authorizeToken/fail/invalid-audience === RUN TestX5C_authorizeToken/fail/empty-subject +=== RUN TestX5C_authorizeToken/ok === RUN TestX5C_authorizeToken/fail/bad-token === RUN TestX5C_authorizeToken/fail/invalid-cert-chain +=== RUN TestX5C_authorizeToken/fail/doubled-up-self-signed-cert === RUN TestX5C_authorizeToken/fail/signature-does-not-match-x5c-pub-key -=== RUN TestX5C_authorizeToken/fail/invalid-issuer -=== RUN TestX5C_authorizeToken/ok --- PASS: TestX5C_authorizeToken (0.02s) - --- PASS: TestX5C_authorizeToken/fail/doubled-up-self-signed-cert (0.00s) --- PASS: TestX5C_authorizeToken/fail/digital-signature-ext-required (0.00s) + --- PASS: TestX5C_authorizeToken/fail/invalid-issuer (0.00s) --- PASS: TestX5C_authorizeToken/fail/invalid-audience (0.00s) --- PASS: TestX5C_authorizeToken/fail/empty-subject (0.00s) + --- PASS: TestX5C_authorizeToken/ok (0.00s) --- PASS: TestX5C_authorizeToken/fail/bad-token (0.00s) --- PASS: TestX5C_authorizeToken/fail/invalid-cert-chain (0.00s) + --- PASS: TestX5C_authorizeToken/fail/doubled-up-self-signed-cert (0.00s) --- PASS: TestX5C_authorizeToken/fail/signature-does-not-match-x5c-pub-key (0.00s) - --- PASS: TestX5C_authorizeToken/fail/invalid-issuer (0.00s) - --- PASS: TestX5C_authorizeToken/ok (0.00s) === RUN TestX5C_AuthorizeSign -=== RUN TestX5C_AuthorizeSign/ok/multi-sans === RUN TestX5C_AuthorizeSign/fail/invalid-token === RUN TestX5C_AuthorizeSign/ok/empty-sans +=== RUN TestX5C_AuthorizeSign/ok/multi-sans --- PASS: TestX5C_AuthorizeSign (0.01s) - --- PASS: TestX5C_AuthorizeSign/ok/multi-sans (0.01s) --- PASS: TestX5C_AuthorizeSign/fail/invalid-token (0.00s) - --- PASS: TestX5C_AuthorizeSign/ok/empty-sans (0.01s) + --- PASS: TestX5C_AuthorizeSign/ok/empty-sans (0.00s) + --- PASS: TestX5C_AuthorizeSign/ok/multi-sans (0.00s) === RUN TestX5C_AuthorizeRevoke === RUN TestX5C_AuthorizeRevoke/fail/invalid-token === RUN TestX5C_AuthorizeRevoke/ok @@ -7551,155 +7592,155 @@ === RUN TestX5C_AuthorizeSSHSign/fail/no-SSH-subattribute-in-claims --- PASS: TestX5C_AuthorizeSSHSign (0.02s) --- PASS: TestX5C_AuthorizeSSHSign/ok/with-claims (0.00s) - --- PASS: TestX5C_AuthorizeSSHSign/ok/without-claims (0.01s) + --- PASS: TestX5C_AuthorizeSSHSign/ok/without-claims (0.00s) --- PASS: TestX5C_AuthorizeSSHSign/fail/sshCA-disabled (0.00s) --- PASS: TestX5C_AuthorizeSSHSign/fail/invalid-token (0.00s) --- PASS: TestX5C_AuthorizeSSHSign/fail/no-Step-claim (0.00s) - --- PASS: TestX5C_AuthorizeSSHSign/fail/no-SSH-subattribute-in-claims (0.01s) + --- PASS: TestX5C_AuthorizeSSHSign/fail/no-SSH-subattribute-in-claims (0.00s) PASS -ok github.com/smallstep/certificates/authority/provisioner 40.111s +ok github.com/smallstep/certificates/authority/provisioner 41.156s === RUN TestNewACMEClient +=== RUN TestNewACMEClient/fail/client-option-error +=== RUN TestNewACMEClient/fail/get-directory +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestNewACMEClient/fail/bad-directory === RUN TestNewACMEClient/fail/error-post-newAccount -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:accountDoesNotExist","detail":"Account does not exist"} === RUN TestNewACMEClient/fail/error-bad-account === RUN TestNewACMEClient/ok -=== RUN TestNewACMEClient/fail/client-option-error -=== RUN TestNewACMEClient/fail/get-directory -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} ---- PASS: TestNewACMEClient (0.01s) +--- PASS: TestNewACMEClient (0.03s) + --- PASS: TestNewACMEClient/fail/client-option-error (0.00s) + --- PASS: TestNewACMEClient/fail/get-directory (0.00s) --- PASS: TestNewACMEClient/fail/bad-directory (0.00s) - --- PASS: TestNewACMEClient/fail/error-post-newAccount (0.00s) + --- PASS: TestNewACMEClient/fail/error-post-newAccount (0.01s) --- PASS: TestNewACMEClient/fail/error-bad-account (0.00s) --- PASS: TestNewACMEClient/ok (0.00s) - --- PASS: TestNewACMEClient/fail/client-option-error (0.00s) - --- PASS: TestNewACMEClient/fail/get-directory (0.00s) === RUN TestACMEClient_GetDirectory --- PASS: TestACMEClient_GetDirectory (0.00s) === RUN TestACMEClient_GetNonce === RUN TestACMEClient_GetNonce/fail/GET-nonce -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetNonce/ok ---- PASS: TestACMEClient_GetNonce (0.00s) - --- PASS: TestACMEClient_GetNonce/fail/GET-nonce (0.00s) +--- PASS: TestACMEClient_GetNonce (0.01s) + --- PASS: TestACMEClient_GetNonce/fail/GET-nonce (0.01s) --- PASS: TestACMEClient_GetNonce/ok (0.00s) === RUN TestACMEClient_post -=== RUN TestACMEClient_post/fail/account-not-configured === RUN TestACMEClient_post/fail/GET-nonce -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_post/ok/jwk === RUN TestACMEClient_post/ok/kid ---- PASS: TestACMEClient_post (0.01s) - --- PASS: TestACMEClient_post/fail/account-not-configured (0.00s) +=== RUN TestACMEClient_post/fail/account-not-configured +--- PASS: TestACMEClient_post (0.02s) --- PASS: TestACMEClient_post/fail/GET-nonce (0.00s) - --- PASS: TestACMEClient_post/ok/jwk (0.00s) + --- PASS: TestACMEClient_post/ok/jwk (0.01s) --- PASS: TestACMEClient_post/ok/kid (0.00s) + --- PASS: TestACMEClient_post/fail/account-not-configured (0.00s) === RUN TestACMEClient_NewOrder -=== RUN TestACMEClient_NewOrder/fail/bad-order -=== RUN TestACMEClient_NewOrder/ok === RUN TestACMEClient_NewOrder/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_NewOrder/fail/newOrder-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} ---- PASS: TestACMEClient_NewOrder (0.01s) - --- PASS: TestACMEClient_NewOrder/fail/bad-order (0.01s) - --- PASS: TestACMEClient_NewOrder/ok (0.00s) +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestACMEClient_NewOrder/fail/bad-order +=== RUN TestACMEClient_NewOrder/ok +--- PASS: TestACMEClient_NewOrder (0.03s) --- PASS: TestACMEClient_NewOrder/fail/client-post (0.00s) - --- PASS: TestACMEClient_NewOrder/fail/newOrder-error (0.00s) + --- PASS: TestACMEClient_NewOrder/fail/newOrder-error (0.01s) + --- PASS: TestACMEClient_NewOrder/fail/bad-order (0.01s) + --- PASS: TestACMEClient_NewOrder/ok (0.01s) === RUN TestACMEClient_GetOrder -=== RUN TestACMEClient_GetOrder/fail/getOrder-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetOrder/fail/bad-order === RUN TestACMEClient_GetOrder/ok === RUN TestACMEClient_GetOrder/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} ---- PASS: TestACMEClient_GetOrder (0.01s) - --- PASS: TestACMEClient_GetOrder/fail/getOrder-error (0.01s) - --- PASS: TestACMEClient_GetOrder/fail/bad-order (0.00s) +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +=== RUN TestACMEClient_GetOrder/fail/getOrder-error +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +--- PASS: TestACMEClient_GetOrder (0.09s) + --- PASS: TestACMEClient_GetOrder/fail/bad-order (0.07s) --- PASS: TestACMEClient_GetOrder/ok (0.00s) - --- PASS: TestACMEClient_GetOrder/fail/client-post (0.00s) + --- PASS: TestACMEClient_GetOrder/fail/client-post (0.01s) + --- PASS: TestACMEClient_GetOrder/fail/getOrder-error (0.01s) === RUN TestACMEClient_GetAuthz === RUN TestACMEClient_GetAuthz/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetAuthz/fail/getChallenge-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetAuthz/fail/bad-challenge === RUN TestACMEClient_GetAuthz/ok ---- PASS: TestACMEClient_GetAuthz (0.02s) - --- PASS: TestACMEClient_GetAuthz/fail/client-post (0.00s) - --- PASS: TestACMEClient_GetAuthz/fail/getChallenge-error (0.01s) +--- PASS: TestACMEClient_GetAuthz (0.01s) + --- PASS: TestACMEClient_GetAuthz/fail/client-post (0.01s) + --- PASS: TestACMEClient_GetAuthz/fail/getChallenge-error (0.00s) --- PASS: TestACMEClient_GetAuthz/fail/bad-challenge (0.00s) --- PASS: TestACMEClient_GetAuthz/ok (0.00s) === RUN TestACMEClient_GetChallenge === RUN TestACMEClient_GetChallenge/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetChallenge/fail/getChallenge-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetChallenge/fail/bad-challenge === RUN TestACMEClient_GetChallenge/ok ---- PASS: TestACMEClient_GetChallenge (0.04s) - --- PASS: TestACMEClient_GetChallenge/fail/client-post (0.01s) - --- PASS: TestACMEClient_GetChallenge/fail/getChallenge-error (0.02s) +--- PASS: TestACMEClient_GetChallenge (0.02s) + --- PASS: TestACMEClient_GetChallenge/fail/client-post (0.00s) + --- PASS: TestACMEClient_GetChallenge/fail/getChallenge-error (0.00s) --- PASS: TestACMEClient_GetChallenge/fail/bad-challenge (0.00s) --- PASS: TestACMEClient_GetChallenge/ok (0.01s) === RUN TestACMEClient_ValidateChallenge === RUN TestACMEClient_ValidateChallenge/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_ValidateChallenge/fail/getChallenge-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_ValidateChallenge/fail/bad-challenge === RUN TestACMEClient_ValidateChallenge/ok ---- PASS: TestACMEClient_ValidateChallenge (0.02s) - --- PASS: TestACMEClient_ValidateChallenge/fail/client-post (0.01s) - --- PASS: TestACMEClient_ValidateChallenge/fail/getChallenge-error (0.00s) - --- PASS: TestACMEClient_ValidateChallenge/fail/bad-challenge (0.01s) +--- PASS: TestACMEClient_ValidateChallenge (0.03s) + --- PASS: TestACMEClient_ValidateChallenge/fail/client-post (0.00s) + --- PASS: TestACMEClient_ValidateChallenge/fail/getChallenge-error (0.02s) + --- PASS: TestACMEClient_ValidateChallenge/fail/bad-challenge (0.00s) --- PASS: TestACMEClient_ValidateChallenge/ok (0.00s) === RUN TestACMEClient_FinalizeOrder === RUN TestACMEClient_FinalizeOrder/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_FinalizeOrder/fail/finalizeOrder-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:57 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_FinalizeOrder/fail/bad-order === RUN TestACMEClient_FinalizeOrder/ok --- PASS: TestACMEClient_FinalizeOrder (0.01s) --- PASS: TestACMEClient_FinalizeOrder/fail/client-post (0.00s) --- PASS: TestACMEClient_FinalizeOrder/fail/finalizeOrder-error (0.00s) --- PASS: TestACMEClient_FinalizeOrder/fail/bad-order (0.00s) - --- PASS: TestACMEClient_FinalizeOrder/ok (0.00s) + --- PASS: TestACMEClient_FinalizeOrder/ok (0.01s) === RUN TestACMEClient_GetAccountOrders -=== RUN TestACMEClient_GetAccountOrders/ok === RUN TestACMEClient_GetAccountOrders/fail/account-not-configured === RUN TestACMEClient_GetAccountOrders/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:58 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetAccountOrders/fail/getAccountOrders-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:58 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetAccountOrders/fail/bad-accountOrders ---- PASS: TestACMEClient_GetAccountOrders (0.03s) - --- PASS: TestACMEClient_GetAccountOrders/ok (0.02s) +=== RUN TestACMEClient_GetAccountOrders/ok +--- PASS: TestACMEClient_GetAccountOrders (0.05s) --- PASS: TestACMEClient_GetAccountOrders/fail/account-not-configured (0.00s) - --- PASS: TestACMEClient_GetAccountOrders/fail/client-post (0.00s) - --- PASS: TestACMEClient_GetAccountOrders/fail/getAccountOrders-error (0.00s) + --- PASS: TestACMEClient_GetAccountOrders/fail/client-post (0.03s) + --- PASS: TestACMEClient_GetAccountOrders/fail/getAccountOrders-error (0.01s) --- PASS: TestACMEClient_GetAccountOrders/fail/bad-accountOrders (0.00s) + --- PASS: TestACMEClient_GetAccountOrders/ok (0.00s) === RUN TestACMEClient_GetCertificate -=== RUN TestACMEClient_GetCertificate/ok === RUN TestACMEClient_GetCertificate/fail/client-post -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:58 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetCertificate/fail/getAccountOrders-error -2024/05/23 12:06:59 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} +2023/04/22 07:50:58 {"type":"urn:ietf:params:acme:error:malformed","detail":"The request message was malformed"} === RUN TestACMEClient_GetCertificate/fail/bad-certificate ---- PASS: TestACMEClient_GetCertificate (0.03s) - --- PASS: TestACMEClient_GetCertificate/ok (0.02s) +=== RUN TestACMEClient_GetCertificate/ok +--- PASS: TestACMEClient_GetCertificate (0.02s) --- PASS: TestACMEClient_GetCertificate/fail/client-post (0.00s) --- PASS: TestACMEClient_GetCertificate/fail/getAccountOrders-error (0.00s) --- PASS: TestACMEClient_GetCertificate/fail/bad-certificate (0.01s) + --- PASS: TestACMEClient_GetCertificate/ok (0.00s) === RUN TestBootstrap === RUN TestBootstrap/ok === RUN TestBootstrap/token_err === RUN TestBootstrap/bad_claims === RUN TestBootstrap/bad_sha === RUN TestBootstrap/bad_aud ---- PASS: TestBootstrap (1.60s) - --- PASS: TestBootstrap/ok (0.02s) +--- PASS: TestBootstrap (1.35s) + --- PASS: TestBootstrap/ok (0.01s) --- PASS: TestBootstrap/token_err (0.00s) --- PASS: TestBootstrap/bad_claims (0.00s) --- PASS: TestBootstrap/bad_sha (0.00s) @@ -7709,9 +7750,9 @@ === RUN TestBootstrapServerWithoutMTLS/ok_mtls === RUN TestBootstrapServerWithoutMTLS/fail === RUN TestBootstrapServerWithoutMTLS/fail_with_TLSConfig ---- PASS: TestBootstrapServerWithoutMTLS (1.54s) +--- PASS: TestBootstrapServerWithoutMTLS (2.11s) --- PASS: TestBootstrapServerWithoutMTLS/ok (0.07s) - --- PASS: TestBootstrapServerWithoutMTLS/ok_mtls (0.04s) + --- PASS: TestBootstrapServerWithoutMTLS/ok_mtls (0.03s) --- PASS: TestBootstrapServerWithoutMTLS/fail (0.00s) --- PASS: TestBootstrapServerWithoutMTLS/fail_with_TLSConfig (0.00s) === RUN TestBootstrapServerWithMTLS @@ -7719,76 +7760,76 @@ === RUN TestBootstrapServerWithMTLS/ok_mtls === RUN TestBootstrapServerWithMTLS/fail === RUN TestBootstrapServerWithMTLS/fail_with_TLSConfig ---- PASS: TestBootstrapServerWithMTLS (1.53s) - --- PASS: TestBootstrapServerWithMTLS/ok (0.04s) - --- PASS: TestBootstrapServerWithMTLS/ok_mtls (0.03s) +--- PASS: TestBootstrapServerWithMTLS (1.64s) + --- PASS: TestBootstrapServerWithMTLS/ok (0.05s) + --- PASS: TestBootstrapServerWithMTLS/ok_mtls (0.02s) --- PASS: TestBootstrapServerWithMTLS/fail (0.00s) --- PASS: TestBootstrapServerWithMTLS/fail_with_TLSConfig (0.00s) === RUN TestBootstrapClient === RUN TestBootstrapClient/ok === RUN TestBootstrapClient/ok_mtls === RUN TestBootstrapClient/fail ---- PASS: TestBootstrapClient (1.11s) +--- PASS: TestBootstrapClient (0.80s) --- PASS: TestBootstrapClient/ok (0.05s) - --- PASS: TestBootstrapClient/ok_mtls (0.08s) + --- PASS: TestBootstrapClient/ok_mtls (0.04s) --- PASS: TestBootstrapClient/fail (0.00s) === RUN TestBootstrapClientServerFederation -2024/05/23 12:07:05 Serving HTTPS on 127.0.0.1:41265 ... -2024/05/23 12:07:05 Serving HTTPS on 127.0.0.1:42653 ... ---- PASS: TestBootstrapClientServerFederation (3.14s) +2023/04/22 07:51:03 Serving HTTPS on 127.0.0.1:39213 ... +2023/04/22 07:51:04 Serving HTTPS on 127.0.0.1:38117 ... +--- PASS: TestBootstrapClientServerFederation (3.23s) === RUN TestBootstrapListener === RUN TestBootstrapListener/ok === RUN TestBootstrapListener/ok_mtls === RUN TestBootstrapListener/fail ---- PASS: TestBootstrapListener (1.72s) - --- PASS: TestBootstrapListener/ok (0.44s) - --- PASS: TestBootstrapListener/ok_mtls (0.47s) +--- PASS: TestBootstrapListener (1.63s) + --- PASS: TestBootstrapListener/ok (0.39s) + --- PASS: TestBootstrapListener/ok_mtls (0.41s) --- PASS: TestBootstrapListener/fail (0.00s) === RUN TestCASign -=== RUN TestCASign/fail_invalid-json-body -2024/05/23 12:07:10 error decoding json: invalid character 'i' looking for beginning of value -=== RUN TestCASign/fail_invalid-csr-sig -2024/05/23 12:07:10 invalid csr: crypto/rsa: verification error === RUN TestCASign/fail_unauthorized-ott -2024/05/23 12:07:10 authority.Authorize: authority.authorizeSign: authority.authorizeToken: error parsing token: square/go-jose: compact JWS format must have three parts +2023/04/22 07:51:09 authority.Authorize: authority.authorizeSign: authority.authorizeToken: error parsing token: square/go-jose: compact JWS format must have three parts === RUN TestCASign/fail_commonname-claim -2024/05/23 12:07:10 certificate request does not contain the valid common name - got test.smallstep.com, want invalid +2023/04/22 07:51:09 certificate request does not contain the valid common name - got test.smallstep.com, want invalid === RUN TestCASign/ok === RUN TestCASign/ok-backwards-compat-missing-subject-SAN ---- PASS: TestCASign (0.42s) - --- PASS: TestCASign/fail_invalid-json-body (0.00s) - --- PASS: TestCASign/fail_invalid-csr-sig (0.00s) +=== RUN TestCASign/fail_invalid-json-body +2023/04/22 07:51:09 error decoding json: invalid character 'i' looking for beginning of value +=== RUN TestCASign/fail_invalid-csr-sig +2023/04/22 07:51:09 invalid csr: crypto/rsa: verification error +--- PASS: TestCASign (0.38s) --- PASS: TestCASign/fail_unauthorized-ott (0.00s) --- PASS: TestCASign/fail_commonname-claim (0.00s) --- PASS: TestCASign/ok (0.01s) --- PASS: TestCASign/ok-backwards-compat-missing-subject-SAN (0.01s) + --- PASS: TestCASign/fail_invalid-json-body (0.00s) + --- PASS: TestCASign/fail_invalid-csr-sig (0.00s) === RUN TestCAProvisioners === RUN TestCAProvisioners/ok --- PASS: TestCAProvisioners (0.01s) --- PASS: TestCAProvisioners/ok (0.00s) === RUN TestCAProvisionerEncryptedKey === RUN TestCAProvisionerEncryptedKey/not-found -2024/05/23 12:07:11 encrypted key with kid foo was not found +2023/04/22 07:51:09 encrypted key with kid foo was not found === RUN TestCAProvisionerEncryptedKey/ok ---- PASS: TestCAProvisionerEncryptedKey (0.01s) +--- PASS: TestCAProvisionerEncryptedKey (0.02s) --- PASS: TestCAProvisionerEncryptedKey/not-found (0.00s) --- PASS: TestCAProvisionerEncryptedKey/ok (0.00s) === RUN TestCARoot -=== RUN TestCARoot/success === RUN TestCARoot/not-found -2024/05/23 12:07:11 was not found: certificate with fingerprint foo was not found +2023/04/22 07:51:09 was not found: certificate with fingerprint foo was not found +=== RUN TestCARoot/success --- PASS: TestCARoot (0.01s) - --- PASS: TestCARoot/success (0.00s) --- PASS: TestCARoot/not-found (0.00s) + --- PASS: TestCARoot/success (0.00s) === RUN TestCAHealth === RUN TestCAHealth/success ---- PASS: TestCAHealth (0.00s) +--- PASS: TestCAHealth (0.01s) --- PASS: TestCAHealth/success (0.00s) === RUN TestCARenew === RUN TestCARenew/request-missing-tls -2024/05/23 12:07:11 missing client certificate +2023/04/22 07:51:09 missing client certificate === RUN TestCARenew/request-missing-peer-certificate -2024/05/23 12:07:11 missing client certificate +2023/04/22 07:51:09 missing client certificate === RUN TestCARenew/success --- PASS: TestCARenew (0.01s) --- PASS: TestCARenew/request-missing-tls (0.00s) @@ -7798,32 +7839,32 @@ === RUN TestClient_Version/ok === RUN TestClient_Version/500 === RUN TestClient_Version/404 ---- PASS: TestClient_Version (0.00s) +--- PASS: TestClient_Version (0.01s) --- PASS: TestClient_Version/ok (0.00s) - --- PASS: TestClient_Version/500 (0.00s) + --- PASS: TestClient_Version/500 (0.01s) --- PASS: TestClient_Version/404 (0.00s) === RUN TestClient_Health === RUN TestClient_Health/ok === RUN TestClient_Health/not_ok ---- PASS: TestClient_Health (0.00s) - --- PASS: TestClient_Health/ok (0.00s) +--- PASS: TestClient_Health (0.01s) + --- PASS: TestClient_Health/ok (0.01s) --- PASS: TestClient_Health/not_ok (0.00s) === RUN TestClient_Root === RUN TestClient_Root/ok === RUN TestClient_Root/not_found ---- PASS: TestClient_Root (0.00s) +--- PASS: TestClient_Root (0.01s) --- PASS: TestClient_Root/ok (0.00s) - --- PASS: TestClient_Root/not_found (0.00s) + --- PASS: TestClient_Root/not_found (0.01s) === RUN TestClient_Sign === RUN TestClient_Sign/ok === RUN TestClient_Sign/unauthorized === RUN TestClient_Sign/empty_request === RUN TestClient_Sign/nil_request ---- PASS: TestClient_Sign (0.01s) - --- PASS: TestClient_Sign/ok (0.00s) +--- PASS: TestClient_Sign (0.02s) + --- PASS: TestClient_Sign/ok (0.01s) --- PASS: TestClient_Sign/unauthorized (0.00s) --- PASS: TestClient_Sign/empty_request (0.00s) - --- PASS: TestClient_Sign/nil_request (0.00s) + --- PASS: TestClient_Sign/nil_request (0.01s) === RUN TestClient_Revoke === RUN TestClient_Revoke/ok === RUN TestClient_Revoke/unauthorized @@ -7837,7 +7878,7 @@ === RUN TestClient_Renew/unauthorized === RUN TestClient_Renew/empty_request === RUN TestClient_Renew/nil_request ---- PASS: TestClient_Renew (0.00s) +--- PASS: TestClient_Renew (0.01s) --- PASS: TestClient_Renew/ok (0.00s) --- PASS: TestClient_Renew/unauthorized (0.00s) --- PASS: TestClient_Renew/empty_request (0.00s) @@ -7847,7 +7888,7 @@ === RUN TestClient_RenewWithToken/unauthorized === RUN TestClient_RenewWithToken/empty_request === RUN TestClient_RenewWithToken/nil_request ---- PASS: TestClient_RenewWithToken (0.00s) +--- PASS: TestClient_RenewWithToken (0.01s) --- PASS: TestClient_RenewWithToken/ok (0.00s) --- PASS: TestClient_RenewWithToken/unauthorized (0.00s) --- PASS: TestClient_RenewWithToken/empty_request (0.00s) @@ -7857,7 +7898,7 @@ === RUN TestClient_Rekey/unauthorized === RUN TestClient_Rekey/empty_request === RUN TestClient_Rekey/nil_request ---- PASS: TestClient_Rekey (0.02s) +--- PASS: TestClient_Rekey (0.01s) --- PASS: TestClient_Rekey/ok (0.00s) --- PASS: TestClient_Rekey/unauthorized (0.00s) --- PASS: TestClient_Rekey/empty_request (0.00s) @@ -7868,8 +7909,8 @@ === RUN TestClient_Provisioners/ok_with_limit === RUN TestClient_Provisioners/ok_with_cursor+limit === RUN TestClient_Provisioners/fail ---- PASS: TestClient_Provisioners (0.00s) - --- PASS: TestClient_Provisioners/ok (0.00s) +--- PASS: TestClient_Provisioners (0.01s) + --- PASS: TestClient_Provisioners/ok (0.01s) --- PASS: TestClient_Provisioners/ok_with_cursor (0.00s) --- PASS: TestClient_Provisioners/ok_with_limit (0.00s) --- PASS: TestClient_Provisioners/ok_with_cursor+limit (0.00s) @@ -7877,28 +7918,28 @@ === RUN TestClient_ProvisionerKey === RUN TestClient_ProvisionerKey/ok === RUN TestClient_ProvisionerKey/fail ---- PASS: TestClient_ProvisionerKey (0.00s) - --- PASS: TestClient_ProvisionerKey/ok (0.00s) +--- PASS: TestClient_ProvisionerKey (0.01s) + --- PASS: TestClient_ProvisionerKey/ok (0.01s) --- PASS: TestClient_ProvisionerKey/fail (0.00s) === RUN TestClient_Roots === RUN TestClient_Roots/ok === RUN TestClient_Roots/unauthorized === RUN TestClient_Roots/bad-request ---- PASS: TestClient_Roots (0.00s) +--- PASS: TestClient_Roots (0.01s) --- PASS: TestClient_Roots/ok (0.00s) --- PASS: TestClient_Roots/unauthorized (0.00s) --- PASS: TestClient_Roots/bad-request (0.00s) === RUN TestClient_Federation === RUN TestClient_Federation/ok === RUN TestClient_Federation/unauthorized ---- PASS: TestClient_Federation (0.00s) - --- PASS: TestClient_Federation/ok (0.00s) +--- PASS: TestClient_Federation (0.01s) + --- PASS: TestClient_Federation/ok (0.01s) --- PASS: TestClient_Federation/unauthorized (0.00s) === RUN TestClient_SSHRoots === RUN TestClient_SSHRoots/ok === RUN TestClient_SSHRoots/not_found ---- PASS: TestClient_SSHRoots (0.00s) - --- PASS: TestClient_SSHRoots/ok (0.00s) +--- PASS: TestClient_SSHRoots (0.01s) + --- PASS: TestClient_SSHRoots/ok (0.01s) --- PASS: TestClient_SSHRoots/not_found (0.00s) === RUN Test_parseEndpoint === RUN Test_parseEndpoint/ok @@ -7928,18 +7969,18 @@ === RUN TestClient_RootFingerprint/ok === RUN TestClient_RootFingerprint/ok_with_error === RUN TestClient_RootFingerprint/fail ---- PASS: TestClient_RootFingerprint (0.02s) - --- PASS: TestClient_RootFingerprint/ok (0.01s) +--- PASS: TestClient_RootFingerprint (0.04s) + --- PASS: TestClient_RootFingerprint/ok (0.02s) --- PASS: TestClient_RootFingerprint/ok_with_error (0.01s) --- PASS: TestClient_RootFingerprint/fail (0.00s) === RUN TestClient_RootFingerprintWithServer ---- PASS: TestClient_RootFingerprintWithServer (0.01s) +--- PASS: TestClient_RootFingerprintWithServer (0.02s) === RUN TestClient_SSHBastion === RUN TestClient_SSHBastion/ok === RUN TestClient_SSHBastion/bad-response === RUN TestClient_SSHBastion/bad-request ---- PASS: TestClient_SSHBastion (0.00s) - --- PASS: TestClient_SSHBastion/ok (0.00s) +--- PASS: TestClient_SSHBastion (0.01s) + --- PASS: TestClient_SSHBastion/ok (0.01s) --- PASS: TestClient_SSHBastion/bad-response (0.00s) --- PASS: TestClient_SSHBastion/bad-request (0.00s) === RUN TestClient_GetCaURL @@ -7958,37 +7999,37 @@ === RUN TestNewProvisioner/ok-with-bundle === RUN TestNewProvisioner/ok-with-fingerprint === RUN TestNewProvisioner/fail-bad-kid -2024/05/23 12:07:12 encrypted key with kid bad-kid was not found +2023/04/22 07:51:11 encrypted key with kid bad-kid was not found === RUN TestNewProvisioner/fail-empty-name === RUN TestNewProvisioner/fail-bad-name === RUN TestNewProvisioner/fail-by-password === RUN TestNewProvisioner/fail-by-password-no-kid === RUN TestNewProvisioner/fail-bad-certificate === RUN TestNewProvisioner/fail-not-found-certificate -2024/05/23 12:07:13 http: TLS handshake error from 127.0.0.1:52330: remote error: tls: bad certificate ---- PASS: TestNewProvisioner (2.55s) - --- PASS: TestNewProvisioner/ok (0.32s) - --- PASS: TestNewProvisioner/ok-by-name (0.38s) - --- PASS: TestNewProvisioner/ok-with-bundle (0.36s) - --- PASS: TestNewProvisioner/ok-with-fingerprint (0.33s) - --- PASS: TestNewProvisioner/fail-bad-kid (0.02s) +2023/04/22 07:51:12 http: TLS handshake error from 127.0.0.1:41742: remote error: tls: bad certificate +--- PASS: TestNewProvisioner (2.57s) + --- PASS: TestNewProvisioner/ok (0.39s) + --- PASS: TestNewProvisioner/ok-by-name (0.31s) + --- PASS: TestNewProvisioner/ok-with-bundle (0.31s) + --- PASS: TestNewProvisioner/ok-with-fingerprint (0.46s) + --- PASS: TestNewProvisioner/fail-bad-kid (0.01s) --- PASS: TestNewProvisioner/fail-empty-name (0.01s) - --- PASS: TestNewProvisioner/fail-bad-name (0.01s) - --- PASS: TestNewProvisioner/fail-by-password (0.39s) - --- PASS: TestNewProvisioner/fail-by-password-no-kid (0.34s) - --- PASS: TestNewProvisioner/fail-bad-certificate (0.01s) + --- PASS: TestNewProvisioner/fail-bad-name (0.02s) + --- PASS: TestNewProvisioner/fail-by-password (0.31s) + --- PASS: TestNewProvisioner/fail-by-password-no-kid (0.32s) + --- PASS: TestNewProvisioner/fail-bad-certificate (0.00s) --- PASS: TestNewProvisioner/fail-not-found-certificate (0.00s) === RUN TestProvisioner_Getters ---- PASS: TestProvisioner_Getters (0.32s) +--- PASS: TestProvisioner_Getters (0.31s) === RUN TestProvisioner_Token === RUN TestProvisioner_Token/ok === RUN TestProvisioner_Token/ok-with-san === RUN TestProvisioner_Token/ok-with-sans === RUN TestProvisioner_Token/fail-no-subject === RUN TestProvisioner_Token/fail-no-key ---- PASS: TestProvisioner_Token (0.34s) +--- PASS: TestProvisioner_Token (0.36s) --- PASS: TestProvisioner_Token/ok (0.00s) - --- PASS: TestProvisioner_Token/ok-with-san (0.00s) + --- PASS: TestProvisioner_Token/ok-with-san (0.01s) --- PASS: TestProvisioner_Token/ok-with-sans (0.00s) --- PASS: TestProvisioner_Token/fail-no-subject (0.00s) --- PASS: TestProvisioner_Token/fail-no-key (0.00s) @@ -7998,7 +8039,7 @@ === RUN TestProvisioner_IPv6Token/ok-with-sans === RUN TestProvisioner_IPv6Token/fail-no-subject === RUN TestProvisioner_IPv6Token/fail-no-key ---- PASS: TestProvisioner_IPv6Token (0.32s) +--- PASS: TestProvisioner_IPv6Token (0.44s) --- PASS: TestProvisioner_IPv6Token/ok (0.00s) --- PASS: TestProvisioner_IPv6Token/ok-with-san (0.00s) --- PASS: TestProvisioner_IPv6Token/ok-with-sans (0.00s) @@ -8010,7 +8051,7 @@ === RUN TestProvisioner_SSHToken/ok_multiple_principals === RUN TestProvisioner_SSHToken/fail-no-subject === RUN TestProvisioner_SSHToken/fail-no-key ---- PASS: TestProvisioner_SSHToken (0.32s) +--- PASS: TestProvisioner_SSHToken (0.37s) --- PASS: TestProvisioner_SSHToken/ok (0.00s) --- PASS: TestProvisioner_SSHToken/ok_host (0.00s) --- PASS: TestProvisioner_SSHToken/ok_multiple_principals (0.00s) @@ -8047,131 +8088,131 @@ === RUN TestAddRootsToRootCAs === RUN TestAddRootsToRootCAs/ok === RUN TestAddRootsToRootCAs/fail -2024/05/23 12:07:14 http: TLS handshake error from 127.0.0.1:38352: read tcp 127.0.0.1:39217->127.0.0.1:38352: use of closed network connection ---- PASS: TestAddRootsToRootCAs (0.02s) +2023/04/22 07:51:13 http: TLS handshake error from 127.0.0.1:42612: remote error: tls: bad certificate +--- PASS: TestAddRootsToRootCAs (0.03s) --- PASS: TestAddRootsToRootCAs/ok (0.01s) - --- PASS: TestAddRootsToRootCAs/fail (0.00s) + --- PASS: TestAddRootsToRootCAs/fail (0.01s) === RUN TestAddRootsToClientCAs === RUN TestAddRootsToClientCAs/ok === RUN TestAddRootsToClientCAs/fail -2024/05/23 12:07:15 http: TLS handshake error from 127.0.0.1:41590: read tcp 127.0.0.1:39761->127.0.0.1:41590: use of closed network connection ---- PASS: TestAddRootsToClientCAs (0.02s) +2023/04/22 07:51:13 http: TLS handshake error from 127.0.0.1:41028: read tcp 127.0.0.1:42383->127.0.0.1:41028: use of closed network connection +--- PASS: TestAddRootsToClientCAs (0.03s) --- PASS: TestAddRootsToClientCAs/ok (0.01s) --- PASS: TestAddRootsToClientCAs/fail (0.00s) === RUN TestAddFederationToRootCAs === RUN TestAddFederationToRootCAs/ok === RUN TestAddFederationToRootCAs/fail -2024/05/23 12:07:15 http: TLS handshake error from 127.0.0.1:37262: read tcp 127.0.0.1:37005->127.0.0.1:37262: use of closed network connection +2023/04/22 07:51:13 http: TLS handshake error from 127.0.0.1:51468: remote error: tls: bad certificate --- PASS: TestAddFederationToRootCAs (0.02s) --- PASS: TestAddFederationToRootCAs/ok (0.01s) - --- PASS: TestAddFederationToRootCAs/fail (0.01s) + --- PASS: TestAddFederationToRootCAs/fail (0.00s) === RUN TestAddFederationToClientCAs === RUN TestAddFederationToClientCAs/ok === RUN TestAddFederationToClientCAs/fail -2024/05/23 12:07:15 http: TLS handshake error from 127.0.0.1:48294: remote error: tls: bad certificate +2023/04/22 07:51:13 http: TLS handshake error from 127.0.0.1:41924: remote error: tls: bad certificate --- PASS: TestAddFederationToClientCAs (0.02s) --- PASS: TestAddFederationToClientCAs/ok (0.01s) - --- PASS: TestAddFederationToClientCAs/fail (0.01s) + --- PASS: TestAddFederationToClientCAs/fail (0.00s) === RUN TestAddRootsToCAs === RUN TestAddRootsToCAs/ok === RUN TestAddRootsToCAs/fail -2024/05/23 12:07:15 http: TLS handshake error from 127.0.0.1:46496: read tcp 127.0.0.1:46849->127.0.0.1:46496: use of closed network connection ---- PASS: TestAddRootsToCAs (0.02s) +2023/04/22 07:51:13 http: TLS handshake error from 127.0.0.1:55652: read tcp 127.0.0.1:37571->127.0.0.1:55652: use of closed network connection +--- PASS: TestAddRootsToCAs (0.03s) --- PASS: TestAddRootsToCAs/ok (0.01s) --- PASS: TestAddRootsToCAs/fail (0.00s) === RUN TestAddFederationToCAs === RUN TestAddFederationToCAs/ok === RUN TestAddFederationToCAs/fail -2024/05/23 12:07:15 http: TLS handshake error from 127.0.0.1:37506: read tcp 127.0.0.1:45115->127.0.0.1:37506: use of closed network connection +2023/04/22 07:51:13 http: TLS handshake error from 127.0.0.1:44904: remote error: tls: bad certificate --- PASS: TestAddFederationToCAs (0.02s) --- PASS: TestAddFederationToCAs/ok (0.01s) --- PASS: TestAddFederationToCAs/fail (0.00s) === RUN TestClient_GetServerTLSConfig_http === RUN TestClient_GetServerTLSConfig_http/with_transport -=== RUN TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:46309 -=== RUN TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:41803 +=== RUN TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:33135 +=== RUN TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:40211 === RUN TestClient_GetServerTLSConfig_http/with_tlsConfig -=== RUN TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:46309 -=== RUN TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:41803 +=== RUN TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:33135 +=== RUN TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:40211 === RUN TestClient_GetServerTLSConfig_http/with_no_ClientCert -=== RUN TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:46309/no-cert -=== RUN TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:41803/no-cert -2024/05/23 12:07:16 http: TLS handshake error from 127.0.0.1:56452: tls: client didn't provide a certificate +=== RUN TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:33135/no-cert +=== RUN TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:40211/no-cert +2023/04/22 07:51:15 http: TLS handshake error from 127.0.0.1:41096: tls: client didn't provide a certificate === RUN TestClient_GetServerTLSConfig_http/fail_with_default -=== RUN TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:46309/no-cert -=== RUN TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:41803/no-cert -2024/05/23 12:07:17 http: TLS handshake error from 127.0.0.1:51224: remote error: tls: bad certificate -2024/05/23 12:07:17 http: TLS handshake error from 127.0.0.1:56462: read tcp 127.0.0.1:41803->127.0.0.1:56462: use of closed network connection ---- PASS: TestClient_GetServerTLSConfig_http (2.03s) - --- PASS: TestClient_GetServerTLSConfig_http/with_transport (0.36s) - --- PASS: TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:46309 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:41803 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_http/with_tlsConfig (0.35s) - --- PASS: TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:46309 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:41803 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_http/with_no_ClientCert (0.41s) - --- PASS: TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:46309/no-cert (0.01s) - --- PASS: TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:41803/no-cert (0.01s) - --- PASS: TestClient_GetServerTLSConfig_http/fail_with_default (0.52s) - --- PASS: TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:46309/no-cert (0.00s) - --- PASS: TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:41803/no-cert (0.01s) +=== RUN TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:33135/no-cert +2023/04/22 07:51:15 http: TLS handshake error from 127.0.0.1:59090: remote error: tls: bad certificate +=== RUN TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:40211/no-cert +2023/04/22 07:51:15 http: TLS handshake error from 127.0.0.1:58974: remote error: tls: bad certificate +--- PASS: TestClient_GetServerTLSConfig_http (1.94s) + --- PASS: TestClient_GetServerTLSConfig_http/with_transport (0.44s) + --- PASS: TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:33135 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_http/with_transport/https://127.0.0.1:40211 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_http/with_tlsConfig (0.33s) + --- PASS: TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:33135 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_http/with_tlsConfig/https://127.0.0.1:40211 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_http/with_no_ClientCert (0.32s) + --- PASS: TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:33135/no-cert (0.01s) + --- PASS: TestClient_GetServerTLSConfig_http/with_no_ClientCert/https://127.0.0.1:40211/no-cert (0.01s) + --- PASS: TestClient_GetServerTLSConfig_http/fail_with_default (0.39s) + --- PASS: TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:33135/no-cert (0.01s) + --- PASS: TestClient_GetServerTLSConfig_http/fail_with_default/https://127.0.0.1:40211/no-cert (0.00s) === RUN TestClient_GetServerTLSConfig_renew === RUN TestClient_GetServerTLSConfig_renew/with_transport -=== RUN TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:38847 -=== RUN TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:39743 +=== RUN TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:45143 +=== RUN TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:36581 === RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig -=== RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:39743 -=== RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:38847 +=== RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:45143 +=== RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:36581 === RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert -=== RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:38847/no-cert -=== RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:39743/no-cert -2024/05/23 12:07:18 http: TLS handshake error from 127.0.0.1:50044: tls: client didn't provide a certificate +=== RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:45143/no-cert +=== RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:36581/no-cert +2023/04/22 07:51:16 http: TLS handshake error from 127.0.0.1:39526: tls: client didn't provide a certificate === RUN TestClient_GetServerTLSConfig_renew/fail_with_default -=== RUN TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:39743/no-cert -=== RUN TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:38847/no-cert -2024/05/23 12:07:18 http: TLS handshake error from 127.0.0.1:50054: remote error: tls: bad certificate -2024/05/23 12:07:18 http: TLS handshake error from 127.0.0.1:55068: remote error: tls: bad certificate -2024/05/23 12:07:18 Sleeping for 5s ... +=== RUN TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:45143/no-cert +2023/04/22 07:51:16 http: TLS handshake error from 127.0.0.1:34096: remote error: tls: bad certificate +=== RUN TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:36581/no-cert +2023/04/22 07:51:16 Sleeping for 5s ... +2023/04/22 07:51:16 http: TLS handshake error from 127.0.0.1:39534: remote error: tls: bad certificate === RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport -=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:38847 -=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:39743 +=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:45143 +=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:36581 === RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig -=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:38847 -=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:39743 +=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:45143 +=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:36581 === RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert -=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:39743/no-cert -2024/05/23 12:07:23 http: TLS handshake error from 127.0.0.1:42200: tls: client didn't provide a certificate -=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:38847/no-cert +=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:45143/no-cert +=== RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:36581/no-cert +2023/04/22 07:51:21 http: TLS handshake error from 127.0.0.1:39550: tls: client didn't provide a certificate === RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default -=== RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:38847/no-cert -=== RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:39743/no-cert -2024/05/23 12:07:23 http: TLS handshake error from 127.0.0.1:33518: remote error: tls: bad certificate -2024/05/23 12:07:23 http: TLS handshake error from 127.0.0.1:42212: read tcp 127.0.0.1:39743->127.0.0.1:42212: use of closed network connection ---- PASS: TestClient_GetServerTLSConfig_renew (6.28s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_transport (0.02s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:38847 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:39743 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig (0.02s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:39743 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:38847 (0.01s) +=== RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:45143/no-cert +=== RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:36581/no-cert +2023/04/22 07:51:21 http: TLS handshake error from 127.0.0.1:34130: remote error: tls: bad certificate +2023/04/22 07:51:21 http: TLS handshake error from 127.0.0.1:39564: read tcp 127.0.0.1:36581->127.0.0.1:39564: use of closed network connection +--- PASS: TestClient_GetServerTLSConfig_renew (6.05s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_transport (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:45143 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:36581 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:45143 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:36581 (0.01s) --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:38847/no-cert (0.00s) - --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:39743/no-cert (0.00s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:45143/no-cert (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:36581/no-cert (0.01s) --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:39743/no-cert (0.00s) - --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:38847/no-cert (0.00s) + --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:45143/no-cert (0.00s) + --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:36581/no-cert (0.00s) --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_transport (0.02s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:38847 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:39743 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:38847 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:39743 (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:39743/no-cert (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:38847/no-cert (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default (0.01s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:38847/no-cert (0.00s) - --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:39743/no-cert (0.00s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:45143 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:36581 (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig (0.04s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:45143 (0.02s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:36581 (0.02s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert (0.02s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:45143/no-cert (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:36581/no-cert (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default (0.02s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:45143/no-cert (0.01s) + --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:36581/no-cert (0.01s) === RUN TestCertificate === RUN TestCertificate/ok === RUN TestCertificate/fail @@ -8181,7 +8222,7 @@ === RUN TestIntermediateCertificate === RUN TestIntermediateCertificate/ok === RUN TestIntermediateCertificate/fail ---- PASS: TestIntermediateCertificate (0.00s) +--- PASS: TestIntermediateCertificate (0.01s) --- PASS: TestIntermediateCertificate/ok (0.00s) --- PASS: TestIntermediateCertificate/fail (0.00s) === RUN TestRootCertificateCertificate @@ -8193,10 +8234,10 @@ --- PASS: TestRootCertificateCertificate/fail (0.00s) --- PASS: TestRootCertificateCertificate/no_tls (0.00s) PASS -ok github.com/smallstep/certificates/ca 23.712s +ok github.com/smallstep/certificates/ca 23.945s === RUN TestClient -2024/05/23 12:06:50 http: TLS handshake error from 127.0.0.1:45744: read tcp 127.0.0.1:40721->127.0.0.1:45744: use of closed network connection ---- PASS: TestClient (0.09s) +2023/04/22 07:50:48 http: TLS handshake error from 127.0.0.1:54966: read tcp 127.0.0.1:41127->127.0.0.1:54966: use of closed network connection +--- PASS: TestClient (0.03s) === RUN TestClient_ResolveReference === RUN TestClient_ResolveReference/ok === RUN TestClient_ResolveReference/ok#01 @@ -8263,7 +8304,7 @@ === RUN TestIdentity_Validate/fail_missing_key#01 === RUN TestIdentity_Validate/fail_host === RUN TestIdentity_Validate/fail_root ---- PASS: TestIdentity_Validate (0.01s) +--- PASS: TestIdentity_Validate (0.00s) --- PASS: TestIdentity_Validate/ok_mTLS (0.00s) --- PASS: TestIdentity_Validate/ok_tTLS (0.00s) --- PASS: TestIdentity_Validate/ok_disabled (0.00s) @@ -8285,9 +8326,9 @@ === RUN TestIdentity_TLSCertificate/fail_certificate === RUN TestIdentity_TLSCertificate/fail_not_after === RUN TestIdentity_TLSCertificate/fail_not_before ---- PASS: TestIdentity_TLSCertificate (0.03s) +--- PASS: TestIdentity_TLSCertificate (0.00s) --- PASS: TestIdentity_TLSCertificate/ok_mTLS (0.00s) - --- PASS: TestIdentity_TLSCertificate/ok_tTLS (0.02s) + --- PASS: TestIdentity_TLSCertificate/ok_tTLS (0.00s) --- PASS: TestIdentity_TLSCertificate/ok_disabled (0.00s) --- PASS: TestIdentity_TLSCertificate/fail_type (0.00s) --- PASS: TestIdentity_TLSCertificate/fail_certificate (0.00s) @@ -8308,8 +8349,8 @@ === RUN TestWriteDefaultIdentity/fail_certificate === RUN TestWriteDefaultIdentity/fail_key === RUN TestWriteDefaultIdentity/fail_write_identity ---- PASS: TestWriteDefaultIdentity (0.02s) - --- PASS: TestWriteDefaultIdentity/ok (0.01s) +--- PASS: TestWriteDefaultIdentity (0.00s) + --- PASS: TestWriteDefaultIdentity/ok (0.00s) --- PASS: TestWriteDefaultIdentity/fail_mkdir_config (0.00s) --- PASS: TestWriteDefaultIdentity/fail_mkdir_identity (0.00s) --- PASS: TestWriteDefaultIdentity/fail_certificate (0.00s) @@ -8320,7 +8361,7 @@ === RUN TestIdentity_GetClientCertificateFunc/ok_tTLS === RUN TestIdentity_GetClientCertificateFunc/fail_missing_cert === RUN TestIdentity_GetClientCertificateFunc/fail_missing_key ---- PASS: TestIdentity_GetClientCertificateFunc (0.01s) +--- PASS: TestIdentity_GetClientCertificateFunc (0.00s) --- PASS: TestIdentity_GetClientCertificateFunc/ok_mTLS (0.00s) --- PASS: TestIdentity_GetClientCertificateFunc/ok_tTLS (0.00s) --- PASS: TestIdentity_GetClientCertificateFunc/fail_missing_cert (0.00s) @@ -8343,7 +8384,7 @@ === RUN TestIdentity_Renew/fail_renew === RUN TestIdentity_Renew/fail_certificate === RUN TestIdentity_Renew/fail_write_identity ---- PASS: TestIdentity_Renew (0.00s) +--- PASS: TestIdentity_Renew (0.01s) --- PASS: TestIdentity_Renew/ok (0.00s) --- PASS: TestIdentity_Renew/ok_old (0.00s) --- PASS: TestIdentity_Renew/ok_disabled (0.00s) @@ -8352,7 +8393,7 @@ --- PASS: TestIdentity_Renew/fail_certificate (0.00s) --- PASS: TestIdentity_Renew/fail_write_identity (0.00s) PASS -ok github.com/smallstep/certificates/ca/identity 0.318s +ok github.com/smallstep/certificates/ca/identity 0.088s === RUN TestNew === RUN TestNew/ok_default === RUN TestNew/ok_softcas @@ -8380,7 +8421,7 @@ --- PASS: TestNewCreator/fail_type (0.00s) --- PASS: TestNewCreator/fail_no_creator (0.00s) PASS -ok github.com/smallstep/certificates/cas 0.141s +ok github.com/smallstep/certificates/cas 0.062s === RUN TestCreateCertificateAuthorityExtension === RUN TestCreateCertificateAuthorityExtension/ok === RUN TestCreateCertificateAuthorityExtension/ok#01 @@ -8445,9 +8486,9 @@ --- PASS: TestOptions_Is/fail#01 (0.00s) === RUN TestRegister === RUN TestRegister/ok -&{{0 0} {{map[] true}} map[testcas:0x40000100c8] 0} +&{{0 0} {{map[] true}} map[testcas:0x40000a80b8] 0} === RUN TestRegister/error -&{{0 0} {{map[testcas:0x40000100c8] true}} map[errorcas:0x40000100d0 testcas:0x40000100c8] 0} +&{{0 0} {{map[testcas:0x40000a80b8] true}} map[errorcas:0x40000a80c0 testcas:0x40000a80b8] 0} --- PASS: TestRegister (0.00s) --- PASS: TestRegister/ok (0.00s) --- PASS: TestRegister/error (0.00s) @@ -8488,7 +8529,7 @@ --- PASS: TestErrNotImplemented_StatusCode/default (0.00s) --- PASS: TestErrNotImplemented_StatusCode/with_message (0.00s) PASS -ok github.com/smallstep/certificates/cas/apiv1 0.073s +ok github.com/smallstep/certificates/cas/apiv1 0.048s === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_with_callback @@ -8511,12 +8552,12 @@ === RUN TestSoftCAS_CreateCertificate/fail_lifetime === RUN TestSoftCAS_CreateCertificate/fail_CreateCertificate === RUN TestSoftCAS_CreateCertificate/fail_with_callback ---- PASS: TestSoftCAS_CreateCertificate (0.00s) +--- PASS: TestSoftCAS_CreateCertificate (0.03s) --- PASS: TestSoftCAS_CreateCertificate/ok (0.00s) --- PASS: TestSoftCAS_CreateCertificate/ok_signature_algorithm (0.00s) --- PASS: TestSoftCAS_CreateCertificate/ok_with_notBefore (0.00s) --- PASS: TestSoftCAS_CreateCertificate/ok_with_notBefore+notAfter (0.00s) - --- PASS: TestSoftCAS_CreateCertificate/ok_with_callback (0.00s) + --- PASS: TestSoftCAS_CreateCertificate/ok_with_callback (0.03s) --- PASS: TestSoftCAS_CreateCertificate/fail_template (0.00s) --- PASS: TestSoftCAS_CreateCertificate/fail_lifetime (0.00s) --- PASS: TestSoftCAS_CreateCertificate/fail_CreateCertificate (0.00s) @@ -8530,7 +8571,7 @@ === RUN TestSoftCAS_RenewCertificate/fail_CreateCertificate === RUN TestSoftCAS_RenewCertificate/fail_with_callback --- PASS: TestSoftCAS_RenewCertificate (0.02s) - --- PASS: TestSoftCAS_RenewCertificate/ok (0.02s) + --- PASS: TestSoftCAS_RenewCertificate/ok (0.00s) --- PASS: TestSoftCAS_RenewCertificate/ok_signature_algorithm (0.00s) --- PASS: TestSoftCAS_RenewCertificate/ok_with_callback (0.00s) --- PASS: TestSoftCAS_RenewCertificate/fail_template (0.00s) @@ -8569,7 +8610,7 @@ --- PASS: TestSoftCAS_CreateCertificateAuthority (0.02s) --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_root (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_intermediate (0.00s) - --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_signature_algorithm (0.01s) + --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_signature_algorithm (0.02s) --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_createKey (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_template (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_lifetime (0.00s) @@ -8585,46 +8626,46 @@ === RUN TestSoftCAS_defaultKeyManager/ok_root === RUN TestSoftCAS_defaultKeyManager/ok_intermediate === RUN TestSoftCAS_defaultKeyManager/fail_with_default_key_manager ---- PASS: TestSoftCAS_defaultKeyManager (0.00s) +--- PASS: TestSoftCAS_defaultKeyManager (0.01s) --- PASS: TestSoftCAS_defaultKeyManager/ok_root (0.00s) - --- PASS: TestSoftCAS_defaultKeyManager/ok_intermediate (0.00s) + --- PASS: TestSoftCAS_defaultKeyManager/ok_intermediate (0.01s) --- PASS: TestSoftCAS_defaultKeyManager/fail_with_default_key_manager (0.00s) PASS -ok github.com/smallstep/certificates/cas/softcas 0.224s +ok github.com/smallstep/certificates/cas/softcas 0.206s === RUN Test_newStepIssuer === RUN Test_newStepIssuer/x5c === RUN Test_newStepIssuer/jwk === RUN Test_newStepIssuer/fail ---- PASS: Test_newStepIssuer (0.64s) +--- PASS: Test_newStepIssuer (0.70s) --- PASS: Test_newStepIssuer/x5c (0.00s) --- PASS: Test_newStepIssuer/jwk (0.00s) --- PASS: Test_newStepIssuer/fail (0.00s) === RUN Test_jwkIssuer_SignToken === RUN Test_jwkIssuer_SignToken/ok === RUN Test_jwkIssuer_SignToken/fail ---- PASS: Test_jwkIssuer_SignToken (0.86s) +--- PASS: Test_jwkIssuer_SignToken (0.80s) --- PASS: Test_jwkIssuer_SignToken/ok (0.00s) --- PASS: Test_jwkIssuer_SignToken/fail (0.00s) === RUN Test_jwkIssuer_RevokeToken === RUN Test_jwkIssuer_RevokeToken/ok === RUN Test_jwkIssuer_RevokeToken/ok#01 ---- PASS: Test_jwkIssuer_RevokeToken (0.71s) - --- PASS: Test_jwkIssuer_RevokeToken/ok (0.02s) +--- PASS: Test_jwkIssuer_RevokeToken (0.38s) + --- PASS: Test_jwkIssuer_RevokeToken/ok (0.01s) --- PASS: Test_jwkIssuer_RevokeToken/ok#01 (0.00s) === RUN Test_jwkIssuer_Lifetime === RUN Test_jwkIssuer_Lifetime/ok ---- PASS: Test_jwkIssuer_Lifetime (0.61s) +--- PASS: Test_jwkIssuer_Lifetime (0.45s) --- PASS: Test_jwkIssuer_Lifetime/ok (0.00s) === RUN Test_newJWKSignerFromEncryptedKey === RUN Test_newJWKSignerFromEncryptedKey/ok === RUN Test_newJWKSignerFromEncryptedKey/fail_decrypt === RUN Test_newJWKSignerFromEncryptedKey/fail_unmarshal === RUN Test_newJWKSignerFromEncryptedKey/fail_not_signer ---- PASS: Test_newJWKSignerFromEncryptedKey (2.85s) - --- PASS: Test_newJWKSignerFromEncryptedKey/ok (0.48s) - --- PASS: Test_newJWKSignerFromEncryptedKey/fail_decrypt (0.48s) - --- PASS: Test_newJWKSignerFromEncryptedKey/fail_unmarshal (0.46s) - --- PASS: Test_newJWKSignerFromEncryptedKey/fail_not_signer (0.41s) +--- PASS: Test_newJWKSignerFromEncryptedKey (3.48s) + --- PASS: Test_newJWKSignerFromEncryptedKey/ok (0.51s) + --- PASS: Test_newJWKSignerFromEncryptedKey/fail_decrypt (0.56s) + --- PASS: Test_newJWKSignerFromEncryptedKey/fail_unmarshal (0.68s) + --- PASS: Test_newJWKSignerFromEncryptedKey/fail_not_signer (0.70s) === RUN Test_init --- PASS: Test_init (0.01s) === RUN TestNew @@ -8650,28 +8691,28 @@ === RUN TestNew/fail_new_jwk_issuer === RUN TestNew/bad_issuer === RUN TestNew/bad_issuer_type ---- PASS: TestNew (1.43s) - --- PASS: TestNew/ok (0.01s) - --- PASS: TestNew/ok_jwk (0.00s) - --- PASS: TestNew/ok_jwk_provisioners (0.44s) - --- PASS: TestNew/ok_ca_getter (0.00s) +--- PASS: TestNew (1.87s) + --- PASS: TestNew/ok (0.00s) + --- PASS: TestNew/ok_jwk (0.02s) + --- PASS: TestNew/ok_jwk_provisioners (0.64s) + --- PASS: TestNew/ok_ca_getter (0.01s) --- PASS: TestNew/fail_authority (0.00s) --- PASS: TestNew/fail_fingerprint (0.00s) - --- PASS: TestNew/fail_type (0.00s) + --- PASS: TestNew/fail_type (0.01s) --- PASS: TestNew/fail_provisioner (0.00s) - --- PASS: TestNew/fail_provisioner_jwk (0.01s) + --- PASS: TestNew/fail_provisioner_jwk (0.00s) --- PASS: TestNew/fail_provisioner_not_found (0.00s) - --- PASS: TestNew/fail_invalid_password (0.42s) - --- PASS: TestNew/fail_no_key (0.00s) + --- PASS: TestNew/fail_invalid_password (0.67s) + --- PASS: TestNew/fail_no_key (0.01s) --- PASS: TestNew/fail_certificate (0.00s) --- PASS: TestNew/fail_key (0.00s) - --- PASS: TestNew/fail_key_jwk (0.01s) - --- PASS: TestNew/bad_authority (0.00s) + --- PASS: TestNew/fail_key_jwk (0.00s) + --- PASS: TestNew/bad_authority (0.01s) --- PASS: TestNew/fail_parse_url (0.00s) --- PASS: TestNew/fail_new_client (0.00s) --- PASS: TestNew/fail_new_x5c_issuer (0.00s) --- PASS: TestNew/fail_new_jwk_issuer (0.00s) - --- PASS: TestNew/bad_issuer (0.00s) + --- PASS: TestNew/bad_issuer (0.01s) --- PASS: TestNew/bad_issuer_type (0.00s) === RUN TestStepCAS_CreateCertificate === RUN TestStepCAS_CreateCertificate/ok @@ -8683,16 +8724,16 @@ === RUN TestStepCAS_CreateCertificate/fail_sign_token === RUN TestStepCAS_CreateCertificate/fail_client_sign === RUN TestStepCAS_CreateCertificate/fail_password ---- PASS: TestStepCAS_CreateCertificate (2.36s) - --- PASS: TestStepCAS_CreateCertificate/ok (0.02s) - --- PASS: TestStepCAS_CreateCertificate/ok_with_password (0.47s) +--- PASS: TestStepCAS_CreateCertificate (3.08s) + --- PASS: TestStepCAS_CreateCertificate/ok (0.01s) + --- PASS: TestStepCAS_CreateCertificate/ok_with_password (0.70s) --- PASS: TestStepCAS_CreateCertificate/ok_jwk (0.00s) --- PASS: TestStepCAS_CreateCertificate/ok_jwk_with_password (0.00s) --- PASS: TestStepCAS_CreateCertificate/fail_CSR (0.00s) --- PASS: TestStepCAS_CreateCertificate/fail_lifetime (0.00s) --- PASS: TestStepCAS_CreateCertificate/fail_sign_token (0.00s) --- PASS: TestStepCAS_CreateCertificate/fail_client_sign (0.00s) - --- PASS: TestStepCAS_CreateCertificate/fail_password (0.42s) + --- PASS: TestStepCAS_CreateCertificate/fail_password (0.48s) === RUN TestStepCAS_RenewCertificate === RUN TestStepCAS_RenewCertificate/not_implemented === RUN TestStepCAS_RenewCertificate/not_implemented_jwk @@ -8712,11 +8753,11 @@ === RUN TestStepCAS_RevokeCertificate/fail_revoke_token === RUN TestStepCAS_RevokeCertificate/fail_client_revoke === RUN TestStepCAS_RevokeCertificate/fail_password ---- PASS: TestStepCAS_RevokeCertificate (2.67s) +--- PASS: TestStepCAS_RevokeCertificate (2.05s) --- PASS: TestStepCAS_RevokeCertificate/ok_serial_number (0.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_certificate (0.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_both (0.00s) - --- PASS: TestStepCAS_RevokeCertificate/ok_with_password (0.50s) + --- PASS: TestStepCAS_RevokeCertificate/ok_with_password (0.30s) --- PASS: TestStepCAS_RevokeCertificate/ok_serial_number_jwk (0.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_certificate_jwk (0.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_both_jwk (0.00s) @@ -8724,7 +8765,7 @@ --- PASS: TestStepCAS_RevokeCertificate/fail_request (0.00s) --- PASS: TestStepCAS_RevokeCertificate/fail_revoke_token (0.00s) --- PASS: TestStepCAS_RevokeCertificate/fail_client_revoke (0.00s) - --- PASS: TestStepCAS_RevokeCertificate/fail_password (0.49s) + --- PASS: TestStepCAS_RevokeCertificate/fail_password (0.30s) === RUN TestStepCAS_GetCertificateAuthority === RUN TestStepCAS_GetCertificateAuthority/ok === RUN TestStepCAS_GetCertificateAuthority/ok_jwk @@ -8739,7 +8780,7 @@ === RUN Test_x5cIssuer_SignToken/fail_key === RUN Test_x5cIssuer_SignToken/fail_no_signer --- PASS: Test_x5cIssuer_SignToken (0.01s) - --- PASS: Test_x5cIssuer_SignToken/ok (0.00s) + --- PASS: Test_x5cIssuer_SignToken/ok (0.01s) --- PASS: Test_x5cIssuer_SignToken/fail_crt (0.00s) --- PASS: Test_x5cIssuer_SignToken/fail_key (0.00s) --- PASS: Test_x5cIssuer_SignToken/fail_no_signer (0.00s) @@ -8748,8 +8789,8 @@ === RUN Test_x5cIssuer_RevokeToken/fail_crt === RUN Test_x5cIssuer_RevokeToken/fail_key === RUN Test_x5cIssuer_RevokeToken/fail_no_signer ---- PASS: Test_x5cIssuer_RevokeToken (0.01s) - --- PASS: Test_x5cIssuer_RevokeToken/ok (0.01s) +--- PASS: Test_x5cIssuer_RevokeToken (0.00s) + --- PASS: Test_x5cIssuer_RevokeToken/ok (0.00s) --- PASS: Test_x5cIssuer_RevokeToken/fail_crt (0.00s) --- PASS: Test_x5cIssuer_RevokeToken/fail_key (0.00s) --- PASS: Test_x5cIssuer_RevokeToken/fail_no_signer (0.00s) @@ -8775,43 +8816,43 @@ === RUN Test_newJoseSigner/rsa === RUN Test_newJoseSigner/fail_p224 === RUN Test_newJoseSigner/fail_signer ---- PASS: Test_newJoseSigner (0.57s) +--- PASS: Test_newJoseSigner (0.58s) --- PASS: Test_newJoseSigner/p256 (0.00s) --- PASS: Test_newJoseSigner/p384 (0.00s) - --- PASS: Test_newJoseSigner/p521 (0.01s) + --- PASS: Test_newJoseSigner/p521 (0.00s) --- PASS: Test_newJoseSigner/ed25519 (0.00s) --- PASS: Test_newJoseSigner/rsa (0.01s) --- PASS: Test_newJoseSigner/fail_p224 (0.00s) --- PASS: Test_newJoseSigner/fail_signer (0.00s) PASS -ok github.com/smallstep/certificates/cas/stepcas 14.217s +ok github.com/smallstep/certificates/cas/stepcas 14.647s ? github.com/smallstep/certificates/commands [no test files] === RUN TestIsRevoked -=== RUN TestIsRevoked/false/nil_db === RUN TestIsRevoked/false/ErrNotFound === RUN TestIsRevoked/error/checking_bucket === RUN TestIsRevoked/true +=== RUN TestIsRevoked/false/nil_db --- PASS: TestIsRevoked (0.00s) - --- PASS: TestIsRevoked/false/nil_db (0.00s) --- PASS: TestIsRevoked/false/ErrNotFound (0.00s) --- PASS: TestIsRevoked/error/checking_bucket (0.00s) --- PASS: TestIsRevoked/true (0.00s) + --- PASS: TestIsRevoked/false/nil_db (0.00s) === RUN TestRevoke -=== RUN TestRevoke/ok === RUN TestRevoke/error/force_isRevoked === RUN TestRevoke/error/was_already_revoked +=== RUN TestRevoke/ok --- PASS: TestRevoke (0.00s) - --- PASS: TestRevoke/ok (0.00s) --- PASS: TestRevoke/error/force_isRevoked (0.00s) --- PASS: TestRevoke/error/was_already_revoked (0.00s) + --- PASS: TestRevoke/ok (0.00s) === RUN TestUseToken +=== RUN TestUseToken/ok/cmpAndSwap-success === RUN TestUseToken/fail/force-CmpAndSwap-error === RUN TestUseToken/fail/CmpAndSwap-already-exists -=== RUN TestUseToken/ok/cmpAndSwap-success --- PASS: TestUseToken (0.00s) + --- PASS: TestUseToken/ok/cmpAndSwap-success (0.00s) --- PASS: TestUseToken/fail/force-CmpAndSwap-error (0.00s) --- PASS: TestUseToken/fail/CmpAndSwap-already-exists (0.00s) - --- PASS: TestUseToken/ok/cmpAndSwap-success (0.00s) === RUN TestDB_StoreCertificateChain === RUN TestDB_StoreCertificateChain/ok === RUN TestDB_StoreCertificateChain/ok_no_provisioner @@ -8833,7 +8874,7 @@ === RUN TestSimpleDB --- PASS: TestSimpleDB (0.00s) PASS -ok github.com/smallstep/certificates/db 0.057s +ok github.com/smallstep/certificates/db 0.074s === RUN TestError_MarshalJSON === RUN TestError_MarshalJSON/ok === RUN TestError_MarshalJSON/ok_no_error @@ -8847,7 +8888,7 @@ --- PASS: TestError_UnmarshalJSON/ok (0.00s) --- PASS: TestError_UnmarshalJSON/fail (0.00s) PASS -ok github.com/smallstep/certificates/errs 0.049s +ok github.com/smallstep/certificates/errs 0.030s === RUN TestNew === RUN TestNew/softkms === RUN TestNew/default @@ -8861,7 +8902,7 @@ --- PASS: TestNew/pkcs11 (0.00s) --- PASS: TestNew/fail_validation (0.00s) PASS -ok github.com/smallstep/certificates/kms 0.141s +ok github.com/smallstep/certificates/kms 0.105s === RUN TestOptions_Validate === RUN TestOptions_Validate/nil === RUN TestOptions_Validate/softkms @@ -8927,7 +8968,7 @@ --- PASS: TestSignatureAlgorithm_String/PureEd25519 (0.00s) --- PASS: TestSignatureAlgorithm_String/unknown (0.00s) PASS -ok github.com/smallstep/certificates/kms/apiv1 0.012s +ok github.com/smallstep/certificates/kms/apiv1 0.047s === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_with_options @@ -8961,9 +9002,9 @@ === RUN TestKMS_CreateKey/fail_createKey === RUN TestKMS_CreateKey/fail_createAlias === RUN TestKMS_CreateKey/fail_getPublicKey ---- PASS: TestKMS_CreateKey (0.01s) +--- PASS: TestKMS_CreateKey (0.00s) --- PASS: TestKMS_CreateKey/ok (0.00s) - --- PASS: TestKMS_CreateKey/ok_rsa (0.01s) + --- PASS: TestKMS_CreateKey/ok_rsa (0.00s) --- PASS: TestKMS_CreateKey/fail_empty (0.00s) --- PASS: TestKMS_CreateKey/fail_unsupported_alg (0.00s) --- PASS: TestKMS_CreateKey/fail_unsupported_bits (0.00s) @@ -9047,7 +9088,7 @@ --- PASS: Test_getSigningAlgorithm/fail_rsa_alg (0.00s) --- PASS: Test_getSigningAlgorithm/fail_ecdsa_alg (0.00s) PASS -ok github.com/smallstep/certificates/kms/awskms 0.105s +ok github.com/smallstep/certificates/kms/awskms 0.073s === RUN TestNew setup_test.go:76: Running using Golang crypto === RUN TestNew/ok @@ -9064,7 +9105,7 @@ === RUN TestNew/fail_slot-id === RUN TestNew/fail_scheme === RUN TestNew/fail_configure ---- PASS: TestNew (11.24s) +--- PASS: TestNew (5.53s) --- PASS: TestNew/ok (0.00s) --- PASS: TestNew/ok_with_serial (0.00s) --- PASS: TestNew/ok_with_slot-id (0.00s) @@ -9091,7 +9132,7 @@ === RUN TestPKCS11_GetPublicKey/fail_uri === RUN TestPKCS11_GetPublicKey/fail_missing === RUN TestPKCS11_GetPublicKey/fail_FindKeyPair ---- PASS: TestPKCS11_GetPublicKey (16.59s) +--- PASS: TestPKCS11_GetPublicKey (3.44s) --- PASS: TestPKCS11_GetPublicKey/RSA (0.00s) --- PASS: TestPKCS11_GetPublicKey/RSA_by_id (0.00s) --- PASS: TestPKCS11_GetPublicKey/RSA_by_label (0.00s) @@ -9126,17 +9167,17 @@ === RUN TestPKCS11_CreateKey/fail_unknown === RUN TestPKCS11_CreateKey/fail_FindKeyPair === RUN TestPKCS11_CreateKey/fail_already_exists ---- PASS: TestPKCS11_CreateKey (65.03s) +--- PASS: TestPKCS11_CreateKey (69.55s) --- PASS: TestPKCS11_CreateKey/default (0.00s) --- PASS: TestPKCS11_CreateKey/default_extractable (0.00s) - --- PASS: TestPKCS11_CreateKey/RSA_SHA256WithRSA (19.46s) - --- PASS: TestPKCS11_CreateKey/RSA_SHA384WithRSA (9.94s) - --- PASS: TestPKCS11_CreateKey/RSA_SHA512WithRSA (2.56s) - --- PASS: TestPKCS11_CreateKey/RSA_SHA256WithRSAPSS (4.46s) - --- PASS: TestPKCS11_CreateKey/RSA_SHA384WithRSAPSS (2.40s) - --- PASS: TestPKCS11_CreateKey/RSA_SHA512WithRSAPSS (5.49s) - --- PASS: TestPKCS11_CreateKey/RSA_2048 (0.75s) - --- PASS: TestPKCS11_CreateKey/RSA_4096 (1.51s) + --- PASS: TestPKCS11_CreateKey/RSA_SHA256WithRSA (12.80s) + --- PASS: TestPKCS11_CreateKey/RSA_SHA384WithRSA (10.75s) + --- PASS: TestPKCS11_CreateKey/RSA_SHA512WithRSA (9.91s) + --- PASS: TestPKCS11_CreateKey/RSA_SHA256WithRSAPSS (1.65s) + --- PASS: TestPKCS11_CreateKey/RSA_SHA384WithRSAPSS (1.40s) + --- PASS: TestPKCS11_CreateKey/RSA_SHA512WithRSAPSS (6.70s) + --- PASS: TestPKCS11_CreateKey/RSA_2048 (1.19s) + --- PASS: TestPKCS11_CreateKey/RSA_4096 (5.76s) --- PASS: TestPKCS11_CreateKey/ECDSA_P256 (0.00s) --- PASS: TestPKCS11_CreateKey/ECDSA_P384 (0.00s) --- PASS: TestPKCS11_CreateKey/ECDSA_P521 (0.00s) @@ -9159,7 +9200,7 @@ === RUN TestPKCS11_CreateSigner/fail_SigningKey === RUN TestPKCS11_CreateSigner/fail_uri === RUN TestPKCS11_CreateSigner/fail_FindKeyPair ---- PASS: TestPKCS11_CreateSigner (3.16s) +--- PASS: TestPKCS11_CreateSigner (7.71s) --- PASS: TestPKCS11_CreateSigner/RSA (0.01s) --- PASS: TestPKCS11_CreateSigner/RSA_PSS (0.02s) --- PASS: TestPKCS11_CreateSigner/ECDSA_P256 (0.00s) @@ -9178,9 +9219,9 @@ === RUN TestPKCS11_CreateDecrypter/fail_DecryptionKey === RUN TestPKCS11_CreateDecrypter/fail_uri === RUN TestPKCS11_CreateDecrypter/fail_FindKeyPair ---- PASS: TestPKCS11_CreateDecrypter (3.74s) - --- PASS: TestPKCS11_CreateDecrypter/RSA (0.01s) - --- PASS: TestPKCS11_CreateDecrypter/RSA_PSS (0.03s) +--- PASS: TestPKCS11_CreateDecrypter (1.55s) + --- PASS: TestPKCS11_CreateDecrypter/RSA (0.02s) + --- PASS: TestPKCS11_CreateDecrypter/RSA_PSS (0.04s) --- PASS: TestPKCS11_CreateDecrypter/ECDSA_P256 (0.00s) --- PASS: TestPKCS11_CreateDecrypter/ECDSA_P384 (0.00s) --- PASS: TestPKCS11_CreateDecrypter/ECDSA_P521 (0.00s) @@ -9198,7 +9239,7 @@ === RUN TestPKCS11_LoadCertificate/fail_scheme === RUN TestPKCS11_LoadCertificate/fail_serial === RUN TestPKCS11_LoadCertificate/fail_FindCertificate ---- PASS: TestPKCS11_LoadCertificate (2.80s) +--- PASS: TestPKCS11_LoadCertificate (0.78s) --- PASS: TestPKCS11_LoadCertificate/load (0.00s) --- PASS: TestPKCS11_LoadCertificate/load_by_id (0.00s) --- PASS: TestPKCS11_LoadCertificate/load_by_label (0.00s) @@ -9218,7 +9259,7 @@ === RUN TestPKCS11_StoreCertificate/fail_uri === RUN TestPKCS11_StoreCertificate/fail_missing_id === RUN TestPKCS11_StoreCertificate/fail_missing_object ---- PASS: TestPKCS11_StoreCertificate (2.37s) +--- PASS: TestPKCS11_StoreCertificate (4.04s) --- PASS: TestPKCS11_StoreCertificate/ok (0.00s) --- PASS: TestPKCS11_StoreCertificate/ok_extractable (0.00s) --- PASS: TestPKCS11_StoreCertificate/fail_already_exists (0.00s) @@ -9235,7 +9276,7 @@ === RUN TestPKCS11_DeleteKey/delete_missing === RUN TestPKCS11_DeleteKey/fail_name === RUN TestPKCS11_DeleteKey/fail_FindKeyPair ---- PASS: TestPKCS11_DeleteKey (2.69s) +--- PASS: TestPKCS11_DeleteKey (3.42s) --- PASS: TestPKCS11_DeleteKey/delete (0.00s) --- PASS: TestPKCS11_DeleteKey/delete_by_id (0.00s) --- PASS: TestPKCS11_DeleteKey/delete_by_label (0.00s) @@ -9250,7 +9291,7 @@ === RUN TestPKCS11_DeleteCertificate/delete_missing === RUN TestPKCS11_DeleteCertificate/fail_name === RUN TestPKCS11_DeleteCertificate/fail_DeleteCertificate ---- PASS: TestPKCS11_DeleteCertificate (2.16s) +--- PASS: TestPKCS11_DeleteCertificate (1.86s) --- PASS: TestPKCS11_DeleteCertificate/delete (0.00s) --- PASS: TestPKCS11_DeleteCertificate/delete_by_id (0.00s) --- PASS: TestPKCS11_DeleteCertificate/delete_by_label (0.00s) @@ -9261,11 +9302,11 @@ setup_test.go:76: Running using Golang crypto === RUN TestPKCS11_Close/ok === RUN TestPKCS11_Close/second ---- PASS: TestPKCS11_Close (2.66s) +--- PASS: TestPKCS11_Close (2.31s) --- PASS: TestPKCS11_Close/ok (0.00s) --- PASS: TestPKCS11_Close/second (0.00s) PASS -ok github.com/smallstep/certificates/kms/pkcs11 112.473s +ok github.com/smallstep/certificates/kms/pkcs11 100.215s === RUN TestNew === RUN TestNew/ok --- PASS: TestNew (0.00s) @@ -9306,7 +9347,7 @@ === RUN TestSoftKMS_CreateKey/fail_algorithm === RUN TestSoftKMS_CreateKey/fail_generate_key === RUN TestSoftKMS_CreateKey/fail_no_signer ---- PASS: TestSoftKMS_CreateKey (6.19s) +--- PASS: TestSoftKMS_CreateKey (0.55s) --- PASS: TestSoftKMS_CreateKey/p256 (0.00s) --- PASS: TestSoftKMS_CreateKey/rsa (0.00s) --- PASS: TestSoftKMS_CreateKey/rsa2048 (0.00s) @@ -9334,9 +9375,9 @@ === RUN Test_generateKey/fail_kty === RUN Test_generateKey/fail_crv === RUN Test_generateKey/fail_size ---- PASS: Test_generateKey (56.48s) - --- PASS: Test_generateKey/rsa2048 (54.57s) - --- PASS: Test_generateKey/rsa2048#01 (1.91s) +--- PASS: Test_generateKey (4.61s) + --- PASS: Test_generateKey/rsa2048 (1.59s) + --- PASS: Test_generateKey/rsa2048#01 (3.02s) --- PASS: Test_generateKey/p256 (0.00s) --- PASS: Test_generateKey/ed25519 (0.00s) --- PASS: Test_generateKey/fail_kty (0.00s) @@ -9353,7 +9394,7 @@ === RUN TestSoftKMS_CreateDecrypter/fail_bad_password === RUN TestSoftKMS_CreateDecrypter/fail_not_a_decrypter_(ecdsa_key) === RUN TestSoftKMS_CreateDecrypter/fail_not_a_decrypter_from_file ---- PASS: TestSoftKMS_CreateDecrypter (5.30s) +--- PASS: TestSoftKMS_CreateDecrypter (0.29s) --- PASS: TestSoftKMS_CreateDecrypter/decrypter (0.00s) --- PASS: TestSoftKMS_CreateDecrypter/file (0.00s) --- PASS: TestSoftKMS_CreateDecrypter/pem (0.00s) @@ -9365,7 +9406,7 @@ --- PASS: TestSoftKMS_CreateDecrypter/fail_not_a_decrypter_(ecdsa_key) (0.00s) --- PASS: TestSoftKMS_CreateDecrypter/fail_not_a_decrypter_from_file (0.00s) PASS -ok github.com/smallstep/certificates/kms/softkms 68.073s +ok github.com/smallstep/certificates/kms/softkms 5.509s === RUN TestNew sshagentkms_test.go:43: could not find ssh-agent --- SKIP: TestNew (0.00s) @@ -9373,9 +9414,9 @@ === RUN TestNewFromAgent/ok_OpenSSHAgent sshagentkms_test.go:43: could not find ssh-agent === RUN TestNewFromAgent/ok_KeyringAgent ---- PASS: TestNewFromAgent (0.01s) +--- PASS: TestNewFromAgent (0.00s) --- SKIP: TestNewFromAgent/ok_OpenSSHAgent (0.00s) - --- PASS: TestNewFromAgent/ok_KeyringAgent (0.01s) + --- PASS: TestNewFromAgent/ok_KeyringAgent (0.00s) === RUN TestSSHAgentKMS_Close === RUN TestSSHAgentKMS_Close/ok --- PASS: TestSSHAgentKMS_Close (0.00s) @@ -9390,7 +9431,7 @@ sshagentkms_test.go:43: could not find ssh-agent --- SKIP: TestSSHAgentKMS_CreateKey (0.00s) PASS -ok github.com/smallstep/certificates/kms/sshagentkms 0.095s +ok github.com/smallstep/certificates/kms/sshagentkms 0.037s === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_multiple @@ -9512,13 +9553,13 @@ --- PASS: TestURI_String/ok_new (0.00s) --- PASS: TestURI_String/ok_parse (0.00s) PASS -ok github.com/smallstep/certificates/kms/uri 0.232s +ok github.com/smallstep/certificates/kms/uri 0.060s ? github.com/smallstep/certificates/kms/yubikey [no test files] === RUN TestHealthOKHandling === RUN TestHealthOKHandling/200_should_be_logged_at_Info_level_for_/health_request_without_explicit_opt-in === RUN TestHealthOKHandling/200_should_be_logged_only_at_Trace_level_for_/health_request_if_opt-in ---- PASS: TestHealthOKHandling (0.01s) - --- PASS: TestHealthOKHandling/200_should_be_logged_at_Info_level_for_/health_request_without_explicit_opt-in (0.01s) +--- PASS: TestHealthOKHandling (0.00s) + --- PASS: TestHealthOKHandling/200_should_be_logged_at_Info_level_for_/health_request_without_explicit_opt-in (0.00s) --- PASS: TestHealthOKHandling/200_should_be_logged_only_at_Trace_level_for_/health_request_if_opt-in (0.00s) === RUN TestHandlingRegardlessOfOptions === RUN TestHandlingRegardlessOfOptions/200_should_be_logged_at_Info_level_for_non-health_requests @@ -9526,14 +9567,14 @@ === RUN TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_for_non-health_requests === RUN TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_even_for_/health_requests === RUN TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_even_for_/health_requests ---- PASS: TestHandlingRegardlessOfOptions (0.00s) +--- PASS: TestHandlingRegardlessOfOptions (0.01s) --- PASS: TestHandlingRegardlessOfOptions/200_should_be_logged_at_Info_level_for_non-health_requests (0.00s) - --- PASS: TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_for_non-health_requests (0.00s) + --- PASS: TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_for_non-health_requests (0.01s) --- PASS: TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_for_non-health_requests (0.00s) --- PASS: TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_even_for_/health_requests (0.00s) --- PASS: TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_even_for_/health_requests (0.00s) PASS -ok github.com/smallstep/certificates/logging 0.188s +ok github.com/smallstep/certificates/logging 0.046s ? github.com/smallstep/certificates/monitoring [no test files] ? github.com/smallstep/certificates/pki [no test files] ? github.com/smallstep/certificates/scep [no test files] @@ -9585,7 +9626,7 @@ --- PASS: TestTemplate_Validate/okFile (0.00s) --- PASS: TestTemplate_Validate/okDirectory (0.00s) --- PASS: TestTemplate_Validate/badName (0.00s) - --- PASS: TestTemplate_Validate/badType (0.01s) + --- PASS: TestTemplate_Validate/badType (0.00s) --- PASS: TestTemplate_Validate/badType#01 (0.00s) --- PASS: TestTemplate_Validate/badTemplatePath (0.00s) --- PASS: TestTemplate_Validate/badTemplatePath#01 (0.00s) @@ -9610,9 +9651,9 @@ === RUN TestTemplate_Load/ok_backfill === RUN TestTemplate_Load/error === RUN TestTemplate_Load/missing ---- PASS: TestTemplate_Load (0.00s) +--- PASS: TestTemplate_Load (0.01s) --- PASS: TestTemplate_Load/ok (0.00s) - --- PASS: TestTemplate_Load/ok_backfill (0.00s) + --- PASS: TestTemplate_Load/ok_backfill (0.01s) --- PASS: TestTemplate_Load/error (0.00s) --- PASS: TestTemplate_Load/missing (0.00s) === RUN TestTemplate_Render @@ -9624,19 +9665,19 @@ --- PASS: TestTemplate_Render (0.01s) --- PASS: TestTemplate_Render/snippet (0.00s) --- PASS: TestTemplate_Render/file (0.00s) - --- PASS: TestTemplate_Render/file#01 (0.00s) + --- PASS: TestTemplate_Render/file#01 (0.01s) --- PASS: TestTemplate_Render/directory (0.00s) - --- PASS: TestTemplate_Render/error (0.01s) + --- PASS: TestTemplate_Render/error (0.00s) === RUN TestTemplate_Output === RUN TestTemplate_Output/snippet === RUN TestTemplate_Output/file === RUN TestTemplate_Output/file#01 === RUN TestTemplate_Output/directory === RUN TestTemplate_Output/error ---- PASS: TestTemplate_Output (0.01s) +--- PASS: TestTemplate_Output (0.02s) --- PASS: TestTemplate_Output/snippet (0.00s) --- PASS: TestTemplate_Output/file (0.00s) - --- PASS: TestTemplate_Output/file#01 (0.00s) + --- PASS: TestTemplate_Output/file#01 (0.01s) --- PASS: TestTemplate_Output/directory (0.00s) --- PASS: TestTemplate_Output/error (0.00s) === RUN TestOutput_Write @@ -9648,7 +9689,7 @@ === RUN TestOutput_Write/snippetErr === RUN TestOutput_Write/fileErr === RUN TestOutput_Write/directoryErr ---- PASS: TestOutput_Write (0.02s) +--- PASS: TestOutput_Write (0.03s) --- PASS: TestOutput_Write/snippet (0.00s) --- PASS: TestOutput_Write/file (0.00s) --- PASS: TestOutput_Write/snippetInDir (0.00s) @@ -9676,8 +9717,8 @@ --- PASS: TestDefaultTemplates (0.00s) --- PASS: TestDefaultTemplates/ok (0.00s) PASS -ok github.com/smallstep/certificates/templates 0.120s - rm -fr -- /tmp/dh-xdg-rundir-twUj41dK +ok github.com/smallstep/certificates/templates 0.160s + rm -fr -- /tmp/dh-xdg-rundir-R84EajwJ create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -10238,12 +10279,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/30393/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/30393/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/24811 and its subdirectories -I: Current time: Thu May 23 12:08:04 -12 2024 -I: pbuilder-time-stamp: 1716509284 +I: removing directory /srv/workspace/pbuilder/30393 and its subdirectories +I: Current time: Sat Apr 22 07:51:55 +14 2023 +I: pbuilder-time-stamp: 1682099515