Bump all dependencies

This commit is contained in:
Joshua Casey
2024-09-03 06:46:29 -05:00
parent c87f091a44
commit f476259bbf
5 changed files with 33 additions and 24 deletions

View File

@@ -7,8 +7,10 @@ import (
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rand"
"crypto/sha256"
"crypto/x509"
"crypto/x509/pkix"
"encoding/hex"
"encoding/pem"
"fmt"
"testing"
@@ -329,6 +331,13 @@ func TestWhoAmI_CSR_Parallel(t *testing.T) {
csrConfig.CertData = crtPEM
csrConfig.KeyData = keyPEM
bytesToHexOfSHA256 := func(b []byte) string {
shasum := sha256.Sum256(b)
return hex.EncodeToString(shasum[:])
}
t.Logf("sha256 of crtPEM: %s", bytesToHexOfSHA256(crtPEM))
whoAmI, err := testlib.NewKubeclient(t, csrConfig).PinnipedConcierge.IdentityV1alpha1().WhoAmIRequests().
Create(ctx, &identityv1alpha1.WhoAmIRequest{}, metav1.CreateOptions{})
require.NoError(t, err, testlib.Sdump(err))