Diff of the two buildlogs: -- --- b1/build.log 2025-03-17 00:54:23.464318544 +0000 +++ b2/build.log 2025-03-17 01:01:00.310488746 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Mar 16 12:44:01 -12 2025 -I: pbuilder-time-stamp: 1742172241 +I: Current time: Mon Mar 17 14:54:37 +14 2025 +I: pbuilder-time-stamp: 1742172877 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking golang-github-smallstep-crypto_0.57.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/31924/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/19447/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 Mar 17 00:54 /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/19447/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/19447/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e4a7af42d2114ed885d807bd2d8205ea' - 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='31924' - PS1='# ' - PS2='> ' + INVOCATION_ID=644287ca8b5b4a3fa71da1f28a3d4daa + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=19447 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.8QSL4Jvu/pbuilderrc_f9Of --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8QSL4Jvu/b1 --logfile b1/build.log golang-github-smallstep-crypto_0.57.0-1.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.8QSL4Jvu/pbuilderrc_QDXC --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8QSL4Jvu/b2 --logfile b2/build.log golang-github-smallstep-crypto_0.57.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64a 6.1.0-32-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-armmp-lpae #1 SMP Debian 6.1.128-1 (2025-02-07) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/31924/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/19447/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -189,7 +221,7 @@ Get: 64 http://deb.debian.org/debian unstable/main armhf golang-github-pkg-errors-dev all 0.9.1-3 [12.9 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf golang-github-smallstep-assert-dev all 0.0~git20200723.82e2b9b-4 [5480 B] Get: 66 http://deb.debian.org/debian unstable/main armhf golang-golang-x-net-dev all 1:0.27.0-1 [898 kB] -Fetched 74.8 MB in 2s (36.0 MB/s) +Fetched 74.8 MB in 1s (65.0 MB/s) Preconfiguring packages ... Selecting previously unselected package tzdata. (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 ... 19509 files and directories currently installed.) @@ -415,8 +447,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Mar 17 00:45:05 UTC 2025. -Universal Time is now: Mon Mar 17 00:45:05 UTC 2025. +Local time is now: Mon Mar 17 00:55:23 UTC 2025. +Universal Time is now: Mon Mar 17 00:55:23 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-davecgh-go-spew-dev (1.1.1-3) ... @@ -474,7 +506,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-smallstep-crypto-0.57.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-crypto_0.57.0-1_source.changes +I: user script /srv/workspace/pbuilder/19447/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/19447/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-smallstep-crypto-0.57.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-crypto_0.57.0-1_source.changes dpkg-buildpackage: info: source package golang-github-smallstep-crypto dpkg-buildpackage: info: source version 0.57.0-1 dpkg-buildpackage: info: source distribution unstable @@ -492,18 +528,18 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 go.step.sm/crypto/fingerprint go.step.sm/crypto/internal/bcrypt_pbkdf go.step.sm/crypto/internal/emoji go.step.sm/crypto/internal/templates go.step.sm/crypto/internal/utils go.step.sm/crypto/internal/utils/utfbom go.step.sm/crypto/jose go.step.sm/crypto/keyutil go.step.sm/crypto/minica go.step.sm/crypto/pemutil go.step.sm/crypto/randutil go.step.sm/crypto/sshutil go.step.sm/crypto/tlsutil go.step.sm/crypto/x25519 go.step.sm/crypto/x509util -internal/goarch -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 go.step.sm/crypto/fingerprint go.step.sm/crypto/internal/bcrypt_pbkdf go.step.sm/crypto/internal/emoji go.step.sm/crypto/internal/templates go.step.sm/crypto/internal/utils go.step.sm/crypto/internal/utils/utfbom go.step.sm/crypto/jose go.step.sm/crypto/keyutil go.step.sm/crypto/minica go.step.sm/crypto/pemutil go.step.sm/crypto/randutil go.step.sm/crypto/sshutil go.step.sm/crypto/tlsutil go.step.sm/crypto/x25519 go.step.sm/crypto/x509util internal/byteorder +internal/unsafeheader internal/cpu +internal/goarch +internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs -internal/goos internal/goexperiment +internal/bytealg +internal/goos internal/profilerecord internal/runtime/atomic internal/asan @@ -511,25 +547,24 @@ internal/runtime/math internal/runtime/sys internal/runtime/syscall -internal/runtime/exithook internal/stringslite sync/atomic +internal/runtime/exithook math/bits -internal/race -math unicode/utf8 -internal/runtime/maps -internal/sync internal/itoa unicode +math cmp crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu crypto/internal/boring/sig +internal/race encoding +internal/sync +internal/runtime/maps unicode/utf16 -runtime vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace golang.org/x/crypto/internal/alias @@ -538,182 +573,183 @@ container/list vendor/golang.org/x/crypto/internal/alias golang.org/x/crypto/cryptobyte/asn1 +runtime +iter +crypto/internal/fips140/subtle internal/reflectlite sync -iter slices -crypto/internal/fips140/subtle crypto/subtle maps weak +errors +sort internal/bisect internal/testlog -internal/singleflight -errors -unique io strconv -hash internal/oserror path +hash internal/godebug syscall +strings crypto reflect -strings -go.step.sm/crypto/internal/emoji bytes +go.step.sm/crypto/internal/emoji crypto/internal/fips140deps/godebug crypto/internal/fips140 -time -internal/syscall/unix -internal/syscall/execenv +math/rand/v2 crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 +time +internal/syscall/unix +internal/syscall/execenv crypto/internal/fips140/hmac +crypto/internal/randutil +golang.org/x/crypto/blowfish crypto/internal/fips140/check crypto/internal/fips140/aes +math/rand +crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/edwards25519/field +crypto/internal/impl +crypto/internal/fips140/bigmod +crypto/sha3 io/fs internal/poll internal/filepathlite -math/rand/v2 -crypto/internal/randutil -golang.org/x/crypto/blowfish +crypto/internal/fips140hash +crypto/internal/fips140/edwards25519 os -math/rand encoding/binary internal/fmtsort -crypto/internal/fips140/nistec/fiat +context +vendor/golang.org/x/net/dns/dnsmessage encoding/base64 -crypto/internal/fips140/edwards25519/field -crypto/internal/impl -crypto/internal/fips140/bigmod +encoding/pem +crypto/internal/fips140/nistec +internal/singleflight fmt crypto/internal/sysrand crypto/internal/entropy crypto/internal/fips140/drbg +unique crypto/internal/fips140/aes/gcm crypto/internal/fips140only +crypto/internal/fips140/ed25519 crypto/cipher -encoding/hex +crypto/internal/fips140/rsa crypto/internal/boring -go.step.sm/crypto/fingerprint +encoding/hex crypto/sha512 -encoding/json +go.step.sm/crypto/fingerprint go.step.sm/crypto/internal/bcrypt_pbkdf crypto/aes +encoding/json math/big -crypto/internal/fips140/nistec -crypto/sha3 -crypto/dsa -crypto/internal/boring/bbig -crypto/internal/fips140hash -encoding/asn1 -crypto/internal/fips140/edwards25519 -crypto/internal/fips140/ecdh -crypto/ecdh -crypto/elliptic -crypto/internal/fips140/ecdsa -vendor/golang.org/x/crypto/cryptobyte -crypto/internal/fips140/ed25519 -crypto/rand crypto/hmac -crypto/ed25519 -crypto/internal/fips140/rsa crypto/sha1 -crypto/ecdsa crypto/sha256 crypto/des crypto/md5 -crypto/rsa -crypto/x509/pkix -encoding/pem -context -vendor/golang.org/x/net/dns/dnsmessage net/netip +crypto/internal/fips140/ecdh +crypto/ecdh +crypto/internal/fips140/ecdsa runtime/cgo +crypto/dsa +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +crypto/ed25519 +crypto/rsa net/url path/filepath +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix encoding/base32 github.com/Masterminds/goutils database/sql/driver -sort -github.com/huandu/xstrings regexp/syntax +crypto/ecdsa +github.com/huandu/xstrings github.com/imdario/mergo github.com/mitchellh/reflectwalk -github.com/mitchellh/copystructure regexp +github.com/mitchellh/copystructure html text/template/parse -net -github.com/Masterminds/semver -github.com/shopspring/decimal -text/template golang.org/x/crypto/bcrypt +net golang.org/x/crypto/pbkdf2 golang.org/x/crypto/scrypt +github.com/Masterminds/semver +github.com/shopspring/decimal hash/adler32 bufio +text/template compress/flate -html/template github.com/go-jose/go-jose/v3/cipher github.com/go-jose/go-jose/v3/json -github.com/spf13/cast github.com/pkg/errors go.step.sm/crypto/internal/utils/utfbom go.step.sm/crypto/internal/utils filippo.io/edwards25519/field +filippo.io/edwards25519 +html/template golang.org/x/crypto/curve25519 crypto/rc4 -filippo.io/edwards25519 golang.org/x/crypto/chacha20 golang.org/x/crypto/internal/poly1305 -golang.org/x/crypto/ssh/internal/bcrypt_pbkdf go.step.sm/crypto/x25519 +golang.org/x/crypto/ssh/internal/bcrypt_pbkdf log go.step.sm/crypto/randutil golang.org/x/crypto/nacl/secretbox hash/crc32 crypto/internal/fips140/hkdf -crypto/internal/fips140/mlkem compress/gzip +crypto/internal/fips140/mlkem +github.com/spf13/cast crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 crypto/tls/internal/fips140tls -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/transform -crypto/internal/hpke vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule +crypto/internal/hpke vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime -vendor/golang.org/x/net/idna -crypto/x509 -github.com/google/uuid -net/textproto -vendor/golang.org/x/net/http/httpproxy mime/quotedprintable -vendor/golang.org/x/net/http/httpguts -mime/multipart net/http/internal net/http/internal/ascii golang.org/x/crypto/cryptobyte golang.org/x/text/transform +vendor/golang.org/x/net/idna golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm +golang.org/x/text/secure/bidirule +golang.org/x/net/idna +github.com/google/uuid +net/textproto +vendor/golang.org/x/net/http/httpproxy +crypto/x509 +vendor/golang.org/x/net/http/httpguts +mime/multipart github.com/Masterminds/sprig github.com/go-jose/go-jose/v3 golang.org/x/crypto/ssh crypto/tls github.com/go-jose/go-jose/v3/cryptosigner github.com/go-jose/go-jose/v3/jwt -golang.org/x/text/secure/bidirule -golang.org/x/net/idna go.step.sm/crypto/keyutil golang.org/x/crypto/ssh/agent go.step.sm/crypto/pemutil @@ -726,7 +762,7 @@ go.step.sm/crypto/minica go.step.sm/crypto/tlsutil dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 go.step.sm/crypto/fingerprint go.step.sm/crypto/internal/bcrypt_pbkdf go.step.sm/crypto/internal/emoji go.step.sm/crypto/internal/templates go.step.sm/crypto/internal/utils go.step.sm/crypto/internal/utils/utfbom go.step.sm/crypto/jose go.step.sm/crypto/keyutil go.step.sm/crypto/minica go.step.sm/crypto/pemutil go.step.sm/crypto/randutil go.step.sm/crypto/sshutil go.step.sm/crypto/tlsutil go.step.sm/crypto/x25519 go.step.sm/crypto/x509util + cd _build && go test -vet=off -v -p 4 go.step.sm/crypto/fingerprint go.step.sm/crypto/internal/bcrypt_pbkdf go.step.sm/crypto/internal/emoji go.step.sm/crypto/internal/templates go.step.sm/crypto/internal/utils go.step.sm/crypto/internal/utils/utfbom go.step.sm/crypto/jose go.step.sm/crypto/keyutil go.step.sm/crypto/minica go.step.sm/crypto/pemutil go.step.sm/crypto/randutil go.step.sm/crypto/sshutil go.step.sm/crypto/tlsutil go.step.sm/crypto/x25519 go.step.sm/crypto/x509util === RUN TestNew === RUN TestNew/sha256 === RUN TestNew/unavailable @@ -754,13 +790,13 @@ --- PASS: TestFingerprint/EmojiFingerprint (0.00s) --- PASS: TestFingerprint/Unknown (0.00s) PASS -ok go.step.sm/crypto/fingerprint 0.040s +ok go.step.sm/crypto/fingerprint 0.019s === RUN TestKey ---- PASS: TestKey (0.41s) +--- PASS: TestKey (0.43s) === RUN TestBcryptHash --- PASS: TestBcryptHash (0.01s) PASS -ok go.step.sm/crypto/internal/bcrypt_pbkdf 0.428s +ok go.step.sm/crypto/internal/bcrypt_pbkdf 0.449s === RUN TestEmoji === RUN TestEmoji/ok === RUN TestEmoji/empty @@ -770,7 +806,7 @@ --- PASS: TestEmoji/empty (0.00s) --- PASS: TestEmoji/nil (0.00s) PASS -ok go.step.sm/crypto/internal/emoji 0.027s +ok go.step.sm/crypto/internal/emoji 0.007s === RUN Test_GetFuncMap_fail --- PASS: Test_GetFuncMap_fail (0.00s) === RUN TestGetFuncMap_toTime_formatTime @@ -958,7 +994,7 @@ --- PASS: TestValidateTemplateData/ok_nil (0.00s) --- PASS: TestValidateTemplateData/fail/missing-comma-trailing-comma (0.00s) PASS -ok go.step.sm/crypto/internal/templates 0.051s +ok go.step.sm/crypto/internal/templates 0.043s === RUN TestReadFile === RUN TestReadFile/ok === RUN TestReadFile/missing @@ -992,7 +1028,7 @@ --- PASS: Test_maybeUnwrap/wrapped (0.00s) --- PASS: Test_maybeUnwrap/not_wrapped (0.00s) PASS -ok go.step.sm/crypto/internal/utils 0.017s +ok go.step.sm/crypto/internal/utils 0.016s === RUN TestSkip --- PASS: TestSkip (0.00s) === RUN TestSkipSkip @@ -1008,7 +1044,7 @@ === RUN TestEncoding_String --- PASS: TestEncoding_String (0.00s) PASS -ok go.step.sm/crypto/internal/utils/utfbom 0.028s +ok go.step.sm/crypto/internal/utils/utfbom 0.008s === RUN TestEncrypt === RUN TestEncrypt/ok === RUN TestEncrypt/ok_WithPasswordPrompter @@ -1019,10 +1055,10 @@ === RUN TestEncrypt/fail_no_passowrd === RUN TestEncrypt/fail_encrypt === RUN TestEncrypt/fail_salt ---- PASS: TestEncrypt (17.23s) - --- PASS: TestEncrypt/ok (5.80s) - --- PASS: TestEncrypt/ok_WithPasswordPrompter (6.24s) - --- PASS: TestEncrypt/ok_with_PromptPassword (5.18s) +--- PASS: TestEncrypt (13.38s) + --- PASS: TestEncrypt/ok (4.60s) + --- PASS: TestEncrypt/ok_WithPasswordPrompter (4.42s) + --- PASS: TestEncrypt/ok_with_PromptPassword (4.37s) --- PASS: TestEncrypt/fail_apply (0.00s) --- PASS: TestEncrypt/fail_WithPasswordPrompter (0.00s) --- PASS: TestEncrypt/fail_with_PromptPassword (0.00s) @@ -1034,8 +1070,8 @@ === RUN TestEncryptJWK/fail_marshal === RUN TestEncryptJWK/fail_encrypt === RUN TestEncryptJWK/fail_salt ---- PASS: TestEncryptJWK (6.62s) - --- PASS: TestEncryptJWK/ok (6.61s) +--- PASS: TestEncryptJWK (4.37s) + --- PASS: TestEncryptJWK/ok (4.37s) --- PASS: TestEncryptJWK/fail_marshal (0.00s) --- PASS: TestEncryptJWK/fail_encrypt (0.00s) --- PASS: TestEncryptJWK/fail_salt (0.00s) @@ -1057,18 +1093,18 @@ === RUN TestDecrypt/fail_apply_WithPasswordPrompter === RUN TestDecrypt/fail_PasswordPrompter#01 === RUN TestDecrypt/fail_WithFilename_and_PasswordPrompter ---- PASS: TestDecrypt (43.59s) +--- PASS: TestDecrypt (33.17s) --- PASS: TestDecrypt/ok_not_encrypted (0.00s) - --- PASS: TestDecrypt/ok_WithPassword (3.41s) - --- PASS: TestDecrypt/ok_WithPasswordFile (2.36s) - --- PASS: TestDecrypt/ok_WithPasswordPrompter (2.89s) - --- PASS: TestDecrypt/ok_PasswordPrompter (3.75s) - --- PASS: TestDecrypt/ok_WithFilename_and_PasswordPrompter (3.36s) - --- PASS: TestDecrypt/fail_bad_data (2.66s) - --- PASS: TestDecrypt/fail_WithPassword (3.15s) - --- PASS: TestDecrypt/fail_WithPasswordFile (2.32s) - --- PASS: TestDecrypt/fail_WithPasswordPrompter (8.48s) - --- PASS: TestDecrypt/fail_PasswordPrompter (8.71s) + --- PASS: TestDecrypt/ok_WithPassword (2.19s) + --- PASS: TestDecrypt/ok_WithPasswordFile (2.27s) + --- PASS: TestDecrypt/ok_WithPasswordPrompter (2.19s) + --- PASS: TestDecrypt/ok_PasswordPrompter (2.17s) + --- PASS: TestDecrypt/ok_WithFilename_and_PasswordPrompter (2.18s) + --- PASS: TestDecrypt/fail_bad_data (2.19s) + --- PASS: TestDecrypt/fail_WithPassword (2.18s) + --- PASS: TestDecrypt/fail_WithPasswordFile (2.19s) + --- PASS: TestDecrypt/fail_WithPasswordPrompter (6.88s) + --- PASS: TestDecrypt/fail_PasswordPrompter (6.53s) --- PASS: TestDecrypt/fail_apply_WithPassword (0.00s) --- PASS: TestDecrypt/fail_apply_WithPasswordPrompter (0.00s) --- PASS: TestDecrypt/fail_PasswordPrompter#01 (0.00s) @@ -1110,7 +1146,7 @@ === RUN TestGenerateJWKFromPEMSubtle/single_key_usage_with_subtle === RUN TestGenerateJWKFromPEMSubtle/multiple_key_usage_without_subtle === RUN TestGenerateJWKFromPEMSubtle/multiple_key_usage_with_subtle ---- PASS: TestGenerateJWKFromPEMSubtle (0.04s) +--- PASS: TestGenerateJWKFromPEMSubtle (0.03s) --- PASS: TestGenerateJWKFromPEMSubtle/single_key_usage_without_subtle (0.01s) --- PASS: TestGenerateJWKFromPEMSubtle/single_key_usage_with_subtle (0.01s) --- PASS: TestGenerateJWKFromPEMSubtle/multiple_key_usage_without_subtle (0.01s) @@ -1120,112 +1156,112 @@ === RUN TestGenerateDefaultKeyPair/failEmptyPassword === RUN TestGenerateDefaultKeyPair/failNilPassword === RUN TestGenerateDefaultKeyPair/failEOF ---- PASS: TestGenerateDefaultKeyPair (6.17s) - --- PASS: TestGenerateDefaultKeyPair/ok (3.27s) +--- PASS: TestGenerateDefaultKeyPair (4.36s) + --- PASS: TestGenerateDefaultKeyPair/ok (2.18s) --- PASS: TestGenerateDefaultKeyPair/failEmptyPassword (0.00s) --- PASS: TestGenerateDefaultKeyPair/failNilPassword (0.00s) --- PASS: TestGenerateDefaultKeyPair/failEOF (0.00s) === RUN TestReadKey -=== RUN TestReadKey/testdata/oct.json === RUN TestReadKey/testdata/oct.enc.json === RUN TestReadKey/testdata/okp.enc.priv.json === RUN TestReadKey/testdata/p256.priv.json -=== RUN TestReadKey/testdata/rsa.pub.json -=== RUN TestReadKey/testdata/rsa.priv.json +=== RUN TestReadKey/testdata/p256.enc.priv.json === RUN TestReadKey/testdata/rsa.enc.priv.json +=== RUN TestReadKey/testdata/oct.json === RUN TestReadKey/testdata/okp.pub.json === RUN TestReadKey/testdata/okp.priv.json === RUN TestReadKey/testdata/p256.pub.json -=== RUN TestReadKey/testdata/p256.enc.priv.json +=== RUN TestReadKey/testdata/rsa.pub.json +=== RUN TestReadKey/testdata/rsa.priv.json +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.enc.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa4096.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.rsa1024.enc.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.enc.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.p256.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.p521.enc.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pub.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pub.pem === RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa2048.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.p256.enc.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.rsa1024.pub.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.p256.pub.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.p384.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.pub.pem === RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa2048.pub.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.p256.enc.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.rsa2048.pub.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.pub.pem === RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa2048.enc.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.p256.pub.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.p384.enc.pem === RUN TestReadKey/../pemutil/testdata/openssl.p521.pem === RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.pub.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.enc.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.enc.pem +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pem === RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa4096.pub.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.p521.enc.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.rsa2048.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.rsa2048.pub.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.rsa2048.enc.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.enc.pem === RUN TestReadKey/../pemutil/testdata/openssl.p384.pub.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.p521.pub.pem === RUN TestReadKey/../pemutil/testdata/openssl.rsa1024.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.rsa1024.pub.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.rsa2048.pem +=== RUN TestReadKey/../pemutil/testdata/openssl.rsa2048.enc.pem === RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa4096.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.p256.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.p384.enc.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.rsa1024.enc.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pub.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.enc.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.p384.pem -=== RUN TestReadKey/../pemutil/testdata/openssl.p521.pub.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.enc.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.pub.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pub.pem -=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.enc.pem ---- PASS: TestReadKey (2.23s) - --- PASS: TestReadKey/testdata/oct.json (0.00s) - --- PASS: TestReadKey/testdata/oct.enc.json (0.38s) - --- PASS: TestReadKey/testdata/okp.enc.priv.json (0.38s) +=== RUN TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pem +--- PASS: TestReadKey (2.14s) + --- PASS: TestReadKey/testdata/oct.enc.json (0.36s) + --- PASS: TestReadKey/testdata/okp.enc.priv.json (0.36s) --- PASS: TestReadKey/testdata/p256.priv.json (0.00s) - --- PASS: TestReadKey/testdata/rsa.pub.json (0.00s) - --- PASS: TestReadKey/testdata/rsa.priv.json (0.02s) - --- PASS: TestReadKey/testdata/rsa.enc.priv.json (0.41s) + --- PASS: TestReadKey/testdata/p256.enc.priv.json (0.36s) + --- PASS: TestReadKey/testdata/rsa.enc.priv.json (0.39s) + --- PASS: TestReadKey/testdata/oct.json (0.00s) --- PASS: TestReadKey/testdata/okp.pub.json (0.00s) --- PASS: TestReadKey/testdata/okp.priv.json (0.00s) --- PASS: TestReadKey/testdata/p256.pub.json (0.00s) - --- PASS: TestReadKey/testdata/p256.enc.priv.json (0.37s) + --- PASS: TestReadKey/testdata/rsa.pub.json (0.00s) + --- PASS: TestReadKey/testdata/rsa.priv.json (0.01s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.enc.pem (0.39s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa4096.pem (0.01s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa1024.enc.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.enc.pem (0.04s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.p256.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.p521.enc.pem (0.05s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pub.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pub.pem (0.00s) --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa2048.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.p256.enc.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa1024.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pem (0.03s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.p256.pub.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.p384.pem (0.05s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.pub.pem (0.00s) --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa2048.pub.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.p256.enc.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa2048.pub.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.pub.pem (0.00s) --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa2048.enc.pem (0.01s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.p256.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.p521.pem (0.37s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.p384.enc.pem (0.01s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.p521.pem (0.02s) --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.pub.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.enc.pem (0.01s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.enc.pem (0.01s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pem (0.02s) --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa4096.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.p521.enc.pem (0.05s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa2048.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa2048.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa2048.enc.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.enc.pem (0.06s) --- PASS: TestReadKey/../pemutil/testdata/openssl.p384.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa1024.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.pem (0.05s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.rsa4096.pem (0.01s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.p256.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.p384.enc.pem (0.01s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa1024.enc.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.enc.pem (0.02s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pem (0.03s) - --- PASS: TestReadKey/../pemutil/testdata/openssl.p384.pem (0.00s) --- PASS: TestReadKey/../pemutil/testdata/openssl.p521.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.enc.pem (0.01s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p521.pub.pem (0.00s) - --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p256.enc.pem (0.01s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa1024.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa1024.pub.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa2048.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/openssl.rsa2048.enc.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.p384.pem (0.00s) + --- PASS: TestReadKey/../pemutil/testdata/pkcs8/openssl.ed25519.pem (0.00s) === RUN TestReadKey_https === RUN TestReadKey_https/ok === RUN TestReadKey_https/failWithKid === RUN TestReadKey_https/failEmpty === RUN TestReadKey_https/failNotFound === RUN TestReadKey_https/failClient -2025/03/16 12:49:28 http: TLS handshake error from 127.0.0.1:52148: read tcp 127.0.0.1:35943->127.0.0.1:52148: use of closed network connection ---- PASS: TestReadKey_https (0.11s) +2025/03/17 14:58:13 http: TLS handshake error from 127.0.0.1:53644: remote error: tls: bad certificate +--- PASS: TestReadKey_https (0.07s) --- PASS: TestReadKey_https/ok (0.04s) --- PASS: TestReadKey_https/failWithKid (0.00s) --- PASS: TestReadKey_https/failEmpty (0.00s) --- PASS: TestReadKey_https/failNotFound (0.00s) - --- PASS: TestReadKey_https/failClient (0.07s) + --- PASS: TestReadKey_https/failClient (0.03s) === RUN TestReadKeyPasswordFile --- PASS: TestReadKeyPasswordFile (0.00s) === RUN TestParseKey @@ -1233,9 +1269,9 @@ === RUN TestParseKeyPemutilPromptPassword === RUN TestParseKeyPemutilPromptPassword/ok === RUN TestParseKeyPemutilPromptPassword/fail ---- PASS: TestParseKeyPemutilPromptPassword (0.04s) +--- PASS: TestParseKeyPemutilPromptPassword (0.02s) --- PASS: TestParseKeyPemutilPromptPassword/ok (0.01s) - --- PASS: TestParseKeyPemutilPromptPassword/fail (0.02s) + --- PASS: TestParseKeyPemutilPromptPassword/fail (0.01s) === RUN TestReadKeySet --- PASS: TestReadKeySet (0.00s) === RUN TestReadKeySet_https @@ -1243,16 +1279,16 @@ === RUN TestReadKeySet_https/failEmpty === RUN TestReadKeySet_https/failNotFound === RUN TestReadKeySet_https/failClient +2025/03/17 14:58:13 http: TLS handshake error from 127.0.0.1:57754: remote error: tls: bad certificate === RUN TestReadKeySet_https/failNoOptions -2025/03/16 12:49:28 http: TLS handshake error from 127.0.0.1:43996: remote error: tls: bad certificate ---- PASS: TestReadKeySet_https (0.22s) - --- PASS: TestReadKeySet_https/ok (0.07s) +--- PASS: TestReadKeySet_https (0.11s) + --- PASS: TestReadKeySet_https/ok (0.04s) --- PASS: TestReadKeySet_https/failEmpty (0.00s) --- PASS: TestReadKeySet_https/failNotFound (0.00s) - --- PASS: TestReadKeySet_https/failClient (0.07s) - --- PASS: TestReadKeySet_https/failNoOptions (0.07s) + --- PASS: TestReadKeySet_https/failClient (0.03s) + --- PASS: TestReadKeySet_https/failNoOptions (0.04s) === RUN TestGuessJWKAlgorithm ---- PASS: TestGuessJWKAlgorithm (7.78s) +--- PASS: TestGuessJWKAlgorithm (3.09s) === RUN TestParseKeySet === RUN TestParseKeySet/ok === RUN TestParseKeySet/okEncryptedJSON @@ -1265,13 +1301,13 @@ === RUN TestParseKeySet/failEmpty === RUN TestParseKeySet/failDuplicated === RUN TestParseKeySet/failWithAlg ---- PASS: TestParseKeySet (20.41s) +--- PASS: TestParseKeySet (10.93s) --- PASS: TestParseKeySet/ok (0.00s) - --- PASS: TestParseKeySet/okEncryptedJSON (5.22s) - --- PASS: TestParseKeySet/okEncryptedCompact (5.12s) + --- PASS: TestParseKeySet/okEncryptedJSON (2.56s) + --- PASS: TestParseKeySet/okEncryptedCompact (2.80s) --- PASS: TestParseKeySet/okWithAlgSubtle (0.00s) --- PASS: TestParseKeySet/failOptions (0.00s) - --- PASS: TestParseKeySet/failDecrypt (4.52s) + --- PASS: TestParseKeySet/failDecrypt (2.70s) --- PASS: TestParseKeySet/failNoOptions (0.00s) --- PASS: TestParseKeySet/failBadData (0.00s) --- PASS: TestParseKeySet/failEmpty (0.00s) @@ -1288,7 +1324,7 @@ === RUN Test_guessKeyType/encryptedAlgHS256 === RUN Test_guessKeyType/jwkAlgHS384 === RUN Test_guessKeyType/bloblAlgHS512 ---- PASS: Test_guessKeyType (25.39s) +--- PASS: Test_guessKeyType (11.13s) --- PASS: Test_guessKeyType/ec (0.00s) --- PASS: Test_guessKeyType/rsaKey (0.00s) --- PASS: Test_guessKeyType/rsaPSSKey (0.00s) @@ -1309,7 +1345,7 @@ === RUN Test_guessSignatureAlgorithm/XEdDSA === RUN Test_guessSignatureAlgorithm/XEdDSA_with_X25519Signer === RUN Test_guessSignatureAlgorithm/empty ---- PASS: Test_guessSignatureAlgorithm (2.97s) +--- PASS: Test_guessSignatureAlgorithm (5.28s) --- PASS: Test_guessSignatureAlgorithm/byte (0.00s) --- PASS: Test_guessSignatureAlgorithm/ES256 (0.00s) --- PASS: Test_guessSignatureAlgorithm/ES384 (0.00s) @@ -1327,7 +1363,7 @@ === RUN TestIsSymmetric/RSA#01 === RUN TestIsSymmetric/OKP === RUN TestIsSymmetric/oct ---- PASS: TestIsSymmetric (9.34s) +--- PASS: TestIsSymmetric (8.63s) --- PASS: TestIsSymmetric/EC (0.00s) --- PASS: TestIsSymmetric/RSA (0.00s) --- PASS: TestIsSymmetric/RSA#01 (0.00s) @@ -1339,7 +1375,7 @@ === RUN TestIsAsymmetric/RSA#01 === RUN TestIsAsymmetric/OKP === RUN TestIsAsymmetric/oct ---- PASS: TestIsAsymmetric (23.35s) +--- PASS: TestIsAsymmetric (11.56s) --- PASS: TestIsAsymmetric/EC (0.00s) --- PASS: TestIsAsymmetric/RSA (0.00s) --- PASS: TestIsAsymmetric/RSA#01 (0.00s) @@ -1362,14 +1398,14 @@ === RUN TestSignVerify/ed === RUN TestSignVerify/x25519 === RUN TestSignVerify/fail_P224 ---- PASS: TestSignVerify (5.48s) +--- PASS: TestSignVerify (2.18s) --- PASS: TestSignVerify/byte (0.00s) --- PASS: TestSignVerify/P256 (0.01s) - --- PASS: TestSignVerify/P384 (0.05s) - --- PASS: TestSignVerify/P521 (0.33s) - --- PASS: TestSignVerify/rsa2048 (0.06s) - --- PASS: TestSignVerify/ed (0.02s) - --- PASS: TestSignVerify/x25519 (0.09s) + --- PASS: TestSignVerify/P384 (0.02s) + --- PASS: TestSignVerify/P521 (0.17s) + --- PASS: TestSignVerify/rsa2048 (0.03s) + --- PASS: TestSignVerify/ed (0.01s) + --- PASS: TestSignVerify/x25519 (0.04s) --- PASS: TestSignVerify/fail_P224 (0.00s) === RUN TestValidateSSHPOP === RUN TestValidateSSHPOP/ok_crypto.PrivateKey @@ -1383,7 +1419,7 @@ === RUN TestValidateSSHPOP/fail_validate_JSONWebKey === RUN TestValidateSSHPOP/fail_validate_OpaqueSigner === RUN TestValidateSSHPOP/fail_bad_key ---- PASS: TestValidateSSHPOP (0.19s) +--- PASS: TestValidateSSHPOP (0.15s) --- PASS: TestValidateSSHPOP/ok_crypto.PrivateKey (0.00s) --- PASS: TestValidateSSHPOP/ok_JSONWebKey (0.00s) --- PASS: TestValidateSSHPOP/ok_OpaqueSigner (0.00s) @@ -1396,31 +1432,31 @@ --- PASS: TestValidateSSHPOP/fail_validate_OpaqueSigner (0.00s) --- PASS: TestValidateSSHPOP/fail_bad_key (0.00s) === RUN Test_validateX5 -=== RUN Test_validateX5/fail/empty-certs === RUN Test_validateX5/fail/bad-key === RUN Test_validateX5/fail/cert-not-approved-for-digital-signature === RUN Test_validateX5/ok +=== RUN Test_validateX5/fail/empty-certs --- PASS: Test_validateX5 (0.01s) - --- PASS: Test_validateX5/fail/empty-certs (0.00s) --- PASS: Test_validateX5/fail/bad-key (0.00s) --- PASS: Test_validateX5/fail/cert-not-approved-for-digital-signature (0.01s) --- PASS: Test_validateX5/ok (0.00s) + --- PASS: Test_validateX5/fail/empty-certs (0.00s) === RUN TestValidateX5T +=== RUN TestValidateX5T/ok === RUN TestValidateX5T/ok/opaque === RUN TestValidateX5T/fail/validateX5-error -=== RUN TestValidateX5T/ok ---- PASS: TestValidateX5T (0.01s) - --- PASS: TestValidateX5T/ok/opaque (0.01s) - --- PASS: TestValidateX5T/fail/validateX5-error (0.00s) +--- PASS: TestValidateX5T (0.00s) --- PASS: TestValidateX5T/ok (0.00s) + --- PASS: TestValidateX5T/ok/opaque (0.00s) + --- PASS: TestValidateX5T/fail/validateX5-error (0.00s) === RUN TestValidateX5C === RUN TestValidateX5C/fail/validateX5-error === RUN TestValidateX5C/ok === RUN TestValidateX5C/ok/opaque --- PASS: TestValidateX5C (0.01s) --- PASS: TestValidateX5C/fail/validateX5-error (0.00s) - --- PASS: TestValidateX5C/ok (0.01s) - --- PASS: TestValidateX5C/ok/opaque (0.00s) + --- PASS: TestValidateX5C/ok (0.00s) + --- PASS: TestValidateX5C/ok/opaque (0.01s) === RUN TestValidateJWK_sig === RUN TestValidateJWK_sig/ok_ES256 === RUN TestValidateJWK_sig/ok_ES384 @@ -1448,7 +1484,7 @@ === RUN TestValidateJWK_sig/fail_bytes === RUN TestValidateJWK_sig/fail_OpaqueSigner === RUN TestValidateJWK_sig/fail_unknown ---- PASS: TestValidateJWK_sig (4.82s) +--- PASS: TestValidateJWK_sig (2.07s) --- PASS: TestValidateJWK_sig/ok_ES256 (0.00s) --- PASS: TestValidateJWK_sig/ok_ES384 (0.00s) --- PASS: TestValidateJWK_sig/ok_ES512 (0.00s) @@ -1489,19 +1525,19 @@ === RUN TestX25519Signer_SignVerify/ok_random === RUN TestX25519Signer_SignVerify/ok_ed25519 === RUN TestX25519Signer_SignVerify/fail_algorithm ---- PASS: TestX25519Signer_SignVerify (0.07s) +--- PASS: TestX25519Signer_SignVerify (0.06s) --- PASS: TestX25519Signer_SignVerify/ok (0.02s) --- PASS: TestX25519Signer_SignVerify/ok_empty (0.02s) --- PASS: TestX25519Signer_SignVerify/ok_random (0.02s) - --- PASS: TestX25519Signer_SignVerify/ok_ed25519 (0.00s) + --- PASS: TestX25519Signer_SignVerify/ok_ed25519 (0.01s) --- PASS: TestX25519Signer_SignVerify/fail_algorithm (0.00s) === RUN TestX25519Signer_Public === RUN TestX25519Signer_Public/ok --- PASS: TestX25519Signer_Public (0.01s) - --- PASS: TestX25519Signer_Public/ok (0.00s) + --- PASS: TestX25519Signer_Public/ok (0.01s) === RUN TestX25519Signer_Algs === RUN TestX25519Signer_Algs/ok ---- PASS: TestX25519Signer_Algs (0.00s) +--- PASS: TestX25519Signer_Algs (0.01s) --- PASS: TestX25519Signer_Algs/ok (0.00s) === RUN TestX25519Signer_SignPayload === RUN TestX25519Signer_SignPayload/ok @@ -1513,12 +1549,13 @@ === RUN TestX25519Verifier_VerifyPayload/ok === RUN TestX25519Verifier_VerifyPayload/fail_signature === RUN TestX25519Verifier_VerifyPayload/fail_algorithm ---- PASS: TestX25519Verifier_VerifyPayload (0.00s) - --- PASS: TestX25519Verifier_VerifyPayload/ok (0.00s) +--- PASS: TestX25519Verifier_VerifyPayload (0.01s) + --- PASS: TestX25519Verifier_VerifyPayload/ok (0.01s) --- PASS: TestX25519Verifier_VerifyPayload/fail_signature (0.00s) --- PASS: TestX25519Verifier_VerifyPayload/fail_algorithm (0.00s) === CONT TestEncryptDecryptJWK === CONT TestGenerateJWKFromPEM +=== CONT TestParseKey === CONT TestGenerateJWK === RUN TestGenerateJWK/EC === PAUSE TestGenerateJWK/EC @@ -1598,7 +1635,6 @@ === CONT TestGenerateJWK/oct#02 === CONT TestGenerateJWK/oct#01 === CONT TestGenerateJWK/oct -=== CONT TestParseKey === CONT TestGenerateJWK/OKP#02 === CONT TestGenerateJWK/OKP#01 === CONT TestGenerateJWK/OKP @@ -1637,24 +1673,6 @@ === CONT TestGenerateJWK/RSA#05 === CONT TestGenerateJWK/RSA#04 === CONT TestGenerateJWK/RSA#03 -=== RUN TestEncryptDecryptJWK/ok_EC -=== PAUSE TestEncryptDecryptJWK/ok_EC -=== RUN TestEncryptDecryptJWK/ok_EC_pub -=== PAUSE TestEncryptDecryptJWK/ok_EC_pub -=== RUN TestEncryptDecryptJWK/ok_RSA -=== PAUSE TestEncryptDecryptJWK/ok_RSA -=== RUN TestEncryptDecryptJWK/ok_RSA_pub -=== PAUSE TestEncryptDecryptJWK/ok_RSA_pub -=== RUN TestEncryptDecryptJWK/ok_RSA-PSS -=== PAUSE TestEncryptDecryptJWK/ok_RSA-PSS -=== RUN TestEncryptDecryptJWK/ok_RSA-PSS_pub -=== PAUSE TestEncryptDecryptJWK/ok_RSA-PSS_pub -=== RUN TestEncryptDecryptJWK/ok_Ed25519 -=== PAUSE TestEncryptDecryptJWK/ok_Ed25519 -=== RUN TestEncryptDecryptJWK/ok_Ed25519_pub -=== PAUSE TestEncryptDecryptJWK/ok_Ed25519_pub -=== RUN TestEncryptDecryptJWK/ok_oct -=== PAUSE TestEncryptDecryptJWK/ok_oct === CONT TestGenerateJWK/RSA#02 === CONT TestGenerateJWK/RSA#01 === CONT TestGenerateJWK/RSA @@ -1728,7 +1746,7 @@ === CONT TestGenerateJWKFromPEM/ed25519 === CONT TestGenerateJWKFromPEM/p521 === CONT TestGenerateJWKFromPEM/p384 ---- PASS: TestGenerateJWKFromPEM (0.13s) +--- PASS: TestGenerateJWKFromPEM (0.07s) --- PASS: TestGenerateJWKFromPEM/p256 (0.00s) --- PASS: TestGenerateJWKFromPEM/fail_no_subtle (0.00s) --- PASS: TestGenerateJWKFromPEM/fail_missing (0.00s) @@ -1739,20 +1757,11 @@ --- PASS: TestGenerateJWKFromPEM/ed25519_pub (0.00s) --- PASS: TestGenerateJWKFromPEM/p521_pub (0.00s) --- PASS: TestGenerateJWKFromPEM/p384_pub (0.00s) - --- PASS: TestGenerateJWKFromPEM/p256_pub (0.01s) + --- PASS: TestGenerateJWKFromPEM/p256_pub (0.00s) --- PASS: TestGenerateJWKFromPEM/rsa (0.00s) - --- PASS: TestGenerateJWKFromPEM/ed25519 (0.01s) - --- PASS: TestGenerateJWKFromPEM/p521 (0.07s) + --- PASS: TestGenerateJWKFromPEM/ed25519 (0.00s) + --- PASS: TestGenerateJWKFromPEM/p521 (0.05s) --- PASS: TestGenerateJWKFromPEM/p384 (0.01s) -=== CONT TestEncryptDecryptJWK/ok_EC -=== CONT TestEncryptDecryptJWK/ok_oct -=== CONT TestEncryptDecryptJWK/ok_Ed25519_pub -=== CONT TestEncryptDecryptJWK/ok_Ed25519 -=== CONT TestEncryptDecryptJWK/ok_RSA-PSS_pub -=== CONT TestEncryptDecryptJWK/ok_RSA-PSS -=== CONT TestEncryptDecryptJWK/ok_RSA_pub -=== CONT TestEncryptDecryptJWK/ok_RSA -=== CONT TestEncryptDecryptJWK/ok_EC_pub === CONT TestParseKey/ec === CONT TestParseKey/failOCTMissingOptions === CONT TestParseKey/failECWrongKid @@ -1772,46 +1781,63 @@ === CONT TestParseKey/pemPublic === CONT TestParseKey/pemPrivate === CONT TestParseKey/encryptedFullWithPasswordFile +=== RUN TestEncryptDecryptJWK/ok_EC +=== PAUSE TestEncryptDecryptJWK/ok_EC +=== RUN TestEncryptDecryptJWK/ok_EC_pub +=== PAUSE TestEncryptDecryptJWK/ok_EC_pub +=== RUN TestEncryptDecryptJWK/ok_RSA +=== PAUSE TestEncryptDecryptJWK/ok_RSA +=== RUN TestEncryptDecryptJWK/ok_RSA_pub +=== PAUSE TestEncryptDecryptJWK/ok_RSA_pub +=== RUN TestEncryptDecryptJWK/ok_RSA-PSS +=== PAUSE TestEncryptDecryptJWK/ok_RSA-PSS +=== RUN TestEncryptDecryptJWK/ok_RSA-PSS_pub +=== PAUSE TestEncryptDecryptJWK/ok_RSA-PSS_pub +=== RUN TestEncryptDecryptJWK/ok_Ed25519 +=== PAUSE TestEncryptDecryptJWK/ok_Ed25519 +=== RUN TestEncryptDecryptJWK/ok_Ed25519_pub +=== PAUSE TestEncryptDecryptJWK/ok_Ed25519_pub +=== RUN TestEncryptDecryptJWK/ok_oct +=== PAUSE TestEncryptDecryptJWK/ok_oct === CONT TestParseKey/encryptedCompactWithPassword ---- PASS: TestEncryptDecryptJWK (13.79s) - --- PASS: TestEncryptDecryptJWK/ok_EC (12.72s) - --- PASS: TestEncryptDecryptJWK/ok_oct (12.18s) - --- PASS: TestEncryptDecryptJWK/ok_Ed25519_pub (12.42s) - --- PASS: TestEncryptDecryptJWK/ok_Ed25519 (11.20s) - --- PASS: TestEncryptDecryptJWK/ok_RSA-PSS_pub (13.16s) - --- PASS: TestEncryptDecryptJWK/ok_RSA-PSS (11.65s) - --- PASS: TestEncryptDecryptJWK/ok_RSA_pub (11.37s) - --- PASS: TestEncryptDecryptJWK/ok_RSA (13.01s) - --- PASS: TestEncryptDecryptJWK/ok_EC_pub (12.63s) === CONT TestParseKey/oct === CONT TestParseKey/okp === CONT TestParseKey/rsa-pss === CONT TestParseKey/rsa ---- PASS: TestParseKey (16.55s) +=== CONT TestEncryptDecryptJWK/ok_EC +=== CONT TestEncryptDecryptJWK/ok_oct +--- PASS: TestParseKey (19.31s) --- PASS: TestParseKey/ec (0.00s) --- PASS: TestParseKey/failOCTMissingOptions (0.00s) --- PASS: TestParseKey/failECWrongKid (0.00s) --- PASS: TestParseKey/failECBWongAlg (0.00s) - --- PASS: TestParseKey/failPEMPassword (0.02s) --- PASS: TestParseKey/failMissingFile (0.00s) - --- PASS: TestParseKey/failPassword (5.90s) + --- PASS: TestParseKey/failPEMPassword (0.02s) --- PASS: TestParseKey/octPrivateWithAlgWithKid (0.00s) --- PASS: TestParseKey/octPrivateWithAlg (0.00s) --- PASS: TestParseKey/pemPrivateWithAlgWithSubtle (0.00s) - --- PASS: TestParseKey/pemPrivateWithAlg (0.01s) + --- PASS: TestParseKey/pemPrivateWithAlg (0.00s) --- PASS: TestParseKey/pemPrivateWithUse (0.00s) --- PASS: TestParseKey/pemPrivateWithKid (0.00s) - --- PASS: TestParseKey/pemPrivateWithPasswordPrompter (0.03s) - --- PASS: TestParseKey/pemPrivateWithPasswordFile (0.03s) - --- PASS: TestParseKey/pemPrivateWithPassword (0.03s) + --- PASS: TestParseKey/pemPrivateWithPasswordPrompter (0.02s) + --- PASS: TestParseKey/pemPrivateWithPasswordFile (0.02s) + --- PASS: TestParseKey/pemPrivateWithPassword (0.02s) --- PASS: TestParseKey/pemPublic (0.00s) --- PASS: TestParseKey/pemPrivate (0.00s) + --- PASS: TestParseKey/failPassword (4.41s) --- PASS: TestParseKey/oct (0.00s) --- PASS: TestParseKey/okp (0.00s) - --- PASS: TestParseKey/rsa-pss (0.01s) - --- PASS: TestParseKey/rsa (0.00s) - --- PASS: TestParseKey/encryptedFullWithPasswordFile (6.11s) - --- PASS: TestParseKey/encryptedCompactWithPassword (5.62s) + --- PASS: TestParseKey/rsa-pss (0.00s) + --- PASS: TestParseKey/encryptedFullWithPasswordFile (4.36s) + --- PASS: TestParseKey/rsa (0.01s) + --- PASS: TestParseKey/encryptedCompactWithPassword (4.32s) +=== CONT TestEncryptDecryptJWK/ok_Ed25519_pub +=== CONT TestEncryptDecryptJWK/ok_Ed25519 +=== CONT TestEncryptDecryptJWK/ok_RSA-PSS_pub +=== CONT TestEncryptDecryptJWK/ok_RSA-PSS +=== CONT TestEncryptDecryptJWK/ok_RSA_pub +=== CONT TestEncryptDecryptJWK/ok_RSA +=== CONT TestEncryptDecryptJWK/ok_EC_pub --- PASS: TestGenerateJWK (0.00s) --- PASS: TestGenerateJWK/EC (0.00s) --- PASS: TestGenerateJWK/fail (0.00s) @@ -1826,27 +1852,37 @@ --- PASS: TestGenerateJWK/oct#03 (0.00s) --- PASS: TestGenerateJWK/oct#02 (0.00s) --- PASS: TestGenerateJWK/oct#01 (0.00s) - --- PASS: TestGenerateJWK/oct (0.01s) + --- PASS: TestGenerateJWK/oct (0.00s) --- PASS: TestGenerateJWK/OKP#02 (0.00s) --- PASS: TestGenerateJWK/OKP#01 (0.00s) --- PASS: TestGenerateJWK/OKP (0.00s) - --- PASS: TestGenerateJWK/RSA#06 (8.87s) - --- PASS: TestGenerateJWK/RSA#05 (1.38s) - --- PASS: TestGenerateJWK/RSA#07 (11.72s) - --- PASS: TestGenerateJWK/RSA#04 (3.46s) - --- PASS: TestGenerateJWK/RSA#03 (3.35s) + --- PASS: TestGenerateJWK/RSA#07 (2.71s) + --- PASS: TestGenerateJWK/RSA#06 (5.67s) + --- PASS: TestGenerateJWK/RSA#05 (4.18s) + --- PASS: TestGenerateJWK/RSA#04 (1.65s) + --- PASS: TestGenerateJWK/RSA#03 (2.68s) + --- PASS: TestGenerateJWK/RSA#02 (3.99s) --- PASS: TestGenerateJWK/EC#07 (0.00s) --- PASS: TestGenerateJWK/EC#06 (0.00s) --- PASS: TestGenerateJWK/EC#05 (0.00s) - --- PASS: TestGenerateJWK/EC#04 (0.02s) - --- PASS: TestGenerateJWK/EC#03 (0.08s) + --- PASS: TestGenerateJWK/EC#04 (0.00s) + --- PASS: TestGenerateJWK/EC#03 (0.05s) --- PASS: TestGenerateJWK/EC#02 (0.01s) - --- PASS: TestGenerateJWK/EC#01 (0.01s) - --- PASS: TestGenerateJWK/RSA (7.94s) - --- PASS: TestGenerateJWK/RSA#02 (12.56s) - --- PASS: TestGenerateJWK/RSA#01 (144.29s) + --- PASS: TestGenerateJWK/EC#01 (0.00s) + --- PASS: TestGenerateJWK/RSA (8.08s) + --- PASS: TestGenerateJWK/RSA#01 (38.68s) +--- PASS: TestEncryptDecryptJWK (23.10s) + --- PASS: TestEncryptDecryptJWK/ok_EC (7.75s) + --- PASS: TestEncryptDecryptJWK/ok_oct (9.05s) + --- PASS: TestEncryptDecryptJWK/ok_Ed25519_pub (9.27s) + --- PASS: TestEncryptDecryptJWK/ok_Ed25519 (8.60s) + --- PASS: TestEncryptDecryptJWK/ok_RSA-PSS_pub (9.10s) + --- PASS: TestEncryptDecryptJWK/ok_RSA-PSS (8.90s) + --- PASS: TestEncryptDecryptJWK/ok_RSA_pub (8.35s) + --- PASS: TestEncryptDecryptJWK/ok_RSA (8.32s) + --- PASS: TestEncryptDecryptJWK/ok_EC_pub (6.63s) PASS -ok go.step.sm/crypto/jose 334.265s +ok go.step.sm/crypto/jose 165.050s === RUN TestFingerprint === RUN TestFingerprint/ecdsa === RUN TestFingerprint/rsa @@ -1880,7 +1916,7 @@ === RUN TestPublicKey/x25519Public === RUN TestPublicKey/ecdsaSigner === RUN TestPublicKey/fail ---- PASS: TestPublicKey (0.74s) +--- PASS: TestPublicKey (7.13s) --- PASS: TestPublicKey/ecdsa (0.00s) --- PASS: TestPublicKey/ecdsaPublic (0.00s) --- PASS: TestPublicKey/rsa (0.00s) @@ -1918,12 +1954,12 @@ === RUN TestGenerateKey/unknown_EC_curve === RUN TestGenerateKey/unknown_OKP_curve === RUN TestGenerateKey/unknown_type ---- PASS: TestGenerateKey (0.73s) +--- PASS: TestGenerateKey (0.64s) --- PASS: TestGenerateKey/P-256 (0.01s) - --- PASS: TestGenerateKey/P-384 (0.08s) - --- PASS: TestGenerateKey/P-521 (0.53s) - --- PASS: TestGenerateKey/Ed25519 (0.03s) - --- PASS: TestGenerateKey/X25519 (0.08s) + --- PASS: TestGenerateKey/P-384 (0.07s) + --- PASS: TestGenerateKey/P-521 (0.51s) + --- PASS: TestGenerateKey/Ed25519 (0.01s) + --- PASS: TestGenerateKey/X25519 (0.04s) --- PASS: TestGenerateKey/OCT (0.00s) --- PASS: TestGenerateKey/eof_EC (0.00s) --- PASS: TestGenerateKey/eof_RSA (0.00s) @@ -1938,9 +1974,9 @@ === RUN TestGenerateKey_rsa/RSA3072 === RUN TestGenerateKey_rsa/fail === RUN TestGenerateKey_rsa/fail_size ---- PASS: TestGenerateKey_rsa (28.14s) - --- PASS: TestGenerateKey_rsa/RSA2048 (11.13s) - --- PASS: TestGenerateKey_rsa/RSA3072 (17.01s) +--- PASS: TestGenerateKey_rsa (16.87s) + --- PASS: TestGenerateKey_rsa/RSA2048 (12.12s) + --- PASS: TestGenerateKey_rsa/RSA3072 (4.76s) --- PASS: TestGenerateKey_rsa/fail (0.00s) --- PASS: TestGenerateKey_rsa/fail_size (0.00s) === RUN TestGenerateKeyPair @@ -1955,7 +1991,7 @@ --- PASS: TestGenerateKeyPair (0.21s) --- PASS: TestGenerateKeyPair/P-256 (0.01s) --- PASS: TestGenerateKeyPair/P-384 (0.03s) - --- PASS: TestGenerateKeyPair/P-521 (0.18s) + --- PASS: TestGenerateKeyPair/P-521 (0.17s) --- PASS: TestGenerateKeyPair/Ed25519 (0.00s) --- PASS: TestGenerateKeyPair/OCT (0.00s) --- PASS: TestGenerateKeyPair/eof (0.00s) @@ -1965,9 +2001,9 @@ === RUN TestGenerateKeyPair_rsa/RSA2048 === RUN TestGenerateKeyPair_rsa/RSA3072 === RUN TestGenerateKeyPair_rsa/fail ---- PASS: TestGenerateKeyPair_rsa (10.21s) - --- PASS: TestGenerateKeyPair_rsa/RSA2048 (5.18s) - --- PASS: TestGenerateKeyPair_rsa/RSA3072 (5.03s) +--- PASS: TestGenerateKeyPair_rsa (16.18s) + --- PASS: TestGenerateKeyPair_rsa/RSA2048 (9.09s) + --- PASS: TestGenerateKeyPair_rsa/RSA3072 (7.08s) --- PASS: TestGenerateKeyPair_rsa/fail (0.00s) === RUN TestGenerateDefaultSigner === RUN TestGenerateDefaultSigner/ok @@ -1983,10 +2019,10 @@ === RUN TestGenerateSigner/OCT === RUN TestGenerateSigner/unknown === RUN TestGenerateSigner/unknown#01 ---- PASS: TestGenerateSigner (0.23s) +--- PASS: TestGenerateSigner (0.21s) --- PASS: TestGenerateSigner/P-256 (0.01s) --- PASS: TestGenerateSigner/P-384 (0.03s) - --- PASS: TestGenerateSigner/P-521 (0.19s) + --- PASS: TestGenerateSigner/P-521 (0.17s) --- PASS: TestGenerateSigner/Ed25519 (0.00s) --- PASS: TestGenerateSigner/OCT (0.00s) --- PASS: TestGenerateSigner/unknown (0.00s) @@ -2006,7 +2042,7 @@ === RUN TestExtractKey/fail_string === RUN TestExtractKey/fail_bad_ssh.Certificate.Key === RUN TestExtractKey/fail_bad_ssh.PublicKey ---- PASS: TestExtractKey (3.61s) +--- PASS: TestExtractKey (0.98s) --- PASS: TestExtractKey/RSA_private_key (0.00s) --- PASS: TestExtractKey/RSA_public_key (0.00s) --- PASS: TestExtractKey/EC_private_key (0.00s) @@ -2032,7 +2068,7 @@ === RUN TestVerifyPair/fail_rsa_key === RUN TestVerifyPair/fail_ed25519_key === RUN TestVerifyPair/fail_type ---- PASS: TestVerifyPair (8.25s) +--- PASS: TestVerifyPair (2.98s) --- PASS: TestVerifyPair/ecdsa (0.00s) --- PASS: TestVerifyPair/rsa (0.00s) --- PASS: TestVerifyPair/ed25519 (0.00s) @@ -2048,11 +2084,11 @@ === RUN TestInsecure/fail_RSA_1024 === RUN TestInsecure/ok_RSA_2048_insecure === RUN TestInsecure/ok_RSA_1024_insecure ---- PASS: TestInsecure (6.54s) - --- PASS: TestInsecure/ok_RSA_2048 (0.97s) +--- PASS: TestInsecure (4.44s) + --- PASS: TestInsecure/ok_RSA_2048 (1.60s) --- PASS: TestInsecure/fail_RSA_1024 (0.00s) - --- PASS: TestInsecure/ok_RSA_2048_insecure (5.23s) - --- PASS: TestInsecure/ok_RSA_1024_insecure (0.34s) + --- PASS: TestInsecure/ok_RSA_2048_insecure (2.70s) + --- PASS: TestInsecure/ok_RSA_1024_insecure (0.14s) === RUN TestEqual === RUN TestEqual/ok_ecdsaKey === RUN TestEqual/ok_rsaKey @@ -2074,7 +2110,7 @@ === RUN TestEqual/fail_[]byte === RUN TestEqual/fail_int === RUN TestEqual/fail_string ---- PASS: TestEqual (8.25s) +--- PASS: TestEqual (0.42s) --- PASS: TestEqual/ok_ecdsaKey (0.00s) --- PASS: TestEqual/ok_rsaKey (0.00s) --- PASS: TestEqual/ok_ed25519Key (0.00s) @@ -2096,7 +2132,7 @@ --- PASS: TestEqual/fail_int (0.00s) --- PASS: TestEqual/fail_string (0.00s) PASS -ok go.step.sm/crypto/keyutil 66.976s +ok go.step.sm/crypto/keyutil 50.097s === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_with_options @@ -2110,15 +2146,15 @@ === RUN TestNew/fail_intermediate_csr === RUN TestNew/fail_host_ssh_signer === RUN TestNew/fail_user_ssh_signer ---- PASS: TestNew (0.39s) - --- PASS: TestNew/ok (0.09s) - --- PASS: TestNew/ok_with_options (0.04s) +--- PASS: TestNew (0.20s) + --- PASS: TestNew/ok (0.04s) + --- PASS: TestNew/ok_with_options (0.02s) --- PASS: TestNew/fail_root_signer (0.00s) --- PASS: TestNew/fail_intermediate_signer (0.01s) - --- PASS: TestNew/fail_host_signer (0.03s) - --- PASS: TestNew/fail_user_signer (0.03s) - --- PASS: TestNew/fail_root_template (0.02s) - --- PASS: TestNew/fail_intermediate_template (0.06s) + --- PASS: TestNew/fail_host_signer (0.01s) + --- PASS: TestNew/fail_user_signer (0.01s) + --- PASS: TestNew/fail_root_template (0.01s) + --- PASS: TestNew/fail_intermediate_template (0.03s) --- PASS: TestNew/fail_root_csr (0.00s) --- PASS: TestNew/fail_intermediate_csr (0.01s) --- PASS: TestNew/fail_host_ssh_signer (0.01s) @@ -2127,22 +2163,22 @@ === RUN TestCA_Sign/ok === RUN TestCA_Sign/ok_with_lifetime === RUN TestCA_Sign/fail ---- PASS: TestCA_Sign (0.17s) +--- PASS: TestCA_Sign (0.14s) --- PASS: TestCA_Sign/ok (0.02s) - --- PASS: TestCA_Sign/ok_with_lifetime (0.03s) + --- PASS: TestCA_Sign/ok_with_lifetime (0.02s) --- PASS: TestCA_Sign/fail (0.00s) === RUN TestCA_Sign_mutation ---- PASS: TestCA_Sign_mutation (0.08s) +--- PASS: TestCA_Sign_mutation (0.05s) === RUN TestCA_SignCSR === RUN TestCA_SignCSR/ok === RUN TestCA_SignCSR/ok_with_modify === RUN TestCA_SignCSR/fail_new_certificate === RUN TestCA_SignCSR/fail_modify ---- PASS: TestCA_SignCSR (0.22s) +--- PASS: TestCA_SignCSR (0.20s) --- PASS: TestCA_SignCSR/ok (0.02s) --- PASS: TestCA_SignCSR/ok_with_modify (0.02s) --- PASS: TestCA_SignCSR/fail_new_certificate (0.00s) - --- PASS: TestCA_SignCSR/fail_modify (0.01s) + --- PASS: TestCA_SignCSR/fail_modify (0.00s) === RUN TestCA_SignSSH === RUN TestCA_SignSSH/ok_host === RUN TestCA_SignSSH/ok_user @@ -2154,11 +2190,11 @@ --- PASS: TestCA_SignSSH/ok_infinity (0.01s) --- PASS: TestCA_SignSSH/fail_type (0.00s) === RUN TestCA_SignSSH_mutation ---- PASS: TestCA_SignSSH_mutation (0.06s) +--- PASS: TestCA_SignSSH_mutation (0.05s) === RUN TestCA_SignSSH_infinity ---- PASS: TestCA_SignSSH_infinity (0.09s) +--- PASS: TestCA_SignSSH_infinity (0.04s) PASS -ok go.step.sm/crypto/minica 1.211s +ok go.step.sm/crypto/minica 0.874s === RUN TestParseCosignPrivateKey === RUN TestParseCosignPrivateKey/ok === RUN TestParseCosignPrivateKey/fail_password @@ -2173,7 +2209,7 @@ === RUN TestParseCosignPrivateKey/fail_kdf.Salt === RUN TestParseCosignPrivateKey/fail_ciphertext === RUN TestParseCosignPrivateKey/fail_parsePKCS8PrivateKey ---- PASS: TestParseCosignPrivateKey (3.57s) +--- PASS: TestParseCosignPrivateKey (2.86s) --- PASS: TestParseCosignPrivateKey/ok (0.36s) --- PASS: TestParseCosignPrivateKey/fail_password (0.32s) --- PASS: TestParseCosignPrivateKey/fail_unmarshal (0.00s) @@ -2182,125 +2218,125 @@ --- PASS: TestParseCosignPrivateKey/fail_nonce_too_large (0.00s) --- PASS: TestParseCosignPrivateKey/fail_nonce_too_short (0.00s) --- PASS: TestParseCosignPrivateKey/fail_kdf.N (0.00s) - --- PASS: TestParseCosignPrivateKey/fail_kdf.R (0.34s) - --- PASS: TestParseCosignPrivateKey/fail_kdf.P (1.00s) - --- PASS: TestParseCosignPrivateKey/fail_kdf.Salt (0.45s) - --- PASS: TestParseCosignPrivateKey/fail_ciphertext (0.34s) - --- PASS: TestParseCosignPrivateKey/fail_parsePKCS8PrivateKey (0.31s) + --- PASS: TestParseCosignPrivateKey/fail_kdf.R (0.35s) + --- PASS: TestParseCosignPrivateKey/fail_kdf.P (0.58s) + --- PASS: TestParseCosignPrivateKey/fail_kdf.Salt (0.34s) + --- PASS: TestParseCosignPrivateKey/fail_ciphertext (0.30s) + --- PASS: TestParseCosignPrivateKey/fail_parsePKCS8PrivateKey (0.30s) === RUN TestParseCosignPrivateKey_equal ---- PASS: TestParseCosignPrivateKey_equal (0.36s) +--- PASS: TestParseCosignPrivateKey_equal (0.29s) === RUN TestParseCosignPrivateKey_IncorrectPasswordError ---- PASS: TestParseCosignPrivateKey_IncorrectPasswordError (1.16s) +--- PASS: TestParseCosignPrivateKey_IncorrectPasswordError (0.58s) === RUN TestRead -=== RUN TestRead/testdata/openssl.p521.pub.pem -=== RUN TestRead/testdata/openssl.rsa2048.pem -=== RUN TestRead/testdata/openssl.rsa2048.pub.pem -=== RUN TestRead/testdata/openssl.rsa2048.enc.pem -=== RUN TestRead/testdata/openssh.p256.pem -=== RUN TestRead/testdata/openssh.p521.pem -=== RUN TestRead/testdata/openssh.rsa1024.pem -=== RUN TestRead/testdata/pkcs8/openssl.ed25519.pem -=== RUN TestRead/testdata/openssl.p256.enc.pem === RUN TestRead/testdata/openssl.rsa1024.enc.pem +=== RUN TestRead/testdata/openssh.ed25519.pub.pem +=== RUN TestRead/testdata/pkcs8/openssl.ed25519.pem +=== RUN TestRead/testdata/pkcs8/openssl.ed25519.enc.pem +=== RUN TestRead/testdata/pkcs8/openssl.p521.pem +=== RUN TestRead/testdata/pkcs8/openssl.rsa4096.pub.pem +=== RUN TestRead/testdata/openssh.p256.pem === RUN TestRead/testdata/openssh.p384.enc.pem +=== RUN TestRead/testdata/openssh.rsa1024.pem +=== RUN TestRead/testdata/cosign.pub.pem +=== RUN TestRead/testdata/openssl.rsa1024.pub.pem === RUN TestRead/testdata/openssh.p384.pem -=== RUN TestRead/testdata/openssh.rsa2048.pub.pem -=== RUN TestRead/testdata/pkcs8/openssl.p384.pub.pem -=== RUN TestRead/testdata/pkcs8/openssl.p521.enc.pem +=== RUN TestRead/testdata/openssh.rsa1024.pub.pem +=== RUN TestRead/testdata/pkcs8/openssl.p521.pub.pem === RUN TestRead/testdata/pkcs8/openssl.rsa2048.pem -=== RUN TestRead/testdata/openssl.rsa1024.pem -=== RUN TestRead/testdata/openssh.p384.pub.pem -=== RUN TestRead/testdata/pkcs8/openssl.ed25519.enc.pem -=== RUN TestRead/testdata/pkcs8/openssl.p256.pub.pem === RUN TestRead/testdata/pkcs8/openssl.rsa4096.pem -=== RUN TestRead/testdata/pkcs8/openssl.rsa4096.pub.pem +=== RUN TestRead/testdata/cosign.enc.pem +=== RUN TestRead/testdata/openssl.p521.pem +=== RUN TestRead/testdata/openssl.rsa2048.enc.pem +=== RUN TestRead/testdata/openssh.p384.pub.pem +=== RUN TestRead/testdata/openssh.p521.pem +=== RUN TestRead/testdata/pkcs8/openssl.p384.pem +=== RUN TestRead/testdata/pkcs8/openssl.rsa2048.pub.pem +=== RUN TestRead/testdata/pkcs8/openssl.rsa2048.enc.pem +=== RUN TestRead/testdata/nebula.key +=== RUN TestRead/testdata/openssl.p256.pub.pem === RUN TestRead/testdata/openssl.p384.pem === RUN TestRead/testdata/openssl.p384.pub.pem -=== RUN TestRead/testdata/openssl.p384.enc.pem -=== RUN TestRead/testdata/openssl.p521.enc.pem -=== RUN TestRead/testdata/openssh.ed25519.enc.pem +=== RUN TestRead/testdata/openssl.p521.pub.pem +=== RUN TestRead/testdata/openssl.rsa1024.pem === RUN TestRead/testdata/openssh.p256.pub.pem +=== RUN TestRead/testdata/openssh.p521.enc.pem === RUN TestRead/testdata/openssh.p521.pub.pem -=== RUN TestRead/testdata/openssh.rsa2048.enc.pem -=== RUN TestRead/testdata/openssl.p256.pem +=== RUN TestRead/testdata/openssl.p384.enc.pem === RUN TestRead/testdata/openssh.rsa2048.pem === RUN TestRead/testdata/pkcs8/openssl.ed25519.pub.pem +=== RUN TestRead/testdata/pkcs8/openssl.p256.pem +=== RUN TestRead/testdata/pkcs8/openssl.p256.pub.pem === RUN TestRead/testdata/pkcs8/openssl.p256.enc.pem -=== RUN TestRead/testdata/pkcs8/openssl.p384.pem -=== RUN TestRead/testdata/pkcs8/openssl.p521.pem -=== RUN TestRead/testdata/pkcs8/openssl.rsa2048.enc.pem -=== RUN TestRead/testdata/nebula.pub -=== RUN TestRead/testdata/openssl.p521.pem -=== RUN TestRead/testdata/openssh.rsa1024.pub.pem -=== RUN TestRead/testdata/pkcs8/openssl.p384.enc.pem -=== RUN TestRead/testdata/pkcs8/openssl.rsa2048.pub.pem -=== RUN TestRead/testdata/nebula.key -=== RUN TestRead/testdata/openssl.p256.pub.pem -=== RUN TestRead/testdata/openssl.rsa1024.pub.pem -=== RUN TestRead/testdata/openssh.ed25519.pub.pem -=== RUN TestRead/testdata/openssh.p256.enc.pem -=== RUN TestRead/testdata/openssh.p521.enc.pem +=== RUN TestRead/testdata/pkcs8/openssl.p384.pub.pem +=== RUN TestRead/testdata/pkcs8/openssl.p521.enc.pem +=== RUN TestRead/testdata/openssl.p256.pem +=== RUN TestRead/testdata/openssl.p521.enc.pem +=== RUN TestRead/testdata/openssh.ed25519.enc.pem === RUN TestRead/testdata/openssh.rsa1024.enc.pem -=== RUN TestRead/testdata/pkcs8/openssl.p256.pem -=== RUN TestRead/testdata/cosign.pub.pem +=== RUN TestRead/testdata/nebula.pub +=== RUN TestRead/testdata/openssl.p256.enc.pem +=== RUN TestRead/testdata/openssl.rsa2048.pem +=== RUN TestRead/testdata/openssl.rsa2048.pub.pem === RUN TestRead/testdata/openssh.ed25519.pem -=== RUN TestRead/testdata/pkcs8/openssl.p521.pub.pem -=== RUN TestRead/testdata/cosign.enc.pem ---- PASS: TestRead (5.24s) - --- PASS: TestRead/testdata/openssl.p521.pub.pem (0.00s) - --- PASS: TestRead/testdata/openssl.rsa2048.pem (0.03s) - --- PASS: TestRead/testdata/openssl.rsa2048.pub.pem (0.00s) - --- PASS: TestRead/testdata/openssl.rsa2048.enc.pem (0.03s) +=== RUN TestRead/testdata/openssh.p256.enc.pem +=== RUN TestRead/testdata/openssh.rsa2048.enc.pem +=== RUN TestRead/testdata/openssh.rsa2048.pub.pem +=== RUN TestRead/testdata/pkcs8/openssl.p384.enc.pem +--- PASS: TestRead (4.21s) + --- PASS: TestRead/testdata/openssl.rsa1024.enc.pem (0.01s) + --- PASS: TestRead/testdata/openssh.ed25519.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.ed25519.pem (0.04s) + --- PASS: TestRead/testdata/pkcs8/openssl.ed25519.enc.pem (0.01s) + --- PASS: TestRead/testdata/pkcs8/openssl.p521.pem (0.51s) + --- PASS: TestRead/testdata/pkcs8/openssl.rsa4096.pub.pem (0.00s) --- PASS: TestRead/testdata/openssh.p256.pem (0.01s) - --- PASS: TestRead/testdata/openssh.p521.pem (0.69s) + --- PASS: TestRead/testdata/openssh.p384.enc.pem (0.34s) --- PASS: TestRead/testdata/openssh.rsa1024.pem (0.01s) - --- PASS: TestRead/testdata/pkcs8/openssl.ed25519.pem (0.04s) - --- PASS: TestRead/testdata/openssl.p256.enc.pem (0.01s) - --- PASS: TestRead/testdata/openssl.rsa1024.enc.pem (0.01s) - --- PASS: TestRead/testdata/openssh.p384.enc.pem (0.35s) + --- PASS: TestRead/testdata/cosign.pub.pem (0.00s) + --- PASS: TestRead/testdata/openssl.rsa1024.pub.pem (0.00s) --- PASS: TestRead/testdata/openssh.p384.pem (0.03s) - --- PASS: TestRead/testdata/openssh.rsa2048.pub.pem (0.00s) - --- PASS: TestRead/testdata/pkcs8/openssl.p384.pub.pem (0.00s) - --- PASS: TestRead/testdata/pkcs8/openssl.p521.enc.pem (0.23s) - --- PASS: TestRead/testdata/pkcs8/openssl.rsa2048.pem (0.06s) - --- PASS: TestRead/testdata/openssl.rsa1024.pem (0.02s) + --- PASS: TestRead/testdata/openssh.rsa1024.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.p521.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.rsa2048.pem (0.03s) + --- PASS: TestRead/testdata/pkcs8/openssl.rsa4096.pem (0.20s) + --- PASS: TestRead/testdata/cosign.enc.pem (0.32s) + --- PASS: TestRead/testdata/openssl.p521.pem (0.17s) + --- PASS: TestRead/testdata/openssl.rsa2048.enc.pem (0.03s) --- PASS: TestRead/testdata/openssh.p384.pub.pem (0.00s) - --- PASS: TestRead/testdata/pkcs8/openssl.ed25519.enc.pem (0.01s) - --- PASS: TestRead/testdata/pkcs8/openssl.p256.pub.pem (0.00s) - --- PASS: TestRead/testdata/pkcs8/openssl.rsa4096.pem (0.28s) - --- PASS: TestRead/testdata/pkcs8/openssl.rsa4096.pub.pem (0.00s) + --- PASS: TestRead/testdata/openssh.p521.pem (0.17s) + --- PASS: TestRead/testdata/pkcs8/openssl.p384.pem (0.03s) + --- PASS: TestRead/testdata/pkcs8/openssl.rsa2048.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.rsa2048.enc.pem (0.04s) + --- PASS: TestRead/testdata/nebula.key (0.00s) + --- PASS: TestRead/testdata/openssl.p256.pub.pem (0.00s) --- PASS: TestRead/testdata/openssl.p384.pem (0.03s) --- PASS: TestRead/testdata/openssl.p384.pub.pem (0.00s) - --- PASS: TestRead/testdata/openssl.p384.enc.pem (0.03s) - --- PASS: TestRead/testdata/openssl.p521.enc.pem (0.22s) - --- PASS: TestRead/testdata/openssh.ed25519.enc.pem (0.27s) + --- PASS: TestRead/testdata/openssl.p521.pub.pem (0.00s) + --- PASS: TestRead/testdata/openssl.rsa1024.pem (0.01s) --- PASS: TestRead/testdata/openssh.p256.pub.pem (0.00s) + --- PASS: TestRead/testdata/openssh.p521.enc.pem (0.47s) --- PASS: TestRead/testdata/openssh.p521.pub.pem (0.00s) - --- PASS: TestRead/testdata/openssh.rsa2048.enc.pem (0.36s) - --- PASS: TestRead/testdata/openssl.p256.pem (0.01s) - --- PASS: TestRead/testdata/openssh.rsa2048.pem (0.12s) + --- PASS: TestRead/testdata/openssl.p384.enc.pem (0.03s) + --- PASS: TestRead/testdata/openssh.rsa2048.pem (0.06s) --- PASS: TestRead/testdata/pkcs8/openssl.ed25519.pub.pem (0.00s) - --- PASS: TestRead/testdata/pkcs8/openssl.p256.enc.pem (0.03s) - --- PASS: TestRead/testdata/pkcs8/openssl.p384.pem (0.05s) - --- PASS: TestRead/testdata/pkcs8/openssl.p521.pem (0.29s) - --- PASS: TestRead/testdata/pkcs8/openssl.rsa2048.enc.pem (0.04s) - --- PASS: TestRead/testdata/nebula.pub (0.00s) - --- PASS: TestRead/testdata/openssl.p521.pem (0.20s) - --- PASS: TestRead/testdata/openssh.rsa1024.pub.pem (0.00s) - --- PASS: TestRead/testdata/pkcs8/openssl.p384.enc.pem (0.04s) - --- PASS: TestRead/testdata/pkcs8/openssl.rsa2048.pub.pem (0.00s) - --- PASS: TestRead/testdata/nebula.key (0.00s) - --- PASS: TestRead/testdata/openssl.p256.pub.pem (0.00s) - --- PASS: TestRead/testdata/openssl.rsa1024.pub.pem (0.00s) - --- PASS: TestRead/testdata/openssh.ed25519.pub.pem (0.00s) - --- PASS: TestRead/testdata/openssh.p256.enc.pem (0.28s) - --- PASS: TestRead/testdata/openssh.p521.enc.pem (0.48s) - --- PASS: TestRead/testdata/openssh.rsa1024.enc.pem (0.43s) --- PASS: TestRead/testdata/pkcs8/openssl.p256.pem (0.01s) - --- PASS: TestRead/testdata/cosign.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.p256.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.p256.enc.pem (0.02s) + --- PASS: TestRead/testdata/pkcs8/openssl.p384.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.p521.enc.pem (0.20s) + --- PASS: TestRead/testdata/openssl.p256.pem (0.01s) + --- PASS: TestRead/testdata/openssl.p521.enc.pem (0.20s) + --- PASS: TestRead/testdata/openssh.ed25519.enc.pem (0.26s) + --- PASS: TestRead/testdata/openssh.rsa1024.enc.pem (0.28s) + --- PASS: TestRead/testdata/nebula.pub (0.00s) + --- PASS: TestRead/testdata/openssl.p256.enc.pem (0.01s) + --- PASS: TestRead/testdata/openssl.rsa2048.pem (0.03s) + --- PASS: TestRead/testdata/openssl.rsa2048.pub.pem (0.00s) --- PASS: TestRead/testdata/openssh.ed25519.pem (0.00s) - --- PASS: TestRead/testdata/pkcs8/openssl.p521.pub.pem (0.00s) - --- PASS: TestRead/testdata/cosign.enc.pem (0.51s) + --- PASS: TestRead/testdata/openssh.p256.enc.pem (0.27s) + --- PASS: TestRead/testdata/openssh.rsa2048.enc.pem (0.35s) + --- PASS: TestRead/testdata/openssh.rsa2048.pub.pem (0.00s) + --- PASS: TestRead/testdata/pkcs8/openssl.p384.enc.pem (0.04s) === RUN TestParseCertificate === RUN TestParseCertificate/testdata/ca.crt === RUN TestParseCertificate/testdata/bundle.crt @@ -2327,7 +2363,7 @@ === RUN TestReadCertificate/testdata/badpem.crt === RUN TestReadCertificate/testdata/badder.crt === RUN TestReadCertificate/testdata/openssl.p256.pem ---- PASS: TestReadCertificate (0.01s) +--- PASS: TestReadCertificate (0.00s) --- PASS: TestReadCertificate/testdata/ca.crt (0.00s) --- PASS: TestReadCertificate/testdata/nonPEMHeaderCa.crt (0.00s) --- PASS: TestReadCertificate/testdata/extrajunkbundle.crt (0.00s) @@ -2372,7 +2408,7 @@ === RUN TestParseCertificateBundle/fail_no_PEM#01 === RUN TestParseCertificateBundle/fail_bad_der === RUN TestParseCertificateBundle/fail_no_valid_PEM ---- PASS: TestParseCertificateBundle (0.01s) +--- PASS: TestParseCertificateBundle (0.00s) --- PASS: TestParseCertificateBundle/ok_cert (0.00s) --- PASS: TestParseCertificateBundle/ok_non_PEM_header (0.00s) --- PASS: TestParseCertificateBundle/ok_der (0.00s) @@ -2384,51 +2420,51 @@ --- PASS: TestParseCertificateBundle/fail_bad_der (0.00s) --- PASS: TestParseCertificateBundle/fail_no_valid_PEM (0.00s) === RUN TestParse -=== RUN TestParse/success-x509-crt -=== RUN TestParse/success-x509-crt-trim-spaces -=== RUN TestParse/fail-options -=== RUN TestParse/fail-password -=== RUN TestParse/success-rsa-private-key -=== RUN TestParse/success-ed25519-private-key -=== RUN TestParse/fail-pkcs8-password === RUN TestParse/fail-type === RUN TestParse/fail-nebula-pub-size === RUN TestParse/fail-nebula-key-size === RUN TestParse/success-ecdsa-public-key === RUN TestParse/success-rsa-public-key === RUN TestParse/success-ecdsa-private-key +=== RUN TestParse/success-ed25519-private-key +=== RUN TestParse/success-x509-crt +=== RUN TestParse/success-x509-crt-trim-spaces +=== RUN TestParse/fail-password +=== RUN TestParse/fail-pkcs8-password +=== RUN TestParse/success-rsa-private-key === RUN TestParse/success-ed25519-enc-private-key ---- PASS: TestParse (0.04s) - --- PASS: TestParse/success-x509-crt (0.00s) - --- PASS: TestParse/success-x509-crt-trim-spaces (0.00s) - --- PASS: TestParse/fail-options (0.00s) - --- PASS: TestParse/fail-password (0.00s) - --- PASS: TestParse/success-rsa-private-key (0.00s) - --- PASS: TestParse/success-ed25519-private-key (0.01s) - --- PASS: TestParse/fail-pkcs8-password (0.01s) +=== RUN TestParse/fail-options +--- PASS: TestParse (0.02s) --- PASS: TestParse/fail-type (0.00s) --- PASS: TestParse/fail-nebula-pub-size (0.00s) --- PASS: TestParse/fail-nebula-key-size (0.00s) --- PASS: TestParse/success-ecdsa-public-key (0.00s) --- PASS: TestParse/success-rsa-public-key (0.00s) --- PASS: TestParse/success-ecdsa-private-key (0.00s) - --- PASS: TestParse/success-ed25519-enc-private-key (0.02s) + --- PASS: TestParse/success-ed25519-private-key (0.00s) + --- PASS: TestParse/success-x509-crt (0.00s) + --- PASS: TestParse/success-x509-crt-trim-spaces (0.00s) + --- PASS: TestParse/fail-password (0.00s) + --- PASS: TestParse/fail-pkcs8-password (0.01s) + --- PASS: TestParse/success-rsa-private-key (0.00s) + --- PASS: TestParse/success-ed25519-enc-private-key (0.01s) + --- PASS: TestParse/fail-options (0.00s) === RUN TestSerialize - pem_test.go:639: Running test case: ToFile Success (EC Private Key encrypted) - pem_test.go:639: Running test case: unrecognized key type + pem_test.go:639: Running test case: RSA Private Key success pem_test.go:639: Running test case: RSA Public Key success pem_test.go:639: Running test case: EC Private Key success pem_test.go:639: Running test case: EC Private Key success - encrypt input data pem_test.go:639: Running test case: EC Private Key success - encrypt pkcs8 data - pem_test.go:639: Running test case: OKP Private Key success - pem_test.go:639: Running test case: X.509 Certificate request success - pem_test.go:639: Running test case: RSA Private Key success pem_test.go:639: Running test case: EC Public Key success + pem_test.go:639: Running test case: ToFile Success (EC Private Key unencrypted) + pem_test.go:639: Running test case: ToFile Success (EC Private Key encrypted) + pem_test.go:639: Running test case: unrecognized key type + pem_test.go:639: Running test case: OKP Private Key success pem_test.go:639: Running test case: OKP Public Key success pem_test.go:639: Running test case: X.509 Certificate success + pem_test.go:639: Running test case: X.509 Certificate request success pem_test.go:639: Running test case: propagate open key out file error - pem_test.go:639: Running test case: ToFile Success (EC Private Key unencrypted) ---- PASS: TestSerialize (12.80s) +--- PASS: TestSerialize (11.26s) === RUN TestParseDER === RUN TestParseDER/rsa_public_key === RUN TestParseDER/rsa_private_key @@ -2448,119 +2484,119 @@ --- PASS: TestParseDER/ed25519_private_key (0.00s) --- PASS: TestParseDER/fail (0.00s) === RUN TestParseKey -=== RUN TestParseKey/testdata/openssl.p521.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p384.enc.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.rsa2048.pub.pem -=== RUN TestParseKey/testdata/nebula.key -=== RUN TestParseKey/testdata/openssl.p256.pub.pem -=== RUN TestParseKey/testdata/openssl.rsa1024.pub.pem -=== RUN TestParseKey/testdata/openssh.p256.enc.pem -=== RUN TestParseKey/testdata/openssh.p521.enc.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p256.enc.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p384.pub.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p521.enc.pem +=== RUN TestParseKey/testdata/openssl.p256.pem +=== RUN TestParseKey/testdata/openssl.p521.enc.pem +=== RUN TestParseKey/testdata/openssh.ed25519.enc.pem === RUN TestParseKey/testdata/openssh.rsa1024.enc.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p256.pem -=== RUN TestParseKey/testdata/cosign.pub.pem -=== RUN TestParseKey/testdata/openssh.ed25519.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p521.pub.pem -=== RUN TestParseKey/testdata/cosign.enc.pem -=== RUN TestParseKey/testdata/openssl.p521.pub.pem +=== RUN TestParseKey/testdata/nebula.pub +=== RUN TestParseKey/testdata/openssl.p256.enc.pem === RUN TestParseKey/testdata/openssl.rsa2048.pem === RUN TestParseKey/testdata/openssl.rsa2048.pub.pem -=== RUN TestParseKey/testdata/openssl.rsa2048.enc.pem -=== RUN TestParseKey/testdata/openssh.p256.pem -=== RUN TestParseKey/testdata/openssh.p521.pem -=== RUN TestParseKey/testdata/openssh.rsa1024.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.ed25519.pem -=== RUN TestParseKey/testdata/openssl.p256.enc.pem +=== RUN TestParseKey/testdata/openssh.ed25519.pem +=== RUN TestParseKey/testdata/openssh.p256.enc.pem +=== RUN TestParseKey/testdata/openssh.rsa2048.enc.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p384.enc.pem === RUN TestParseKey/testdata/openssl.rsa1024.enc.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.ed25519.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.ed25519.enc.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p521.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.rsa4096.pub.pem +=== RUN TestParseKey/testdata/openssh.p256.pem === RUN TestParseKey/testdata/openssh.p384.enc.pem +=== RUN TestParseKey/testdata/openssh.rsa1024.pem +=== RUN TestParseKey/testdata/cosign.pub.pem +=== RUN TestParseKey/testdata/openssl.rsa1024.pub.pem === RUN TestParseKey/testdata/openssh.p384.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p384.pub.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p521.enc.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p521.pub.pem === RUN TestParseKey/testdata/pkcs8/openssl.rsa2048.pem -=== RUN TestParseKey/testdata/openssl.rsa1024.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.ed25519.enc.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p256.pub.pem === RUN TestParseKey/testdata/pkcs8/openssl.rsa4096.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.rsa4096.pub.pem +=== RUN TestParseKey/testdata/cosign.enc.pem +=== RUN TestParseKey/testdata/openssl.p521.pem +=== RUN TestParseKey/testdata/openssl.rsa2048.enc.pem +=== RUN TestParseKey/testdata/openssh.p521.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p384.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.rsa2048.pub.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.rsa2048.enc.pem +=== RUN TestParseKey/testdata/nebula.key +=== RUN TestParseKey/testdata/openssl.p256.pub.pem === RUN TestParseKey/testdata/openssl.p384.pem === RUN TestParseKey/testdata/openssl.p384.pub.pem +=== RUN TestParseKey/testdata/openssl.p521.pub.pem +=== RUN TestParseKey/testdata/openssl.rsa1024.pem +=== RUN TestParseKey/testdata/openssh.p521.enc.pem === RUN TestParseKey/testdata/openssl.p384.enc.pem -=== RUN TestParseKey/testdata/openssl.p521.enc.pem -=== RUN TestParseKey/testdata/openssh.ed25519.enc.pem -=== RUN TestParseKey/testdata/openssh.rsa2048.enc.pem -=== RUN TestParseKey/testdata/openssl.p256.pem === RUN TestParseKey/testdata/openssh.rsa2048.pem === RUN TestParseKey/testdata/pkcs8/openssl.ed25519.pub.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p256.enc.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p384.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.p521.pem -=== RUN TestParseKey/testdata/pkcs8/openssl.rsa2048.enc.pem -=== RUN TestParseKey/testdata/nebula.pub ---- PASS: TestParseKey (3.17s) - --- PASS: TestParseKey/testdata/openssl.p521.pem (0.03s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p384.enc.pem (0.01s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa2048.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/nebula.key (0.00s) - --- PASS: TestParseKey/testdata/openssl.p256.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/openssl.rsa1024.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/openssh.p256.enc.pem (0.30s) - --- PASS: TestParseKey/testdata/openssh.p521.enc.pem (0.33s) +=== RUN TestParseKey/testdata/pkcs8/openssl.p256.pem +=== RUN TestParseKey/testdata/pkcs8/openssl.p256.pub.pem +--- PASS: TestParseKey (2.32s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p256.enc.pem (0.01s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p384.pub.pem (0.00s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p521.enc.pem (0.03s) + --- PASS: TestParseKey/testdata/openssl.p256.pem (0.00s) + --- PASS: TestParseKey/testdata/openssl.p521.enc.pem (0.02s) + --- PASS: TestParseKey/testdata/openssh.ed25519.enc.pem (0.26s) --- PASS: TestParseKey/testdata/openssh.rsa1024.enc.pem (0.27s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p256.pem (0.00s) - --- PASS: TestParseKey/testdata/cosign.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/openssh.ed25519.pem (0.00s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p521.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/cosign.enc.pem (0.55s) - --- PASS: TestParseKey/testdata/openssl.p521.pub.pem (0.00s) + --- PASS: TestParseKey/testdata/nebula.pub (0.00s) + --- PASS: TestParseKey/testdata/openssl.p256.enc.pem (0.00s) --- PASS: TestParseKey/testdata/openssl.rsa2048.pem (0.00s) --- PASS: TestParseKey/testdata/openssl.rsa2048.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/openssl.rsa2048.enc.pem (0.00s) + --- PASS: TestParseKey/testdata/openssh.ed25519.pem (0.00s) + --- PASS: TestParseKey/testdata/openssh.p256.enc.pem (0.26s) + --- PASS: TestParseKey/testdata/openssh.rsa2048.enc.pem (0.40s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p384.enc.pem (0.01s) + --- PASS: TestParseKey/testdata/openssl.rsa1024.enc.pem (0.00s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.ed25519.pem (0.00s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.ed25519.enc.pem (0.01s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p521.pem (0.03s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa4096.pub.pem (0.00s) --- PASS: TestParseKey/testdata/openssh.p256.pem (0.00s) - --- PASS: TestParseKey/testdata/openssh.p521.pem (0.03s) + --- PASS: TestParseKey/testdata/openssh.p384.enc.pem (0.27s) --- PASS: TestParseKey/testdata/openssh.rsa1024.pem (0.01s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.ed25519.pem (0.00s) - --- PASS: TestParseKey/testdata/openssl.p256.enc.pem (0.00s) - --- PASS: TestParseKey/testdata/openssl.rsa1024.enc.pem (0.00s) - --- PASS: TestParseKey/testdata/openssh.p384.enc.pem (0.45s) + --- PASS: TestParseKey/testdata/cosign.pub.pem (0.00s) + --- PASS: TestParseKey/testdata/openssl.rsa1024.pub.pem (0.00s) --- PASS: TestParseKey/testdata/openssh.p384.pem (0.00s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p384.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p521.enc.pem (0.03s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p521.pub.pem (0.00s) --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa2048.pem (0.00s) - --- PASS: TestParseKey/testdata/openssl.rsa1024.pem (0.00s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.ed25519.enc.pem (0.01s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p256.pub.pem (0.00s) --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa4096.pem (0.01s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa4096.pub.pem (0.00s) + --- PASS: TestParseKey/testdata/cosign.enc.pem (0.33s) + --- PASS: TestParseKey/testdata/openssl.p521.pem (0.03s) + --- PASS: TestParseKey/testdata/openssl.rsa2048.enc.pem (0.00s) + --- PASS: TestParseKey/testdata/openssh.p521.pem (0.03s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p384.pem (0.00s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa2048.pub.pem (0.00s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa2048.enc.pem (0.01s) + --- PASS: TestParseKey/testdata/nebula.key (0.00s) + --- PASS: TestParseKey/testdata/openssl.p256.pub.pem (0.00s) --- PASS: TestParseKey/testdata/openssl.p384.pem (0.00s) --- PASS: TestParseKey/testdata/openssl.p384.pub.pem (0.00s) + --- PASS: TestParseKey/testdata/openssl.p521.pub.pem (0.00s) + --- PASS: TestParseKey/testdata/openssl.rsa1024.pem (0.00s) + --- PASS: TestParseKey/testdata/openssh.p521.enc.pem (0.29s) --- PASS: TestParseKey/testdata/openssl.p384.enc.pem (0.00s) - --- PASS: TestParseKey/testdata/openssl.p521.enc.pem (0.03s) - --- PASS: TestParseKey/testdata/openssh.ed25519.enc.pem (0.36s) - --- PASS: TestParseKey/testdata/openssh.rsa2048.enc.pem (0.59s) - --- PASS: TestParseKey/testdata/openssl.p256.pem (0.00s) - --- PASS: TestParseKey/testdata/openssh.rsa2048.pem (0.05s) + --- PASS: TestParseKey/testdata/openssh.rsa2048.pem (0.03s) --- PASS: TestParseKey/testdata/pkcs8/openssl.ed25519.pub.pem (0.00s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p256.enc.pem (0.02s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p384.pem (0.00s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.p521.pem (0.03s) - --- PASS: TestParseKey/testdata/pkcs8/openssl.rsa2048.enc.pem (0.01s) - --- PASS: TestParseKey/testdata/nebula.pub (0.00s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p256.pem (0.00s) + --- PASS: TestParseKey/testdata/pkcs8/openssl.p256.pub.pem (0.00s) === RUN TestParseKey_x509 --- PASS: TestParseKey_x509 (0.00s) === RUN TestParseSSH -=== RUN TestParseSSH/testdata/openssh.rsa1024.pub.pem -=== RUN TestParseSSH/testdata/openssh.ed25519.pub.pem -=== RUN TestParseSSH/testdata/openssh.rsa2048.pub.pem -=== RUN TestParseSSH/testdata/openssh.p384.pub.pem === RUN TestParseSSH/testdata/openssh.p256.pub.pem === RUN TestParseSSH/testdata/openssh.p521.pub.pem +=== RUN TestParseSSH/testdata/openssh.rsa2048.pub.pem +=== RUN TestParseSSH/testdata/openssh.ed25519.pub.pem +=== RUN TestParseSSH/testdata/openssh.rsa1024.pub.pem +=== RUN TestParseSSH/testdata/openssh.p384.pub.pem --- PASS: TestParseSSH (0.00s) - --- PASS: TestParseSSH/testdata/openssh.rsa1024.pub.pem (0.00s) - --- PASS: TestParseSSH/testdata/openssh.ed25519.pub.pem (0.00s) - --- PASS: TestParseSSH/testdata/openssh.rsa2048.pub.pem (0.00s) - --- PASS: TestParseSSH/testdata/openssh.p384.pub.pem (0.00s) --- PASS: TestParseSSH/testdata/openssh.p256.pub.pem (0.00s) --- PASS: TestParseSSH/testdata/openssh.p521.pub.pem (0.00s) + --- PASS: TestParseSSH/testdata/openssh.rsa2048.pub.pem (0.00s) + --- PASS: TestParseSSH/testdata/openssh.ed25519.pub.pem (0.00s) + --- PASS: TestParseSSH/testdata/openssh.rsa1024.pub.pem (0.00s) + --- PASS: TestParseSSH/testdata/openssh.p384.pub.pem (0.00s) === RUN TestOpenSSH === PAUSE TestOpenSSH === RUN TestRead_options @@ -2572,7 +2608,7 @@ === RUN TestRead_options/withPasswordError === RUN TestRead_options/withPasswordFileError === RUN TestRead_options/withPasswordPromptError ---- PASS: TestRead_options (0.01s) +--- PASS: TestRead_options (0.00s) --- PASS: TestRead_options/withPassword (0.00s) --- PASS: TestRead_options/withPasswordFile (0.00s) --- PASS: TestRead_options/withPasswordPrompt (0.00s) @@ -2671,238 +2707,238 @@ --- PASS: TestSerialize_PKCS8/fail (0.00s) === RUN TestDecryptPKCS8PrivateKey === RUN TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p256.enc.pem -=== RUN TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.rsa2048.enc.pem -=== RUN TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p384.enc.pem === RUN TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p521.enc.pem +=== RUN TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p384.enc.pem === RUN TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.ed25519.enc.pem ---- PASS: TestDecryptPKCS8PrivateKey (0.11s) +=== RUN TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.rsa2048.enc.pem +--- PASS: TestDecryptPKCS8PrivateKey (0.12s) --- PASS: TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p256.enc.pem (0.02s) - --- PASS: TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.rsa2048.enc.pem (0.02s) - --- PASS: TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p384.enc.pem (0.02s) --- PASS: TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p521.enc.pem (0.04s) + --- PASS: TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.p384.enc.pem (0.02s) --- PASS: TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.ed25519.enc.pem (0.02s) + --- PASS: TestDecryptPKCS8PrivateKey/testdata/pkcs8/openssl.rsa2048.enc.pem (0.03s) === RUN TestDecryptPKCS8PrivateKey_ciphers === RUN TestDecryptPKCS8PrivateKey_ciphers/DES-CBC === RUN TestDecryptPKCS8PrivateKey_ciphers/DES-EDE3-CBC === RUN TestDecryptPKCS8PrivateKey_ciphers/AES-128-CBC === RUN TestDecryptPKCS8PrivateKey_ciphers/AES-192-CBC === RUN TestDecryptPKCS8PrivateKey_ciphers/AES-256-CBC ---- PASS: TestDecryptPKCS8PrivateKey_ciphers (45.56s) - --- PASS: TestDecryptPKCS8PrivateKey_ciphers/DES-CBC (9.16s) - --- PASS: TestDecryptPKCS8PrivateKey_ciphers/DES-EDE3-CBC (9.52s) - --- PASS: TestDecryptPKCS8PrivateKey_ciphers/AES-128-CBC (9.48s) - --- PASS: TestDecryptPKCS8PrivateKey_ciphers/AES-192-CBC (8.54s) - --- PASS: TestDecryptPKCS8PrivateKey_ciphers/AES-256-CBC (8.87s) +--- PASS: TestDecryptPKCS8PrivateKey_ciphers (32.64s) + --- PASS: TestDecryptPKCS8PrivateKey_ciphers/DES-CBC (6.48s) + --- PASS: TestDecryptPKCS8PrivateKey_ciphers/DES-EDE3-CBC (6.38s) + --- PASS: TestDecryptPKCS8PrivateKey_ciphers/AES-128-CBC (7.00s) + --- PASS: TestDecryptPKCS8PrivateKey_ciphers/AES-192-CBC (6.39s) + --- PASS: TestDecryptPKCS8PrivateKey_ciphers/AES-256-CBC (6.38s) === CONT TestOpenSSH -=== RUN TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.p384.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p384.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.p521.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p521.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem -=== RUN TestOpenSSH/testdata/openssl.p521.pem -=== PAUSE TestOpenSSH/testdata/openssl.p521.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem -=== RUN TestOpenSSH/testdata/openssh.p256.enc.pem -=== PAUSE TestOpenSSH/testdata/openssh.p256.enc.pem -=== RUN TestOpenSSH/testdata/openssh.p521.enc.pem -=== PAUSE TestOpenSSH/testdata/openssh.p521.enc.pem -=== RUN TestOpenSSH/testdata/openssh.rsa1024.enc.pem -=== PAUSE TestOpenSSH/testdata/openssh.rsa1024.enc.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.p256.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p256.pem -=== RUN TestOpenSSH/testdata/openssh.ed25519.pem -=== PAUSE TestOpenSSH/testdata/openssh.ed25519.pem -=== RUN TestOpenSSH/testdata/cosign.enc.pem -=== PAUSE TestOpenSSH/testdata/cosign.enc.pem -=== RUN TestOpenSSH/testdata/openssl.rsa2048.pem -=== PAUSE TestOpenSSH/testdata/openssl.rsa2048.pem -=== RUN TestOpenSSH/testdata/openssl.rsa2048.enc.pem -=== PAUSE TestOpenSSH/testdata/openssl.rsa2048.enc.pem -=== RUN TestOpenSSH/testdata/openssh.p256.pem -=== PAUSE TestOpenSSH/testdata/openssh.p256.pem -=== RUN TestOpenSSH/testdata/openssh.p521.pem -=== PAUSE TestOpenSSH/testdata/openssh.p521.pem -=== RUN TestOpenSSH/testdata/openssh.rsa1024.pem -=== PAUSE TestOpenSSH/testdata/openssh.rsa1024.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem +=== CONT TestEncryptDecryptPKCS8 === RUN TestOpenSSH/testdata/openssl.p256.enc.pem +=== RUN TestEncryptDecryptPKCS8/testdata/openssl.p384.pem === PAUSE TestOpenSSH/testdata/openssl.p256.enc.pem -=== RUN TestOpenSSH/testdata/openssl.rsa1024.enc.pem -=== CONT TestEncryptDecryptPKCS8 +=== PAUSE TestEncryptDecryptPKCS8/testdata/openssl.p384.pem +=== RUN TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem +=== RUN TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem +=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem +=== RUN TestEncryptDecryptPKCS8/testdata/openssl.p256.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/openssl.p256.pem === RUN TestEncryptDecryptPKCS8/testdata/openssl.rsa2048.pem === PAUSE TestEncryptDecryptPKCS8/testdata/openssl.rsa2048.pem +=== RUN TestEncryptDecryptPKCS8/testdata/openssh.ed25519.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/openssh.ed25519.pem +=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.ed25519.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.ed25519.pem +=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem === RUN TestEncryptDecryptPKCS8/testdata/openssh.p256.pem === PAUSE TestEncryptDecryptPKCS8/testdata/openssh.p256.pem -=== RUN TestEncryptDecryptPKCS8/testdata/openssh.p521.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/openssh.p521.pem === RUN TestEncryptDecryptPKCS8/testdata/openssh.rsa1024.pem === PAUSE TestEncryptDecryptPKCS8/testdata/openssh.rsa1024.pem -=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.ed25519.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.ed25519.pem === RUN TestEncryptDecryptPKCS8/testdata/openssh.p384.pem === PAUSE TestEncryptDecryptPKCS8/testdata/openssh.p384.pem === RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa2048.pem === PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa2048.pem -=== RUN TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem === RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa4096.pem === PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa4096.pem -=== RUN TestEncryptDecryptPKCS8/testdata/openssl.p384.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/openssl.p384.pem -=== RUN TestEncryptDecryptPKCS8/testdata/openssl.p256.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/openssl.p256.pem -=== RUN TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem -=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p384.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p384.pem -=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem === RUN TestEncryptDecryptPKCS8/testdata/openssl.p521.pem === PAUSE TestEncryptDecryptPKCS8/testdata/openssl.p521.pem -=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem -=== RUN TestEncryptDecryptPKCS8/testdata/openssh.ed25519.pem -=== PAUSE TestEncryptDecryptPKCS8/testdata/openssh.ed25519.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssl.rsa2048.pem +=== RUN TestEncryptDecryptPKCS8/testdata/openssh.p521.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/openssh.p521.pem +=== RUN TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p384.pem +=== PAUSE TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p384.pem === CONT TestEncryptDecryptPKCS8/testdata/openssl.p384.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssh.p384.pem +=== CONT TestEncryptDecryptPKCS8/testdata/openssh.p256.pem +=== CONT TestEncryptDecryptPKCS8/testdata/openssl.rsa2048.pem +=== RUN TestOpenSSH/testdata/openssl.rsa2048.pem +=== PAUSE TestOpenSSH/testdata/openssl.rsa2048.pem +=== RUN TestOpenSSH/testdata/openssh.ed25519.pem +=== PAUSE TestOpenSSH/testdata/openssh.ed25519.pem +=== RUN TestOpenSSH/testdata/openssh.p256.enc.pem +=== PAUSE TestOpenSSH/testdata/openssh.p256.enc.pem +=== RUN TestOpenSSH/testdata/openssh.rsa2048.enc.pem +=== PAUSE TestOpenSSH/testdata/openssh.rsa2048.enc.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem +=== RUN TestOpenSSH/testdata/openssl.rsa1024.enc.pem === PAUSE TestOpenSSH/testdata/openssl.rsa1024.enc.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.p521.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p521.pem +=== RUN TestOpenSSH/testdata/openssh.p256.pem +=== PAUSE TestOpenSSH/testdata/openssh.p256.pem === RUN TestOpenSSH/testdata/openssh.p384.enc.pem === PAUSE TestOpenSSH/testdata/openssh.p384.enc.pem +=== RUN TestOpenSSH/testdata/openssh.rsa1024.pem +=== PAUSE TestOpenSSH/testdata/openssh.rsa1024.pem === RUN TestOpenSSH/testdata/openssh.p384.pem === PAUSE TestOpenSSH/testdata/openssh.p384.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem === RUN TestOpenSSH/testdata/pkcs8/openssl.rsa2048.pem === PAUSE TestOpenSSH/testdata/pkcs8/openssl.rsa2048.pem -=== RUN TestOpenSSH/testdata/openssl.rsa1024.pem -=== PAUSE TestOpenSSH/testdata/openssl.rsa1024.pem -=== RUN TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem -=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem === RUN TestOpenSSH/testdata/pkcs8/openssl.rsa4096.pem === PAUSE TestOpenSSH/testdata/pkcs8/openssl.rsa4096.pem +=== RUN TestOpenSSH/testdata/cosign.enc.pem +=== PAUSE TestOpenSSH/testdata/cosign.enc.pem +=== RUN TestOpenSSH/testdata/openssl.p521.pem +=== PAUSE TestOpenSSH/testdata/openssl.p521.pem +=== RUN TestOpenSSH/testdata/openssl.rsa2048.enc.pem +=== PAUSE TestOpenSSH/testdata/openssl.rsa2048.enc.pem +=== RUN TestOpenSSH/testdata/openssh.p521.pem +=== PAUSE TestOpenSSH/testdata/openssh.p521.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.p384.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p384.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem === RUN TestOpenSSH/testdata/openssl.p384.pem === PAUSE TestOpenSSH/testdata/openssl.p384.pem +=== RUN TestOpenSSH/testdata/openssl.rsa1024.pem +=== PAUSE TestOpenSSH/testdata/openssl.rsa1024.pem +=== RUN TestOpenSSH/testdata/openssh.p521.enc.pem +=== PAUSE TestOpenSSH/testdata/openssh.p521.enc.pem === RUN TestOpenSSH/testdata/openssl.p384.enc.pem === PAUSE TestOpenSSH/testdata/openssl.p384.enc.pem +=== RUN TestOpenSSH/testdata/openssh.rsa2048.pem +=== PAUSE TestOpenSSH/testdata/openssh.rsa2048.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.p256.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p256.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem +=== RUN TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem +=== PAUSE TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem +=== RUN TestOpenSSH/testdata/openssl.p256.pem +=== PAUSE TestOpenSSH/testdata/openssl.p256.pem === RUN TestOpenSSH/testdata/openssl.p521.enc.pem === PAUSE TestOpenSSH/testdata/openssl.p521.enc.pem === RUN TestOpenSSH/testdata/openssh.ed25519.enc.pem === PAUSE TestOpenSSH/testdata/openssh.ed25519.enc.pem -=== RUN TestOpenSSH/testdata/openssh.rsa2048.enc.pem -=== PAUSE TestOpenSSH/testdata/openssh.rsa2048.enc.pem -=== RUN TestOpenSSH/testdata/openssl.p256.pem -=== PAUSE TestOpenSSH/testdata/openssl.p256.pem -=== RUN TestOpenSSH/testdata/openssh.rsa2048.pem -=== PAUSE TestOpenSSH/testdata/openssh.rsa2048.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem +=== RUN TestOpenSSH/testdata/openssh.rsa1024.enc.pem +=== PAUSE TestOpenSSH/testdata/openssh.rsa1024.enc.pem +=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem +=== CONT TestEncryptDecryptPKCS8/testdata/openssl.p256.pem === CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.ed25519.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssh.rsa1024.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssh.p521.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssh.p256.pem -=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa4096.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem -=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa2048.pem +=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem === CONT TestEncryptDecryptPKCS8/testdata/openssh.ed25519.pem -=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem === CONT TestEncryptDecryptPKCS8/testdata/openssl.p521.pem -=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem +=== CONT TestOpenSSH/testdata/openssl.p256.enc.pem === CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p384.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem -=== CONT TestOpenSSH/testdata/openssh.rsa2048.pem -=== CONT TestOpenSSH/testdata/openssl.p256.pem -=== CONT TestOpenSSH/testdata/openssh.rsa2048.enc.pem +=== CONT TestEncryptDecryptPKCS8/testdata/openssh.p521.pem +=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa4096.pem +=== CONT TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa2048.pem +=== CONT TestEncryptDecryptPKCS8/testdata/openssh.p384.pem +=== CONT TestOpenSSH/testdata/openssh.rsa1024.enc.pem +=== CONT TestEncryptDecryptPKCS8/testdata/openssh.rsa1024.pem === CONT TestOpenSSH/testdata/openssh.ed25519.enc.pem === CONT TestOpenSSH/testdata/openssl.p521.enc.pem +=== CONT TestOpenSSH/testdata/openssl.p256.pem +=== CONT TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem +=== CONT TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem +=== CONT TestOpenSSH/testdata/pkcs8/openssl.p256.pem +=== CONT TestOpenSSH/testdata/openssh.rsa2048.pem === CONT TestOpenSSH/testdata/openssl.p384.enc.pem +=== CONT TestOpenSSH/testdata/openssh.p521.enc.pem +=== CONT TestOpenSSH/testdata/openssl.rsa1024.pem === CONT TestOpenSSH/testdata/openssl.p384.pem +=== CONT TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem +=== CONT TestOpenSSH/testdata/pkcs8/openssl.p384.pem +=== CONT TestOpenSSH/testdata/openssh.p521.pem +=== CONT TestOpenSSH/testdata/openssl.rsa2048.enc.pem +=== CONT TestOpenSSH/testdata/openssl.p521.pem +=== CONT TestOpenSSH/testdata/cosign.enc.pem === CONT TestOpenSSH/testdata/pkcs8/openssl.rsa4096.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem -=== CONT TestOpenSSH/testdata/openssl.rsa1024.pem === CONT TestOpenSSH/testdata/pkcs8/openssl.rsa2048.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem === CONT TestOpenSSH/testdata/openssh.p384.pem -=== CONT TestOpenSSH/testdata/openssh.p384.enc.pem -=== CONT TestOpenSSH/testdata/openssl.rsa1024.enc.pem -=== CONT TestOpenSSH/testdata/openssl.p256.enc.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem === CONT TestOpenSSH/testdata/openssh.rsa1024.pem -=== CONT TestOpenSSH/testdata/openssh.p521.pem +=== CONT TestOpenSSH/testdata/openssh.p384.enc.pem === CONT TestOpenSSH/testdata/openssh.p256.pem -=== CONT TestOpenSSH/testdata/openssl.rsa2048.enc.pem -=== CONT TestEncryptDecryptPKCS8/testdata/openssl.p256.pem -=== CONT TestOpenSSH/testdata/openssl.rsa2048.pem -=== CONT TestOpenSSH/testdata/cosign.enc.pem -=== CONT TestOpenSSH/testdata/openssh.ed25519.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.p256.pem -=== CONT TestOpenSSH/testdata/openssh.rsa1024.enc.pem -=== CONT TestOpenSSH/testdata/openssh.p521.enc.pem -=== CONT TestOpenSSH/testdata/openssh.p256.enc.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem -=== CONT TestOpenSSH/testdata/openssl.p521.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem === CONT TestOpenSSH/testdata/pkcs8/openssl.p521.pem -=== CONT TestOpenSSH/testdata/pkcs8/openssl.p384.pem ---- PASS: TestOpenSSH (0.01s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem (2.66s) - --- PASS: TestOpenSSH/testdata/openssh.rsa2048.pem (0.20s) - --- PASS: TestOpenSSH/testdata/openssl.p256.pem (0.01s) - --- PASS: TestOpenSSH/testdata/openssh.ed25519.enc.pem (2.78s) - --- PASS: TestOpenSSH/testdata/openssl.p384.pem (0.02s) - --- PASS: TestOpenSSH/testdata/openssh.rsa2048.enc.pem (3.15s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.rsa4096.pem (0.81s) - --- PASS: TestOpenSSH/testdata/openssl.rsa1024.pem (0.03s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.rsa2048.pem (0.13s) - --- PASS: TestOpenSSH/testdata/openssl.p521.enc.pem (2.57s) - --- PASS: TestOpenSSH/testdata/openssh.p384.pem (0.03s) - --- PASS: TestOpenSSH/testdata/openssl.p384.enc.pem (2.36s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem (2.36s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem (2.58s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem (0.00s) - --- PASS: TestOpenSSH/testdata/openssh.rsa1024.pem (0.05s) - --- PASS: TestOpenSSH/testdata/openssh.p384.enc.pem (2.57s) +=== CONT TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem +=== CONT TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem +=== CONT TestOpenSSH/testdata/openssl.rsa1024.enc.pem +=== CONT TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem +=== CONT TestOpenSSH/testdata/openssh.rsa2048.enc.pem +=== CONT TestOpenSSH/testdata/openssh.p256.enc.pem +=== CONT TestOpenSSH/testdata/openssh.ed25519.pem +=== CONT TestOpenSSH/testdata/openssl.rsa2048.pem +--- PASS: TestOpenSSH (0.00s) + --- PASS: TestOpenSSH/testdata/openssl.p256.enc.pem (1.19s) + --- PASS: TestOpenSSH/testdata/openssh.rsa1024.enc.pem (2.32s) + --- PASS: TestOpenSSH/testdata/openssh.ed25519.enc.pem (2.29s) + --- PASS: TestOpenSSH/testdata/openssl.p521.enc.pem (2.28s) + --- PASS: TestOpenSSH/testdata/openssl.p256.pem (0.00s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p521.enc.pem (2.17s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p256.enc.pem (1.72s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p256.pem (0.00s) + --- PASS: TestOpenSSH/testdata/openssh.rsa2048.pem (0.15s) + --- PASS: TestOpenSSH/testdata/openssl.p384.enc.pem (1.32s) + --- PASS: TestOpenSSH/testdata/openssh.p521.enc.pem (1.38s) + --- PASS: TestOpenSSH/testdata/openssl.rsa1024.pem (0.01s) + --- PASS: TestOpenSSH/testdata/openssl.p384.pem (0.01s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem (1.11s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p384.pem (0.01s) + --- PASS: TestOpenSSH/testdata/openssh.p521.pem (0.08s) + --- PASS: TestOpenSSH/testdata/openssl.rsa2048.enc.pem (1.10s) + --- PASS: TestOpenSSH/testdata/openssl.p521.pem (0.08s) + --- PASS: TestOpenSSH/testdata/cosign.enc.pem (1.40s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.rsa4096.pem (0.39s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.rsa2048.pem (0.06s) + --- PASS: TestOpenSSH/testdata/openssh.p384.pem (0.01s) + --- PASS: TestOpenSSH/testdata/openssh.rsa1024.pem (0.02s) + --- PASS: TestOpenSSH/testdata/openssh.p384.enc.pem (1.36s) --- PASS: TestOpenSSH/testdata/openssh.p256.pem (0.00s) - --- PASS: TestOpenSSH/testdata/openssh.p521.pem (0.17s) - --- PASS: TestOpenSSH/testdata/openssl.rsa1024.enc.pem (2.34s) - --- PASS: TestOpenSSH/testdata/openssl.rsa2048.pem (0.12s) - --- PASS: TestOpenSSH/testdata/openssl.p256.enc.pem (2.25s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p521.pem (0.08s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.ed25519.enc.pem (1.08s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.ed25519.pem (0.00s) + --- PASS: TestOpenSSH/testdata/openssl.rsa1024.enc.pem (1.11s) + --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem (1.12s) + --- PASS: TestOpenSSH/testdata/openssh.rsa2048.enc.pem (1.47s) + --- PASS: TestOpenSSH/testdata/openssh.p256.enc.pem (1.39s) --- PASS: TestOpenSSH/testdata/openssh.ed25519.pem (0.00s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p256.pem (0.01s) - --- PASS: TestOpenSSH/testdata/openssl.rsa2048.enc.pem (2.65s) - --- PASS: TestOpenSSH/testdata/openssh.rsa1024.enc.pem (2.84s) - --- PASS: TestOpenSSH/testdata/cosign.enc.pem (3.07s) - --- PASS: TestOpenSSH/testdata/openssh.p521.enc.pem (2.99s) - --- PASS: TestOpenSSH/testdata/openssl.p521.pem (0.21s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p384.enc.pem (2.33s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p521.pem (0.18s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.p384.pem (0.03s) - --- PASS: TestOpenSSH/testdata/openssh.p256.enc.pem (2.69s) - --- PASS: TestOpenSSH/testdata/pkcs8/openssl.rsa2048.enc.pem (2.16s) + --- PASS: TestOpenSSH/testdata/openssl.rsa2048.pem (0.07s) +=== CONT TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem +=== CONT TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem --- PASS: TestEncryptDecryptPKCS8 (0.00s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.p384.pem (49.92s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.p384.pem (50.86s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.rsa2048.pem (52.02s) - --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.ed25519.pem (49.98s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.rsa1024.pem (51.82s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.p521.pem (51.72s) - --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa4096.pem (49.94s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.p256.pem (51.16s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem (60.11s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.ed25519.pem (61.23s) - --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem (60.81s) - --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa2048.pem (61.65s) - --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p384.pem (44.39s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.p521.pem (46.74s) - --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem (46.45s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem (47.44s) - --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.p256.pem (28.39s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.p384.pem (25.39s) + --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p256.pem (26.23s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.p256.pem (26.79s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.rsa2048.pem (27.20s) + --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.ed25519.pem (26.29s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.p256.pem (27.27s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.ed25519.pem (26.26s) + --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p521.pem (27.26s) + --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.p384.pem (40.11s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.p521.pem (41.36s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.p521.pem (42.73s) + --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa4096.pem (41.88s) + --- PASS: TestEncryptDecryptPKCS8/testdata/pkcs8/openssl.rsa2048.pem (27.39s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.p384.pem (26.48s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.rsa1024.pem (26.80s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssl.rsa1024.pem (21.43s) + --- PASS: TestEncryptDecryptPKCS8/testdata/openssh.rsa2048.pem (21.54s) PASS -ok go.step.sm/crypto/pemutil 315.954s +ok go.step.sm/crypto/pemutil 196.773s === RUN TestErrors --- PASS: TestErrors (0.00s) === RUN TestSalt @@ -2928,7 +2964,7 @@ --- PASS: TestUUIDv4/ok#01 (0.00s) --- PASS: TestUUIDv4/fail (0.00s) PASS -ok go.step.sm/crypto/randutil 0.031s +ok go.step.sm/crypto/randutil 0.015s === RUN TestNewCertificate === RUN TestNewCertificate/user === RUN TestNewCertificate/host @@ -2942,12 +2978,12 @@ === RUN TestNewCertificate/badFileTemplate === RUN TestNewCertificate/badJsonTemplate === RUN TestNewCertificate/failTemplate ---- PASS: TestNewCertificate (0.07s) +--- PASS: TestNewCertificate (0.03s) --- PASS: TestNewCertificate/user (0.00s) --- PASS: TestNewCertificate/host (0.00s) --- PASS: TestNewCertificate/host_escape (0.00s) --- PASS: TestNewCertificate/file (0.00s) - --- PASS: TestNewCertificate/file_with_dates (0.01s) + --- PASS: TestNewCertificate/file_with_dates (0.00s) --- PASS: TestNewCertificate/base64 (0.00s) --- PASS: TestNewCertificate/failNilOptions (0.00s) --- PASS: TestNewCertificate/failEmptyOptions (0.00s) @@ -2968,11 +3004,11 @@ === RUN TestCreateCertificate/emptySerial === RUN TestCreateCertificate/fail_signer.Sign === RUN TestCreateCertificate/fail_signer.SignWithAlgorithm ---- PASS: TestCreateCertificate (1.57s) - --- PASS: TestCreateCertificate/ok (0.02s) - --- PASS: TestCreateCertificate/ok_rsa (0.11s) +--- PASS: TestCreateCertificate (5.79s) + --- PASS: TestCreateCertificate/ok (0.01s) + --- PASS: TestCreateCertificate/ok_rsa (0.06s) --- PASS: TestCreateCertificate/emptyNonce (0.00s) - --- PASS: TestCreateCertificate/emptySerial (0.01s) + --- PASS: TestCreateCertificate/emptySerial (0.00s) --- PASS: TestCreateCertificate/fail_signer.Sign (0.00s) --- PASS: TestCreateCertificate/fail_signer.SignWithAlgorithm (0.00s) === RUN TestFingerprint @@ -2982,7 +3018,7 @@ === RUN TestFingerprint/ok_SK-ECDSA === RUN TestFingerprint/ok_SK-ED25519 === RUN TestFingerprint/ok_CERT ---- PASS: TestFingerprint (4.47s) +--- PASS: TestFingerprint (0.76s) --- PASS: TestFingerprint/ok_ECDSA (0.00s) --- PASS: TestFingerprint/ok_ED25519 (0.00s) --- PASS: TestFingerprint/ok_RSA (0.00s) @@ -3026,7 +3062,7 @@ === RUN TestFormatFingerprint/EmojiFingerprint === RUN TestFormatFingerprint/fail_input === RUN TestFormatFingerprint/fail_encoding ---- PASS: TestFormatFingerprint (3.45s) +--- PASS: TestFormatFingerprint (3.94s) --- PASS: TestFormatFingerprint/P256 (0.00s) --- PASS: TestFormatFingerprint/P384 (0.00s) --- PASS: TestFormatFingerprint/P521 (0.00s) @@ -3102,7 +3138,7 @@ === RUN TestCryptoPublicKey/fail_agent === RUN TestCryptoPublicKey/fail_type === RUN TestCryptoPublicKey/fail_sk ---- PASS: TestCryptoPublicKey (5.37s) +--- PASS: TestCryptoPublicKey (6.62s) --- PASS: TestCryptoPublicKey/ok_ec (0.00s) --- PASS: TestCryptoPublicKey/ok_Ed25519 (0.00s) --- PASS: TestCryptoPublicKey/ok_rsa (0.00s) @@ -3230,7 +3266,7 @@ === RUN TestTemplateData_SetCertificateRequest === RUN TestTemplateData_SetCertificateRequest/ok === RUN TestTemplateData_SetCertificateRequest/overwrite ---- PASS: TestTemplateData_SetCertificateRequest (0.01s) +--- PASS: TestTemplateData_SetCertificateRequest (0.00s) --- PASS: TestTemplateData_SetCertificateRequest/ok (0.00s) --- PASS: TestTemplateData_SetCertificateRequest/overwrite (0.00s) === RUN TestTemplateData_SetWebhook @@ -3304,7 +3340,7 @@ --- PASS: TestCertType_UnmarshalJSON/object (0.00s) --- PASS: TestCertType_UnmarshalJSON/badJSON (0.00s) PASS -ok go.step.sm/crypto/sshutil 15.017s +ok go.step.sm/crypto/sshutil 17.177s === RUN Test_newCredentialsCache === RUN Test_newCredentialsCache/ok --- PASS: Test_newCredentialsCache (0.00s) @@ -3342,7 +3378,7 @@ --- PASS: TestNewRenewer/WithRenewJitter (0.00s) --- PASS: TestNewRenewer/fail (0.00s) === RUN TestRenewer_Run - renewer_test.go:228: Renewer.Run() run 1 times + renewer_test.go:228: Renewer.Run() run 2 times --- PASS: TestRenewer_Run (2.00s) === RUN TestRenewer_RunContext renewer_test.go:254: Renewer.RunContext() run 1 times @@ -3357,36 +3393,36 @@ === RUN TestRenewer_GetCertificate/ok === RUN TestRenewer_GetCertificate/fail_empty === RUN TestRenewer_GetCertificate/fail_httptest -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:39170: remote error: tls: bad certificate -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:39186: read tcp 127.0.0.1:45045->127.0.0.1:39186: use of closed network connection ---- PASS: TestRenewer_GetCertificate (0.09s) - --- PASS: TestRenewer_GetCertificate/ok (0.05s) - --- PASS: TestRenewer_GetCertificate/fail_empty (0.02s) - --- PASS: TestRenewer_GetCertificate/fail_httptest (0.02s) +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:41270: remote error: tls: bad certificate +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:41284: read tcp 127.0.0.1:34665->127.0.0.1:41284: use of closed network connection +--- PASS: TestRenewer_GetCertificate (0.06s) + --- PASS: TestRenewer_GetCertificate/ok (0.03s) + --- PASS: TestRenewer_GetCertificate/fail_empty (0.01s) + --- PASS: TestRenewer_GetCertificate/fail_httptest (0.01s) === RUN TestRenewer_GetClientCertificate === RUN TestRenewer_GetClientCertificate/ok === RUN TestRenewer_GetClientCertificate/fail_no_cert -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:59916: tls: client didn't provide a certificate +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:34838: tls: client didn't provide a certificate === RUN TestRenewer_GetClientCertificate/fail_empty === RUN TestRenewer_GetClientCertificate/fail_httptest -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:59922: remote error: tls: bad certificate -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:59928: read tcp 127.0.0.1:41715->127.0.0.1:59928: use of closed network connection ---- PASS: TestRenewer_GetClientCertificate (0.15s) - --- PASS: TestRenewer_GetClientCertificate/ok (0.07s) - --- PASS: TestRenewer_GetClientCertificate/fail_no_cert (0.04s) +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:34842: remote error: tls: bad certificate +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:34858: read tcp 127.0.0.1:41735->127.0.0.1:34858: use of closed network connection +--- PASS: TestRenewer_GetClientCertificate (0.07s) + --- PASS: TestRenewer_GetClientCertificate/ok (0.03s) + --- PASS: TestRenewer_GetClientCertificate/fail_no_cert (0.02s) --- PASS: TestRenewer_GetClientCertificate/fail_empty (0.01s) - --- PASS: TestRenewer_GetClientCertificate/fail_httptest (0.02s) + --- PASS: TestRenewer_GetClientCertificate/fail_httptest (0.01s) === RUN TestRenewer_RenewFunc_error === RUN TestRenewer_RenewFunc_error/fail_GetCertificate -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:50324: read tcp 127.0.0.1:39041->127.0.0.1:50324: use of closed network connection +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:46854: read tcp 127.0.0.1:43969->127.0.0.1:46854: use of closed network connection === RUN TestRenewer_RenewFunc_error/fail_GetConfigForClient -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:52830: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-03-16T12:49:49-12:00 is after 2025-03-17T00:49:49Z +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:34550: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-03-17T14:57:45+14:00 is after 2025-03-17T00:57:45Z === RUN TestRenewer_RenewFunc_error/fail_GetClientCertificate -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:59820: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-03-16T12:49:49-12:00 is after 2025-03-17T00:49:49Z ---- PASS: TestRenewer_RenewFunc_error (0.13s) - --- PASS: TestRenewer_RenewFunc_error/fail_GetCertificate (0.02s) - --- PASS: TestRenewer_RenewFunc_error/fail_GetConfigForClient (0.04s) - --- PASS: TestRenewer_RenewFunc_error/fail_GetClientCertificate (0.03s) +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:42878: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-03-17T14:57:45+14:00 is after 2025-03-17T00:57:45Z +--- PASS: TestRenewer_RenewFunc_error (0.07s) + --- PASS: TestRenewer_RenewFunc_error/fail_GetCertificate (0.01s) + --- PASS: TestRenewer_RenewFunc_error/fail_GetConfigForClient (0.02s) + --- PASS: TestRenewer_RenewFunc_error/fail_GetClientCertificate (0.02s) === RUN TestNewServerCredentials === RUN TestNewServerCredentials/ok --- PASS: TestNewServerCredentials (0.00s) @@ -3394,48 +3430,48 @@ === RUN TestNewServerCredentialsFromFile === RUN TestNewServerCredentialsFromFile/ok === RUN TestNewServerCredentialsFromFile/fail ---- PASS: TestNewServerCredentialsFromFile (0.01s) +--- PASS: TestNewServerCredentialsFromFile (0.00s) --- PASS: TestNewServerCredentialsFromFile/ok (0.00s) --- PASS: TestNewServerCredentialsFromFile/fail (0.00s) === RUN TestServerCredentials_GetCertificate === RUN TestServerCredentials_GetCertificate/ok === RUN TestServerCredentials_GetCertificate/fail_empty === RUN TestServerCredentials_GetCertificate/fail_httptest -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:43256: remote error: tls: bad certificate +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:60840: remote error: tls: bad certificate === RUN TestServerCredentials_GetCertificate/fail_ip -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:43268: remote error: tls: bad certificate -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:43282: server name indication cannot be empty +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:60854: remote error: tls: bad certificate +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:60864: server name indication cannot be empty === RUN TestServerCredentials_GetCertificate/fail_httptest_ip -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:43286: server name indication cannot be empty ---- PASS: TestServerCredentials_GetCertificate (0.13s) - --- PASS: TestServerCredentials_GetCertificate/ok (0.05s) - --- PASS: TestServerCredentials_GetCertificate/fail_empty (0.03s) - --- PASS: TestServerCredentials_GetCertificate/fail_httptest (0.02s) - --- PASS: TestServerCredentials_GetCertificate/fail_ip (0.02s) - --- PASS: TestServerCredentials_GetCertificate/fail_httptest_ip (0.01s) +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:60866: server name indication cannot be empty +--- PASS: TestServerCredentials_GetCertificate (0.05s) + --- PASS: TestServerCredentials_GetCertificate/ok (0.02s) + --- PASS: TestServerCredentials_GetCertificate/fail_empty (0.01s) + --- PASS: TestServerCredentials_GetCertificate/fail_httptest (0.01s) + --- PASS: TestServerCredentials_GetCertificate/fail_ip (0.01s) + --- PASS: TestServerCredentials_GetCertificate/fail_httptest_ip (0.00s) === RUN TestServerCredentials_GetConfigForClient === RUN TestServerCredentials_GetConfigForClient/ok === RUN TestServerCredentials_GetConfigForClient/fail_empty +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:53290: remote error: tls: bad certificate === RUN TestServerCredentials_GetConfigForClient/fail_httptest -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:41678: remote error: tls: bad certificate === RUN TestServerCredentials_GetConfigForClient/fail_ip -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:41696: server name indication cannot be empty -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:41680: remote error: tls: bad certificate +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:53312: server name indication cannot be empty +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:53304: remote error: tls: bad certificate === RUN TestServerCredentials_GetConfigForClient/fail_httptest_ip -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:41702: server name indication cannot be empty ---- PASS: TestServerCredentials_GetConfigForClient (0.09s) - --- PASS: TestServerCredentials_GetConfigForClient/ok (0.06s) +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:53328: server name indication cannot be empty +--- PASS: TestServerCredentials_GetConfigForClient (0.05s) + --- PASS: TestServerCredentials_GetConfigForClient/ok (0.02s) --- PASS: TestServerCredentials_GetConfigForClient/fail_empty (0.01s) - --- PASS: TestServerCredentials_GetConfigForClient/fail_httptest (0.02s) + --- PASS: TestServerCredentials_GetConfigForClient/fail_httptest (0.01s) --- PASS: TestServerCredentials_GetConfigForClient/fail_ip (0.00s) --- PASS: TestServerCredentials_GetConfigForClient/fail_httptest_ip (0.00s) === RUN TestServerCredentials_RenewFunc_error === RUN TestServerCredentials_RenewFunc_error/fail_GetCertificate -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:46232: test error +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:42092: test error === RUN TestServerCredentials_RenewFunc_error/fail_GetConfigForClient -2025/03/16 12:49:49 http: TLS handshake error from 127.0.0.1:33702: test error +2025/03/17 14:57:45 http: TLS handshake error from 127.0.0.1:50528: test error --- PASS: TestServerCredentials_RenewFunc_error (0.02s) - --- PASS: TestServerCredentials_RenewFunc_error/fail_GetCertificate (0.02s) + --- PASS: TestServerCredentials_RenewFunc_error/fail_GetCertificate (0.01s) --- PASS: TestServerCredentials_RenewFunc_error/fail_GetConfigForClient (0.01s) === RUN TestServerCredentials_TLSConfig === RUN TestServerCredentials_TLSConfig/ok @@ -3470,17 +3506,17 @@ --- PASS: TestSanitizeHost/fail_empty (0.00s) --- PASS: TestSanitizeHost/fail_empty_with_port (0.00s) PASS -ok go.step.sm/crypto/tlsutil 4.785s +ok go.step.sm/crypto/tlsutil 4.392s === RUN TestVectors === RUN TestVectors/ok === RUN TestVectors/ok#01 === RUN TestVectors/ok#02 ---- PASS: TestVectors (0.12s) - --- PASS: TestVectors/ok (0.09s) +--- PASS: TestVectors (0.06s) + --- PASS: TestVectors/ok (0.05s) --- PASS: TestVectors/ok#01 (0.01s) --- PASS: TestVectors/ok#02 (0.01s) === RUN TestSignVerify ---- PASS: TestSignVerify (16.09s) +--- PASS: TestSignVerify (7.12s) === RUN TestGenerateKey === RUN TestGenerateKey/ok === RUN TestGenerateKey/fail @@ -3504,9 +3540,9 @@ === RUN TestPrivateKey_SharedKey/ok_other === RUN TestPrivateKey_SharedKey/zero === RUN TestPrivateKey_SharedKey/fail ---- PASS: TestPrivateKey_SharedKey (0.02s) - --- PASS: TestPrivateKey_SharedKey/ok_basepoint (0.01s) - --- PASS: TestPrivateKey_SharedKey/ok_other (0.01s) +--- PASS: TestPrivateKey_SharedKey (0.01s) + --- PASS: TestPrivateKey_SharedKey/ok_basepoint (0.00s) + --- PASS: TestPrivateKey_SharedKey/ok_other (0.00s) --- PASS: TestPrivateKey_SharedKey/zero (0.00s) --- PASS: TestPrivateKey_SharedKey/fail (0.00s) === RUN TestPrivateKey_Sign_error @@ -3518,7 +3554,7 @@ === RUN TestVerify_error === RUN TestVerify_error/fail === RUN TestVerify_error/panic ---- PASS: TestVerify_error (0.01s) +--- PASS: TestVerify_error (0.00s) --- PASS: TestVerify_error/fail (0.00s) --- PASS: TestVerify_error/panic (0.00s) === RUN TestPublicKey_Equal @@ -3538,7 +3574,7 @@ --- PASS: TestPrivateKey_Equal/false (0.00s) --- PASS: TestPrivateKey_Equal/false_type (0.00s) PASS -ok go.step.sm/crypto/x25519 16.306s +ok go.step.sm/crypto/x25519 7.218s === RUN TestSignatureAlgorithm_Set === RUN TestSignatureAlgorithm_Set/ok === RUN TestSignatureAlgorithm_Set/ok#01 @@ -3638,7 +3674,7 @@ === RUN TestNewCertificateRequest/fail_apply === RUN TestNewCertificateRequest/fail_unmarshal === RUN TestNewCertificateRequest/fail_extended_sans ---- PASS: TestNewCertificateRequest (0.11s) +--- PASS: TestNewCertificateRequest (0.03s) --- PASS: TestNewCertificateRequest/ok_simple (0.00s) --- PASS: TestNewCertificateRequest/ok_default (0.00s) --- PASS: TestNewCertificateRequest/ok_extended_sans (0.00s) @@ -3646,7 +3682,7 @@ --- PASS: TestNewCertificateRequest/ok_permanent_identifier_template (0.00s) --- PASS: TestNewCertificateRequest/fail_apply (0.00s) --- PASS: TestNewCertificateRequest/fail_unmarshal (0.00s) - --- PASS: TestNewCertificateRequest/fail_extended_sans (0.01s) + --- PASS: TestNewCertificateRequest/fail_extended_sans (0.00s) === RUN Test_newCertificateRequest === RUN Test_newCertificateRequest/ok === RUN Test_newCertificateRequest/complex @@ -3656,17 +3692,17 @@ === RUN TestCertificateRequest_GetCertificateRequest === RUN TestCertificateRequest_GetCertificateRequest/ok === RUN TestCertificateRequest_GetCertificateRequest/fail ---- PASS: TestCertificateRequest_GetCertificateRequest (0.03s) - --- PASS: TestCertificateRequest_GetCertificateRequest/ok (0.03s) +--- PASS: TestCertificateRequest_GetCertificateRequest (0.01s) + --- PASS: TestCertificateRequest_GetCertificateRequest/ok (0.01s) --- PASS: TestCertificateRequest_GetCertificateRequest/fail (0.00s) === RUN TestCertificateRequest_GetCertificateRequest_challengePassword === RUN TestCertificateRequest_GetCertificateRequest_challengePassword/ok === RUN TestCertificateRequest_GetCertificateRequest_challengePassword/ok_UTF8String === RUN TestCertificateRequest_GetCertificateRequest_challengePassword/fail_challengePassword ---- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword (0.37s) - --- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword/ok (0.17s) - --- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword/ok_UTF8String (0.13s) - --- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword/fail_challengePassword (0.06s) +--- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword (0.14s) + --- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword/ok (0.05s) + --- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword/ok_UTF8String (0.05s) + --- PASS: TestCertificateRequest_GetCertificateRequest_challengePassword/fail_challengePassword (0.03s) === RUN TestCertificateRequest_addChallengePassword === RUN TestCertificateRequest_addChallengePassword/ok === RUN TestCertificateRequest_addChallengePassword/ok_UTF8String @@ -3675,8 +3711,8 @@ === RUN TestCertificateRequest_addChallengePassword/fail_unmarshal_rest === RUN TestCertificateRequest_addChallengePassword/fail_signatureAlgorithm === RUN TestCertificateRequest_addChallengePassword/fail_sign ---- PASS: TestCertificateRequest_addChallengePassword (0.15s) - --- PASS: TestCertificateRequest_addChallengePassword/ok (0.05s) +--- PASS: TestCertificateRequest_addChallengePassword (0.08s) + --- PASS: TestCertificateRequest_addChallengePassword/ok (0.03s) --- PASS: TestCertificateRequest_addChallengePassword/ok_UTF8String (0.03s) --- PASS: TestCertificateRequest_addChallengePassword/fail_challengePassword (0.00s) --- PASS: TestCertificateRequest_addChallengePassword/fail_unmarshal (0.00s) @@ -3712,7 +3748,7 @@ === RUN TestNewCertificate/missingTemplate === RUN TestNewCertificate/badJson === RUN TestNewCertificate/failCustomSANs ---- PASS: TestNewCertificate (0.04s) +--- PASS: TestNewCertificate (0.03s) --- PASS: TestNewCertificate/okSimple (0.00s) --- PASS: TestNewCertificate/okDefaultTemplate (0.00s) --- PASS: TestNewCertificate/okCustomSANs (0.00s) @@ -3787,45 +3823,45 @@ === RUN TestCreateCertificate_debug/directoryName certificate_test.go:1021: -----BEGIN CERTIFICATE----- - MIIBkzCCAUWgAwIBAgIQYHYzeo8/lSytfM7zUcEm8jAFBgMrZXAwETEPMA0GA1UE + MIIBkzCCAUWgAwIBAgIQH+tZH+Lmux5VRXyh6TOk4DAFBgMrZXAwETEPMA0GA1UE AxMGaXNzdWVyMCIYDzAwMDEwMTAxMDAwMDAwWhgPMDAwMTAxMDEwMDAwMDBaMBEx - DzANBgNVBAMTBnJvY2tldDAqMAUGAytlcAMhAABGyL47e/ANaud6qjW3u2xnWPkJ - d7KSwpl2sWvG9Qpmo4GuMIGrMA4GA1UdDwEB/wQEAwIHgDAdBgNVHSUEFjAUBggr - BgEFBQcDAQYIKwYBBQUHAwIwHQYDVR0OBBYEFCrrZt2kCu4HC0FnhW/1s6WnHLfT - MB8GA1UdIwQYMBaAFF7jDmtl6PwhTb8mSFqbeKycRtRpMDoGA1UdEQQzMDGkLzAt + DzANBgNVBAMTBnJvY2tldDAqMAUGAytlcAMhACTFBkF3K1+NSxZkBUc0FMRKuMKp + Zq14eQZQvevNix/Fo4GuMIGrMA4GA1UdDwEB/wQEAwIHgDAdBgNVHSUEFjAUBggr + BgEFBQcDAQYIKwYBBQUHAwIwHQYDVR0OBBYEFJe4Kadbppnm5ZV4tabO0ru9dI72 + MB8GA1UdIwQYMBaAFEefuuyIMt4bsJ9J0XdapU/jp3sGMDoGA1UdEQQzMDGkLzAt MQswCQYDVQQGEwJVUzENMAsGA1UEChMEQUNNRTEPMA0GA1UEAxMGcm9ja2V0MAUG - AytlcANBAMyAhD/mHr7U3Uvyidmmd85Cq4aYDgad4NZz4zYmoSH//OaZQe6VTbDY - DJlw7x1dUJXLKb1FR5LVWh7EmlfhUAk= + AytlcANBAHrPP/4Dmk5IsKgP8eX1YrnJwf6Vczgb2Gog0BzBclcZDbJN/nv1eonY + FEabd4ubh5GV2q8vqZaeiNRz/tWDFwU= -----END CERTIFICATE----- === RUN TestCreateCertificate_debug/hardwareModuleName certificate_test.go:1021: -----BEGIN CERTIFICATE----- - MIIBgzCCATWgAwIBAgIQf+c7GZFn7pDVfpfpxr/KqzAFBgMrZXAwETEPMA0GA1UE - AxMGaXNzdWVyMCIYDzAwMDEwMTAxMDAwMDAwWhgPMDAwMTAxMDEwMDAwMDBaMBEx - DzANBgNVBAMTBnJvY2tldDAqMAUGAytlcAMhAABGyL47e/ANaud6qjW3u2xnWPkJ - d7KSwpl2sWvG9Qpmo4GeMIGbMA4GA1UdDwEB/wQEAwIHgDAdBgNVHSUEFjAUBggr - BgEFBQcDAQYIKwYBBQUHAwIwHQYDVR0OBBYEFCrrZt2kCu4HC0FnhW/1s6WnHLfT - MB8GA1UdIwQYMBaAFF7jDmtl6PwhTb8mSFqbeKycRtRpMCoGA1UdEQQjMCGgHwYI - KwYBBQUHCASgEzARBgMqAwSECjAxMjM0NTY3ODkwBQYDK2VwA0EA89m6GltRNGe4 - UEmj23DUVxzonRx4ZvsvcmOXDq71dA8GqG3JAoLZ2p5axpDR/2b2DSOZQU1jN7D2 - twelk/UECg== + MIIBhDCCATagAwIBAgIRAPCeezlp4G4c1jE/CQHPipEwBQYDK2VwMBExDzANBgNV + BAMTBmlzc3VlcjAiGA8wMDAxMDEwMTAwMDAwMFoYDzAwMDEwMTAxMDAwMDAwWjAR + MQ8wDQYDVQQDEwZyb2NrZXQwKjAFBgMrZXADIQAkxQZBdytfjUsWZAVHNBTESrjC + qWateHkGUL3rzYsfxaOBnjCBmzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYI + KwYBBQUHAwEGCCsGAQUFBwMCMB0GA1UdDgQWBBSXuCmnW6aZ5uWVeLWmztK7vXSO + 9jAfBgNVHSMEGDAWgBRHn7rsiDLeG7CfSdF3WqVP46d7BjAqBgNVHREEIzAhoB8G + CCsGAQUFBwgEoBMwEQYDKgMEhAowMTIzNDU2Nzg5MAUGAytlcANBALOl85FiYh0w + Yoe7GZ9eh5CHsbK5M6T4tQMmhPQpf82VOJqK3ULigudy1+HqUbFhE4ue7S9SaDP3 + Dzh4x3mTTAs= -----END CERTIFICATE----- === RUN TestCreateCertificate_debug/permanentIdentifier certificate_test.go:1021: -----BEGIN CERTIFICATE----- - MIIBhDCCATagAwIBAgIRAPgLqkwPY8+ihp6fHHI/OPIwBQYDK2VwMBExDzANBgNV + MIIBhDCCATagAwIBAgIRAKhYF5x8bZyJO2KiC/NRhf4wBQYDK2VwMBExDzANBgNV BAMTBmlzc3VlcjAiGA8wMDAxMDEwMTAwMDAwMFoYDzAwMDEwMTAxMDAwMDAwWjAR - MQ8wDQYDVQQDEwZyb2NrZXQwKjAFBgMrZXADIQAARsi+O3vwDWrneqo1t7tsZ1j5 - CXeyksKZdrFrxvUKZqOBnjCBmzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYI - KwYBBQUHAwEGCCsGAQUFBwMCMB0GA1UdDgQWBBQq62bdpAruBwtBZ4Vv9bOlpxy3 - 0zAfBgNVHSMEGDAWgBRe4w5rZej8IU2/Jkham3isnEbUaTAqBgNVHREEIzAhoB8G - CCsGAQUFBwgDoBMwEQwKMDEyMzQ1Njc4OQYDKgMEMAUGAytlcANBAGp+ZW9gaF1k - 7gUj5sSKxYEGlIih/BPO4jlrMqZm7mL2cBffjFc0QAGBo98Px4V2mAiEIrWGtpT0 - S0xPNp00sgE= + MQ8wDQYDVQQDEwZyb2NrZXQwKjAFBgMrZXADIQAkxQZBdytfjUsWZAVHNBTESrjC + qWateHkGUL3rzYsfxaOBnjCBmzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYI + KwYBBQUHAwEGCCsGAQUFBwMCMB0GA1UdDgQWBBSXuCmnW6aZ5uWVeLWmztK7vXSO + 9jAfBgNVHSMEGDAWgBRHn7rsiDLeG7CfSdF3WqVP46d7BjAqBgNVHREEIzAhoB8G + CCsGAQUFBwgDoBMwEQwKMDEyMzQ1Njc4OQYDKgMEMAUGAytlcANBANHXS8HPzIYk + Fsc8z/XmMCiVXuMs14+usILs6Rh3iFhW87X9yQ2mwhsam0b9hk/RQ2CZ53BNL5Wb + c5kpntNlDws= -----END CERTIFICATE----- --- PASS: TestCreateCertificate_debug (0.02s) - --- PASS: TestCreateCertificate_debug/directoryName (0.01s) - --- PASS: TestCreateCertificate_debug/hardwareModuleName (0.01s) + --- PASS: TestCreateCertificate_debug/directoryName (0.00s) + --- PASS: TestCreateCertificate_debug/hardwareModuleName (0.00s) --- PASS: TestCreateCertificate_debug/permanentIdentifier (0.00s) === RUN TestReadCertPool === RUN TestReadCertPool/ok_dir @@ -4702,7 +4738,7 @@ === RUN TestWithTemplate/extensions === RUN TestWithTemplate/fail === RUN TestWithTemplate/error ---- PASS: TestWithTemplate (4.55s) +--- PASS: TestWithTemplate (2.04s) --- PASS: TestWithTemplate/leaf (0.00s) --- PASS: TestWithTemplate/leafRSA (0.00s) --- PASS: TestWithTemplate/iid (0.00s) @@ -4716,7 +4752,7 @@ === RUN TestWithTemplateBase64 === RUN TestWithTemplateBase64/leaf === RUN TestWithTemplateBase64/badBase64 ---- PASS: TestWithTemplateBase64 (0.01s) +--- PASS: TestWithTemplateBase64 (0.00s) --- PASS: TestWithTemplateBase64/leaf (0.00s) --- PASS: TestWithTemplateBase64/badBase64 (0.00s) === RUN TestWithTemplateFile @@ -4724,8 +4760,8 @@ === RUN TestWithTemplateFile/exampleRSA3072 === RUN TestWithTemplateFile/exampleRSA2048 === RUN TestWithTemplateFile/missing ---- PASS: TestWithTemplateFile (35.08s) - --- PASS: TestWithTemplateFile/example (0.01s) +--- PASS: TestWithTemplateFile (10.67s) + --- PASS: TestWithTemplateFile/example (0.00s) --- PASS: TestWithTemplateFile/exampleRSA3072 (0.00s) --- PASS: TestWithTemplateFile/exampleRSA2048 (0.00s) --- PASS: TestWithTemplateFile/missing (0.00s) @@ -4745,7 +4781,7 @@ === RUN Test_asn1Encode/fail_numeric === RUN Test_asn1Encode/fail_time === RUN Test_asn1Encode/fail_bool ---- PASS: Test_asn1Encode (0.01s) +--- PASS: Test_asn1Encode (0.00s) --- PASS: Test_asn1Encode/ok (0.00s) --- PASS: Test_asn1Encode/ok_explicit (0.00s) --- PASS: Test_asn1Encode/ok_printable (0.00s) @@ -4885,7 +4921,7 @@ === RUN TestValidateTemplate/ok === RUN TestValidateTemplate/ok/invalid-json === RUN TestValidateTemplate/fail/unknown-function ---- PASS: TestValidateTemplate (0.01s) +--- PASS: TestValidateTemplate (0.00s) --- PASS: TestValidateTemplate/ok (0.00s) --- PASS: TestValidateTemplate/ok/invalid-json (0.00s) --- PASS: TestValidateTemplate/fail/unknown-function (0.00s) @@ -4934,7 +4970,7 @@ === RUN Test_generateSubjectKeyID/rsa === RUN Test_generateSubjectKeyID/ed25519 === RUN Test_generateSubjectKeyID/fail ---- PASS: Test_generateSubjectKeyID (0.01s) +--- PASS: Test_generateSubjectKeyID (0.00s) --- PASS: Test_generateSubjectKeyID/ecdsa (0.00s) --- PASS: Test_generateSubjectKeyID/rsa (0.00s) --- PASS: Test_generateSubjectKeyID/ed25519 (0.00s) @@ -4952,7 +4988,7 @@ --- PASS: TestSanitizeName/fail_with_port (0.00s) --- PASS: TestSanitizeName/fail_empty (0.00s) PASS -ok go.step.sm/crypto/x509util 40.576s +ok go.step.sm/crypto/x509util 13.180s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -4979,12 +5015,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/19447/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/19447/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/31924 and its subdirectories -I: Current time: Sun Mar 16 12:54:18 -12 2025 -I: pbuilder-time-stamp: 1742172858 +I: removing directory /srv/workspace/pbuilder/19447 and its subdirectories +I: Current time: Mon Mar 17 15:00:55 +14 2025 +I: pbuilder-time-stamp: 1742173255