diff --git a/v23/security/x509_test.go b/v23/security/x509_test.go index 4a0536174..86010b01e 100644 --- a/v23/security/x509_test.go +++ b/v23/security/x509_test.go @@ -312,7 +312,7 @@ func TestX509Errors(t *testing.T) { names, rejected = security.RemoteBlessingNames(ctx, call) validate("x509: certificate signed by unknown authority", - "x509: “(STAGING) Pretend Pear X1” certificate is not trusted") + "certificate is not trusted") // No custom options. client = newPrincipalWithX509Opts(ctx, t, clientKey, x509.VerifyOptions{}) @@ -325,7 +325,7 @@ func TestX509Errors(t *testing.T) { names, rejected = security.RemoteBlessingNames(ctx, call) validate("x509: certificate has expired or is not yet valid", "x509: certificate signed by unknown authority", - `x509: “(STAGING) Pretend Pear X1” certificate is not trusted`, + `certificate is not trusted`, `x509: “www.labdrive.io” certificate is not trusted`, ) diff --git a/x/ref/cmd/principal/internal/scripting/scripting_test.go b/x/ref/cmd/principal/internal/scripting/scripting_test.go index 77eae6afd..42955d45d 100644 --- a/x/ref/cmd/principal/internal/scripting/scripting_test.go +++ b/x/ref/cmd/principal/internal/scripting/scripting_test.go @@ -159,8 +159,8 @@ func TestExistingKeys(t *testing.T) { }{ { sectestdata.X509PrivateKeyBytes(keys.ED25519, sectestdata.X509Private), - "95:ba:85:d9:7d:bc:27:36:99:d7:cb:ce:eb:d9:49:34", - // generated using: openssl pkey -in ../../test/sectestdata/testdata/ed25519.vanadium.io.key -pubout -outform der | openssl md5 -c + "f4:00:25:2d:6f:d8:4d:2a:e5:43:aa:52:cf:7c:5c:42", + // generated using: openssl pkey -in ../../../../test/sectestdata/testdata/ed25519.vanadium.io.key -pubout -outform der | openssl md5 -c }, { sectestdata.SSHPrivateKeyBytes(keys.ECDSA256, sectestdata.SSHKeyPrivate), diff --git a/x/ref/lib/security/blessingroots_test.go b/x/ref/lib/security/blessingroots_test.go index 2b5b462b9..ee738f5d4 100644 --- a/x/ref/lib/security/blessingroots_test.go +++ b/x/ref/lib/security/blessingroots_test.go @@ -247,7 +247,7 @@ func TestBlessingRootsX509(t *testing.T) { "x509: certificate signed by unknown authority", "x509: certificate has expired or is not yet valid", "x509: “www.labdrive.io” certificate is not trusted", - "x509: “(STAGING) Pretend Pear X1” certificate is not trusted") { + "certificate is not trusted") { t.Errorf("%v: %v: %v: missing or wrong error: %v", i, tc.certType, tc.pattern, err) } } diff --git a/x/ref/lib/security/keys/x509keys/x509keys_test.go b/x/ref/lib/security/keys/x509keys/x509keys_test.go index dc5af87f2..c65d9f445 100644 --- a/x/ref/lib/security/keys/x509keys/x509keys_test.go +++ b/x/ref/lib/security/keys/x509keys/x509keys_test.go @@ -131,7 +131,7 @@ func TestLetsEncryptKeys(t *testing.T) { for _, certname := range []string{ "www.labdrive.io.letsencrypt", - "letsencrypt-stg-int-e1.pem", + sectestdata.LetsEncryptStagingRootECDSA, } { filename := filepath.Join(letsencryptDir, certname) data, err := os.ReadFile(filename) diff --git a/x/ref/test/sectestdata/letsencrypt.go b/x/ref/test/sectestdata/letsencrypt.go index dabce6cba..47f93c7d9 100644 --- a/x/ref/test/sectestdata/letsencrypt.go +++ b/x/ref/test/sectestdata/letsencrypt.go @@ -13,20 +13,20 @@ import ( ) const ( - letsEncryptStagingE1 = "letsencrypt-stg-int-e1.pem" - letsEncryptStagingR3 = "letsencrypt-stg-int-r3.pem" + LetsEncryptStagingRootRSA = "letsencrypt-stg-root-x1.pem" + LetsEncryptStagingRootECDSA = "letsencrypt-stg-root-x2.pem" ) -//go:embed testdata/letsencrypt-stg-int-e1.pem testdata/www.labdrive.io.letsencrypt testdata/www.labdrive.io.letsencrypt.key testdata/www.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-int-e1.pem.fingerprint +//go:embed testdata/letsencrypt-stg-root-x1.pem testdata/letsencrypt-stg-root-x2.pem testdata/www.labdrive.io.letsencrypt testdata/www.labdrive.io.letsencrypt.key testdata/www.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-root-x1.pem.fingerprint testdata/letsencrypt-stg-root-x2.pem.fingerprint var letsEncryptSingleHostFS embed.FS -//go:embed testdata/letsencrypt-stg-int-e1.pem testdata/abc.labdrive.io.letsencrypt testdata/abc.labdrive.io.letsencrypt.key testdata/abc.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-int-e1.pem.fingerprint +//go:embed testdata/letsencrypt-stg-root-x1.pem testdata/letsencrypt-stg-root-x2.pem testdata/abc.labdrive.io.letsencrypt testdata/abc.labdrive.io.letsencrypt.key testdata/abc.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-root-x1.pem.fingerprint testdata/letsencrypt-stg-root-x2.pem.fingerprint var letsEncryptMultiHostFS embed.FS -//go:embed testdata/letsencrypt-stg-int-r3.pem testdata/star.labdrive.io.letsencrypt testdata/star.labdrive.io.letsencrypt.key testdata/star.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-int-r3.pem.fingerprint +//go:embed testdata/letsencrypt-stg-root-x1.pem testdata/letsencrypt-stg-root-x2.pem testdata/star.labdrive.io.letsencrypt testdata/star.labdrive.io.letsencrypt.key testdata/star.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-root-x1.pem.fingerprint testdata/letsencrypt-stg-root-x2.pem.fingerprint var letsEncryptWildcardFS embed.FS -//go:embed testdata/letsencrypt-stg-int-r3.pem testdata/ab-star.labdrive.io.letsencrypt testdata/ab-star.labdrive.io.letsencrypt.key testdata/ab-star.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-int-r3.pem.fingerprint +//go:embed testdata/letsencrypt-stg-root-x1.pem testdata/letsencrypt-stg-root-x2.pem testdata/ab-star.labdrive.io.letsencrypt testdata/ab-star.labdrive.io.letsencrypt.key testdata/ab-star.labdrive.io.letsencrypt.fingerprint testdata/letsencrypt-stg-root-x1.pem.fingerprint testdata/letsencrypt-stg-root-x2.pem.fingerprint var letsEncryptMultipleWildcardFS embed.FS // CertType specifies the type of cert to be used. @@ -34,13 +34,13 @@ type CertType int // Supported cert types are below. const ( - // SingleHostCert refers to a cert and key for www.labdrive.io + // SingleHostCert refers to a cert and key for www.labdrive.io (ECDSA) SingleHostCert CertType = iota - // MultipleHostsCert refers to a cert and key for {a,b,c}.labdrive.io + // MultipleHostsCert refers to a cert and key for {a,b,c}.labdrive.io (ECDSA) MultipleHostsCert - // WildcardCert refers to a cert and key for *.labdrive.io + // WildcardCert refers to a cert and key for *.labdrive.io (RSA) WildcardCert - // Cert with multiple wildcard domains for *.labdrive.io and *.labdr.io + // Cert with multiple wildcard domains for *.labdrive.io and *.labdr.io (RSA) MultipleWildcardCert ) @@ -64,39 +64,43 @@ func (c CertType) String() string { func LetsEncryptData(certType CertType) (crypto.PrivateKey, []*x509.Certificate, x509.VerifyOptions) { switch certType { case SingleHostCert: - return letsEncryptData(letsEncryptSingleHostFS, "www.labdrive.io.letsencrypt.key", "www.labdrive.io.letsencrypt", letsEncryptStagingE1) + return letsEncryptData(letsEncryptSingleHostFS, "www.labdrive.io.letsencrypt.key", "www.labdrive.io.letsencrypt") case MultipleHostsCert: - return letsEncryptData(letsEncryptMultiHostFS, "abc.labdrive.io.letsencrypt.key", "abc.labdrive.io.letsencrypt", letsEncryptStagingE1) + return letsEncryptData(letsEncryptMultiHostFS, "abc.labdrive.io.letsencrypt.key", "abc.labdrive.io.letsencrypt") case WildcardCert: - return letsEncryptData(letsEncryptWildcardFS, "star.labdrive.io.letsencrypt.key", "star.labdrive.io.letsencrypt", letsEncryptStagingR3) + return letsEncryptData(letsEncryptWildcardFS, "star.labdrive.io.letsencrypt.key", "star.labdrive.io.letsencrypt") case MultipleWildcardCert: - return letsEncryptData(letsEncryptMultipleWildcardFS, "ab-star.labdrive.io.letsencrypt.key", "ab-star.labdrive.io.letsencrypt", letsEncryptStagingR3) + return letsEncryptData(letsEncryptMultipleWildcardFS, "ab-star.labdrive.io.letsencrypt.key", "ab-star.labdrive.io.letsencrypt") default: panic(fmt.Sprintf("unsupported cert type: %v", certType)) } } -func loadCertSet(keyBytes, certByes, caBytes []byte) (crypto.PrivateKey, []*x509.Certificate, x509.VerifyOptions) { +func loadCertSet(keyBytes, certByes []byte, roots [][]byte) (crypto.PrivateKey, []*x509.Certificate, x509.VerifyOptions) { key, err := loadPrivateKey(keyBytes) if err != nil { panic(err) } - certs, err := loadCerts(certByes) + certs, pemBytes, err := loadCerts(certByes) if err != nil { panic(err) } - opts, err := loadCA(certs[0], caBytes) + opts, err := loadCA(certs[0], pemBytes, roots) if err != nil { panic(err) } return key, certs, opts } -func letsEncryptData(fs embed.FS, key, cert, ca string) (crypto.PrivateKey, []*x509.Certificate, x509.VerifyOptions) { +func letsEncryptData(fs embed.FS, key, cert string) (crypto.PrivateKey, []*x509.Certificate, x509.VerifyOptions) { + roots := [][]byte{ + mustBytesFromFS(fs, "testdata", LetsEncryptStagingRootRSA), + mustBytesFromFS(fs, "testdata", LetsEncryptStagingRootECDSA), + } return loadCertSet( mustBytesFromFS(fs, "testdata", key), mustBytesFromFS(fs, "testdata", cert), - mustBytesFromFS(fs, "testdata", ca), + roots, ) } diff --git a/x/ref/test/sectestdata/ssl.go b/x/ref/test/sectestdata/ssl.go index 9c0a1d46d..fde27b16f 100644 --- a/x/ref/test/sectestdata/ssl.go +++ b/x/ref/test/sectestdata/ssl.go @@ -36,25 +36,27 @@ const ( func VanadiumSSLData() (map[string]crypto.PrivateKey, map[string]*x509.Certificate, x509.VerifyOptions) { keys := map[string]crypto.PrivateKey{} certs := map[string]*x509.Certificate{} + var intermediates [][]byte for _, typ := range SupportedKeyAlgos { host := typ.String() k, err := loadPrivateKey(fileContents(vanadiumSSLKeys, host+".vanadium.io.key")) if err != nil { panic(err) } - c, err := loadCerts(fileContents(vanadiumSSLCerts, host+".vanadium.io.crt")) + c, intermediate, err := loadCerts(fileContents(vanadiumSSLCerts, host+".vanadium.io.crt")) if err != nil { panic(err) } keys[host] = k certs[host] = c[0] + intermediates = append(intermediates, intermediate...) } var cert *x509.Certificate for _, c := range certs { cert = c break } - opts, err := loadCA(cert, vanadiumSSLCA) + opts, err := loadCA(cert, intermediates, [][]byte{vanadiumSSLCA}) if err != nil { panic(err) } @@ -63,11 +65,11 @@ func VanadiumSSLData() (map[string]crypto.PrivateKey, map[string]*x509.Certifica func X509VerifyOptions(typ keys.CryptoAlgo) x509.VerifyOptions { host := typ.String() - cert, err := loadCerts(fileContents(vanadiumSSLCerts, host+".vanadium.io.crt")) + cert, intermediates, err := loadCerts(fileContents(vanadiumSSLCerts, host+".vanadium.io.crt")) if err != nil { panic(err) } - opts, err := loadCA(cert[0], vanadiumSSLCA) + opts, err := loadCA(cert[0], intermediates, [][]byte{vanadiumSSLCA}) if err != nil { panic(err) } @@ -75,7 +77,7 @@ func X509VerifyOptions(typ keys.CryptoAlgo) x509.VerifyOptions { } func X509Certificate(typ keys.CryptoAlgo) *x509.Certificate { - cert, err := loadCerts(fileContents(vanadiumSSLCerts, typ.String()+".vanadium.io.crt")) + cert, _, err := loadCerts(fileContents(vanadiumSSLCerts, typ.String()+".vanadium.io.crt")) if err != nil { panic(err) } @@ -83,7 +85,7 @@ func X509Certificate(typ keys.CryptoAlgo) *x509.Certificate { } func X509PublicKey(typ keys.CryptoAlgo) crypto.PublicKey { - cert, err := loadCerts(fileContents(vanadiumSSLCerts, typ.String()+".vanadium.io.crt")) + cert, _, err := loadCerts(fileContents(vanadiumSSLCerts, typ.String()+".vanadium.io.crt")) if err != nil { panic(err) } diff --git a/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt b/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt index 24de00b48..b9562c7e8 100644 --- a/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt +++ b/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt @@ -1,61 +1,61 @@ -----BEGIN CERTIFICATE----- -MIIFJzCCBA+gAwIBAgISK4tDCLyGrmZDyx7pFsm1m0ctMA0GCSqGSIb3DQEBCwUA -MFkxCzAJBgNVBAYTAlVTMSAwHgYDVQQKExcoU1RBR0lORykgTGV0J3MgRW5jcnlw -d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ATBgNV +HSAEDDAKMAgGBmeBDAECATArBgNVHR8EJDAiMCCgHqAchhpodHRwOi8vc3RnLXgx +LmMubGVuY3Iub3JnLzANBgkqhkiG9w0BAQsFAAOCAgEAeD9pt5sWtXEQyF94RMzo +lF+uip+ODYaNxPEJG/93xtxPc6QC0bsC9QIgv6dBk+s1LUf5ulIlJZQ1UlkLgTH4 +HzHi37O4ivcbSHpILcgD0hKnftv0E8o9SNAaIcO7DKNmbeWQ6cPlfOlRtpcIXYoc +95wY9AipN0/ken5KxDxdxTSKuWS7Ae+ZWh7hmLdfDc5C85o2omLvM/6Ovmp0xUSP +U/xFR1fk0kRmM975smehEOXSHOJ24zFaY6BnMUWa67yLawbxUj0AqzGmohdqz7Lu +DhtKd9oXJgRzacFzuMSQluN0ivwKIzirpLR/AJoz4nHXIaDQRyfaA3jr1VYpK+bA +poIXAjgxR/vEFtbEHw7fNO3FKRCddvyJ0vh+OKIrY0nrbGUoyRlPlKF/9XrQ3UJo +Zc708mBBjzqijXdUQ0TB1/irAAQ7O/6i+ThQxElt77gYWzv2/8sSoagzqRKXOqLJ +ckNJQIA39t4HMIFgqxDLRuRNtooFUeoOvocDWTQr80bUp6357cBtAl7ypcOzrPK6 +m5cuuyZfQ7zdh5ufcfMdFbgjwfeN8d442EzBnLxoMA9T2Igfn7KOhFl3znZ+WJhS +h+oyBS8PrKUKB2Xo9pnXma6123xyFPDapnuK3iiNpGJfI0sULCqjEodYG+aGyfCz +ZFLWftbU683YxZCOddgYxHI= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.fingerprint b/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.fingerprint index b14770b47..e0e496cea 100644 --- a/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.fingerprint +++ b/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.fingerprint @@ -1 +1 @@ -d6:95:f8:44:4f:80:ce:80:a1:30:1f:05:6b:b0:96:24 +c2:dc:f8:ee:dd:8b:08:75:41:c5:82:26:06:ab:ac:95 diff --git a/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.key b/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.key index e6664e5be..e58be8774 100644 --- a/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.key +++ b/x/ref/test/sectestdata/testdata/ab-star.labdrive.io.letsencrypt.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDJscS18UNeVsZG -P/OEkNN0q/6LVVFs3EiG2SHPm6UTJmvHwR/KW1T6KTrMOd8VilMZ5mwJEx81MuBI -rjyEecfIOW3FU6t02embguXdZkBqokfXtH5OukKmCNXFIZr/alrEy9HSAr2A6KJn -JARyjkFMtqzD+DVTiGUVDalo2UjQNeCxiNxHxw2B9f2kr/q2W8yyrE1mBRLJHW59 -SEeJ58XESX+hhE/pK/b/LCoesCOyfGlLt38jj/endta3pkx2RhKvFD9TQsL+f1f2 -D2NMJumsNlmU1nrti2JklTYrlpZrjDXWuQLQO1v7T7w8rJQkl9EOs5UURea+P5gh -jbAyBEp7AgMBAAECggEADxLsIrTvVgOiOenZp1SzmQqpsXwk47/q47kin8OAKNg8 -QeebGqKMzU17iXvhwlheMZdZB6yYLn+o54WuHDCFz98K5y6Dp+4JWYgE6fEUa2PJ -fsOMlRGynXoXj+4dCW3HbuHUwp9VzmaUjKTSeEVNeBBHBTZttdqBw3sL6DwlBvp9 -2d6tsG+Qj7x5YTXxBMzYX35zRUxQVZN3KP7BaTqsC0LSCfKiEg0i11J44I1x+IOv -qg60rUsQJnI+q9W4B5NmEUBN++08WFO+yvPX0wWiZHSGBzg8F9t05hhaPSW+MJYS -GvvHkb9bojfpknSICdiLuRGjSj22c4ITDbbGijUc4QKBgQDuH7LDT/n3OXAx4zUy -o1snUW7ljmNk/vqKCAcqZ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n2wmjhUQKBgQCS +4e/bRZ6YUtTZwT/N77dhfYHYyxkxTH0PEV0WYqR8cGMZ1+6jF4EvrsgWiTbdr1MU +2wLJ4VnsBSHoVq/GC4UU49immRO2LqvM/uKBj6AMz3Z/cwoMOU9Iz3W1IXulRDO6 +hcxQOlMA37X87pQFLYitv0BZFBXmGN1TvV1WmMLsSQKBgASXjB51DkAS2vkE8sNh +3ZkR3982Sn59bCrmNZ7dv8MjsWZnlyZwNYgak4GNgty+QXNnt7obuMFlasDuPz6m +3aC2qDXxC+4mxYpLIgFa/SDdHmEwN7SdYfSD+3rUgXb+fvUsehewj6jw6HQCHDEi +1gsZV8benwDqGUuAJ4S/XgJi -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt b/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt index 63b613421..6a9a03be2 100644 --- a/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt +++ b/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt @@ -1,69 +1,50 @@ -----BEGIN CERTIFICATE----- -MIIDxDCCA0ugAwIBAgISK8384F9cahYektx32cwg702NMAoGCCqGSM49BAMDMFUx -CzAJBgNVBAYTAlVTMSAwHgYDVQQKExcoU1RBR0lORykgTGV0J3MgRW5jcnlwdDEk -MCIGA1UEAxMbKFNUQUdJTkcpIEVyc2F0eiBFZGFtYW1lIEUxMB4XDTI0MDMyMTAw -MzIyMloXDTI0MDYxOTAwMzIyMVowGDEWMBQGA1UEAxMNYy5sYWJkcml2ZS5pbzBZ -MBMGByqGSM49AgEGCCqGSM49AwEHA0IABDMaOVyVNYvyq5TZ5Q5c0lScwLpchhfO -xxnkn0PTx5+H1FahyuWwlS6VjsuNNPF/862xyw9TtQKMYcSnuAkffhijggI2MIIC -MjAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMC -MAwGA1UdEwEB/wQCMAAwHQYD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l55Iq1rUgjc8r493NaNrlNwG7va7Ztkch5lJ3oL/FEVlVSK4snTbgb0b5qjQz3SA +i7rA/8QRZvOLnKNtdEUlDZNrzkZwHNluLGw= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.fingerprint b/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.fingerprint index f3788f324..ad91957d6 100644 --- a/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.fingerprint +++ b/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.fingerprint @@ -1 +1 @@ -c3:5c:7d:8d:a0:2d:b2:94:a4:d2:5b:18:07:14:3e:e2 +98:ac:4d:1c:39:6d:bd:fe:a1:27:d1:c9:84:df:08:52 diff --git a/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.key b/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.key index e6b61f3f6..af554de21 100644 --- a/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.key +++ b/x/ref/test/sectestdata/testdata/abc.labdrive.io.letsencrypt.key @@ -1,5 +1,5 @@ -----BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgeoKZGuIv0y4UbUUM -Tl/Yd+b4w/WFEX2/UKyYspB6LrWhRANCAAQzGjlclTWL8quU2eUOXNJUnMC6XIYX -zscZ5J9D08efh9RWocrlsJUulY7LjTTxf/OtscsPU7UCjGHEp7gJH34Y +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgsLbF5kfCr5XyK067 +AWZCgVStlm/ErjFenhU9lwZR3QKhRANCAAReJiVUcf71iNXHMdrYIbKbhPPaiszP +wBa260xbFUeyYfqMCNMPKpJQh5QhEa42DI1pgmflMQ590mKtiHEOjRJ7 -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.crt b/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.crt index e206b7ee7..0c80ebb9d 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.crt +++ b/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.crt @@ -1,16 +1,16 @@ -----BEGIN CERTIFICATE----- -MIICmzCCAYOgAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hmQwDQYJKoZIhvcNAQEL +MIICmzCCAYOgAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hnAwDQYJKoZIhvcNAQEL BQAwNTEUMBIGA1UEAwwLdmFuYWRpdW0uaW8xEDAOBgNVBAoMB2NvbXBhbnkxCzAJ -BgNVBAYTAlVTMB4XDTI0MDMyMTAxMjIzOFoXDTI5MDMyMDAxMjIzOFowPzEeMBwG +BgNVBAYTAlVTMB4XDTI0MTAwNzIxMTI0N1oXDTI5MTAwNjIxMTI0N1owPzEeMBwG A1UEAwwVZWNkc2EtMjU2LnZhbmFkaXVtLmlvMRAwDgYDVQQKDAdjb21wYW55MQsw -CQYDVQQGEwJVUzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEryH0ok+4v7QRzd -fUO3IYYU3Nnr8lMh4yjYct9KLWh6MoexTurv3PjlrqUqCaQ0XFV2jC7ai7GV9nLz -fNJ8mGqjZDBiMCAGA1UdEQQZMBeCFWVjZHNhLTI1Ni52YW5hZGl1bS5pbzAdBgNV -HQ4EFgQUyKnd80DeXEVi2+kIF7FxKSg7VzAwHwYDVR0jBBgwFoAUGMwOouaft8VH -W1tnShPbEytKcbMwDQYJKoZIhvcNAQELBQADggEBAFYE6Dh8nO7gUg5+VwKNjIzF -wOONJldGS58uShBShdYPDq4jJcbzBTK5HP8aUIL9uqZILwuPE3RFbEw1jXG6bCUM -+PnQzZjaGlUr/anCadXllMdac1re+GttwRIpgJwPVQ/nD0RNSrZ01Wo/oUmnd1Ag -aq0OkRy5IVRr61Ko7m+MVwzwdxgCeBhYgdGSkvtZLz8z3W4nVA703t4qRqoafMGH -z3fFLdlaSn3z0pezXZGkDO8PGg1V6qIRiorp3mt09XsBQNlYUaRmN8SlpX4910XA -IhKm9k2i+NNfpv7qxYzHj/No6cv067RWR/nD80hIJdqspqztH/Ue66/ohe1Ggvk= +CQYDVQQGEwJVUzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDUdY1VcYrNq0jak +hnLFUEpgaQE/bfW6/S3KECMtqJ08u26jlA2oGv+rcyrRFoyz7cKPp45RSsDDlrhB +sPCJJnijZDBiMCAGA1UdEQQZMBeCFWVjZHNhLTI1Ni52YW5hZGl1bS5pbzAdBgNV +HQ4EFgQUd2GwMIUORgEg5b+MxPAqhwszpPYwHwYDVR0jBBgwFoAUhHfwX4vWj6Hw +YY+ioup+gaMdVlMwDQYJKoZIhvcNAQELBQADggEBABcP2NFj/JoiYQLPmrIlors9 +6FSA7/PvFfSsijEA/0IeoRxOLXdOiE9FfCVqkSDRgcT1L2xZaXb+rCHJs0i2Xzbs +IdgpQX3EU74SsOYtQU8KjFxVy/Kz/antonkbVLtKup03h4/88FwCG0TFpfhWGl7I +7VO2EObghGbHfdrhFFqhGnm7nfMlSRFBC8yWlAAAmkFCnt84RJjimBck+2/iZwFm +p7Rqh6GTAVaV/ODG5Gzx2JFPyxeu5UX/dOqiRhqp94ziayMQ5VayPSidSCSE8Fw2 +9B3hbjwVWDdhsq2xxL+q98Bh0D/jiTe1xebF/GpvmfhoHewmwxzLhqbqs+VPlfU= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.csr b/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.csr index e4e354636..6115c93ab 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.csr +++ b/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.csr @@ -1,9 +1,9 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIBLTCB1AIBADA/MR4wHAYDVQQDDBVlY2RzYS0yNTYudmFuYWRpdW0uaW8xEDAO +MIIBLjCB1AIBADA/MR4wHAYDVQQDDBVlY2RzYS0yNTYudmFuYWRpdW0uaW8xEDAO BgNVBAoMB2NvbXBhbnkxCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZIzj0D -AQcDQgAESvIfSiT7i/tBHN19Q7chhhTc2evyUyHjKNhy30otaHoyh7FO6u/c+OWu -pSoJpDRcVXaMLtqLsZX2cvN80nyYaqAzMDEGCSqGSIb3DQEJDjEkMCIwIAYDVR0R -BBkwF4IVZWNkc2EtMjU2LnZhbmFkaXVtLmlvMAoGCCqGSM49BAMCA0gAMEUCIH3A -fb58T1jKZyF1Cn+SOBM3+E6s7hw0i6IMuO5Isc9aAiEAv+tjt7tpAfLUVSN+42ar -8hsaq3TkFZdAOd0URTqgm64= +AQcDQgAENR1jVVxis2rSNqSGcsVQSmBpAT9t9br9LcoQIy2onTy7bqOUDaga/6tz +KtEWjLPtwo+njlFKwMOWuEGw8IkmeKAzMDEGCSqGSIb3DQEJDjEkMCIwIAYDVR0R +BBkwF4IVZWNkc2EtMjU2LnZhbmFkaXVtLmlvMAoGCCqGSM49BAMCA0kAMEYCIQC5 +AsAPvATfUUlvgaeDGzJspe1TjhRArmPW1TuKA+QvBwIhAOZ+ctvgdKaiVIVYIGo3 +J0y+4LIQNgjCNJz+HEHBg5dR -----END CERTIFICATE REQUEST----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.key b/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.key index b8273336c..6ab48b36f 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/ecdsa-256.vanadium.io.key @@ -2,7 +2,7 @@ BggqhkjOPQMBBw== -----END EC PARAMETERS----- -----BEGIN EC PRIVATE KEY----- -MHcCAQEEIHrcr3oJm55mis28jyIyVreoXiD5lNsuxjD4GSpLdmi5oAoGCCqGSM49 -AwEHoUQDQgAESvIfSiT7i/tBHN19Q7chhhTc2evyUyHjKNhy30otaHoyh7FO6u/c -+OWupSoJpDRcVXaMLtqLsZX2cvN80nyYag== +MHcCAQEEIOLA48XMDT4xLultuCXf+Wn3i5Zbd+b6xtuaSfVOOBTVoAoGCCqGSM49 +AwEHoUQDQgAENR1jVVxis2rSNqSGcsVQSmBpAT9t9br9LcoQIy2onTy7bqOUDaga +/6tzKtEWjLPtwo+njlFKwMOWuEGw8IkmeA== -----END EC PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.crt b/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.crt index 73970c893..a13130bb3 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.crt +++ b/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.crt @@ -1,16 +1,16 @@ -----BEGIN CERTIFICATE----- -MIICmzCCAYOgAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hmUwDQYJKoZIhvcNAQEL +MIICmzCCAYOgAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hnEwDQYJKoZIhvcNAQEL BQAwNTEUMBIGA1UEAwwLdmFuYWRpdW0uaW8xEDAOBgNVBAoMB2NvbXBhbnkxCzAJ -BgNVBAYTAlVTMB4XDTI0MDMyMTAxMjIzOFoXDTI5MDMyMDAxMjIzOFowPzEeMBwG +BgNVBAYTAlVTMB4XDTI0MTAwNzIxMTI0N1oXDTI5MTAwNjIxMTI0N1owPzEeMBwG A1UEAwwVZWNkc2EtMzg0LnZhbmFkaXVtLmlvMRAwDgYDVQQKDAdjb21wYW55MQsw -CQYDVQQGEwJVUzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH0IJQbdPAhipwS/ -GQHCyAR8wuO5CM+qEpS7p04cPSIGD/sISSaMy1OCjdp3pdOd6o3yWUqJDxmRHGML -gjRN63mjZDBiMCAGA1UdEQQZMBeCFWVjZHNhLTM4NC52YW5hZGl1bS5pbzAdBgNV -HQ4EFgQUdOP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oMeO2FRzMdOcdnm6q7bsnuoPWqBz10WMI= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.csr b/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.csr index 7fe72cddf..942ccee5d 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.csr +++ b/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.csr @@ -1,9 +1,9 @@ -----BEGIN CERTIFICATE REQUEST----- MIIBLTCB1AIBADA/MR4wHAYDVQQDDBVlY2RzYS0zODQudmFuYWRpdW0uaW8xEDAO BgNVBAoMB2NvbXBhbnkxCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZIzj0D -AQcDQgAEfQglBt08CGKnBL8ZAcLIBHzC47kIz6oSlLunThw9IgYP+whJJozLU4KN -2nel053qjfJZSokPGZEcYwuCNE3reaAzMDEGCSqGSIb3DQEJDjEkMCIwIAYDVR0R -BBkwF4IVZWNkc2EtMzg0LnZhbmFkaXVtLmlvMAoGCCqGSM49BAMCA0gAMEUCIGQO -tr7gB/Iq7YUMBYH+DuLWcbJR86ajKenC8oyjDWomAiEAwI6EpoESXhCFemmyaCHu -TXthqIbBmke0woJ8TkWm0Yc= +AQcDQgAElo9mz/981dEDwXcPslyERAxtz3DUQ0NwYaYZmvyhx8DPvpzyRyMTapDa +X3cv6mUPd6GE7WwATKArBPRz3QmnMqAzMDEGCSqGSIb3DQEJDjEkMCIwIAYDVR0R +BBkwF4IVZWNkc2EtMzg0LnZhbmFkaXVtLmlvMAoGCCqGSM49BAMCA0gAMEUCIETu +S3xamw3B7lPmxzE7Djffup2yC9rvS4pUeUmr56cBAiEAhzD96TaP7TUDTWr8Q3jR +bc82hw2Hvav36q8lXAM5mE0= -----END CERTIFICATE REQUEST----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.key b/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.key index 1c1b766ab..00a419eae 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/ecdsa-384.vanadium.io.key @@ -2,7 +2,7 @@ BggqhkjOPQMBBw== -----END EC PARAMETERS----- -----BEGIN EC PRIVATE KEY----- -MHcCAQEEIH4J+aOQwRj61hkvRDvzAx1iFWUkkfAYfoWsaaZZrGcyoAoGCCqGSM49 -AwEHoUQDQgAEfQglBt08CGKnBL8ZAcLIBHzC47kIz6oSlLunThw9IgYP+whJJozL -U4KN2nel053qjfJZSokPGZEcYwuCNE3reQ== +MHcCAQEEIAAmbHHBQpsnIBNM53P9OHrSWn7rmcoMRMel3BPIeUNkoAoGCCqGSM49 +AwEHoUQDQgAElo9mz/981dEDwXcPslyERAxtz3DUQ0NwYaYZmvyhx8DPvpzyRyMT +apDaX3cv6mUPd6GE7WwATKArBPRz3QmnMg== -----END EC PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.crt b/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.crt index 4e316edaa..25572353b 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.crt +++ b/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.crt @@ -1,16 +1,16 @@ -----BEGIN CERTIFICATE----- -MIICmzCCAYOgAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hmYwDQYJKoZIhvcNAQEL +MIICmzCCAYOgAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hnIwDQYJKoZIhvcNAQEL BQAwNTEUMBIGA1UEAwwLdmFuYWRpdW0uaW8xEDAOBgNVBAoMB2NvbXBhbnkxCzAJ -BgNVBAYTAlVTMB4XDTI0MDMyMTAxMjIzOFoXDTI5MDMyMDAxMjIzOFowPzEeMBwG +BgNVBAYTAlVTMB4XDTI0MTAwNzIxMTI0N1oXDTI5MTAwNjIxMTI0N1owPzEeMBwG A1UEAwwVZWNkc2EtNTIxLnZhbmFkaX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q25ePjo +E2kLXN+I77dDMdJgKnHivijZMEWP0UK9Drsgs/PUS17Ihx4GmX9nIXlPTkMH3pRC +KbhV+GfKv0eya/e5fLBRae7oRRiAk/E9MwqbtMl1HL5CQzgAs4BEs/58+M8A4vss +l+QVL+3/ArQlvLBG7HVlBX9dH29EI1y3Dva0DKHQwCD4kFrwZMF2l1EkW+aMx9og +xsL6uZl0DQ/rwlsQzUe9mGKLt666W90aqq9GIaNST2JFkl/shOYpSQmIcHerOdQ= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.csr b/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.csr index da56ef496..8f130e30d 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.csr +++ b/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.csr @@ -1,9 +1,9 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIBKzCB1AIBADA/MR4wHAYDVQQDDBVlY2RzYS01MjEudmFuYWRpdW0uaW8xEDAO +MIIBLTCB1AIBADA/MR4wHAYDVQQDDBVlY2RzYS01MjEudmFuYWRpdW0uaW8xEDAO BgNVBAoMB2NvbXBhbnkxCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZIzj0D -AQcDQgAEPsgByA6jA6du6QC0X73fvH//sMZR99eSZYw/e+f8aBOuid4vZHnI09nL -C7ewIctvwmWbtPjBUwG1wuArEbhMLaAzMDEGCSqGSIb3DQEJDjEkMCIwIAYDVR0R -BBkwF4IVZWNkc2EtNTIxLnZhbmFkaXVtLmlvMAoGCCqGSM49BAMCA0YAMEMCIBAZ -UYwvKqsQh5ko8VOM9NqXdCqMh9avncgROs6gKvYBAh8uZtcoIY8ghISEzE6HhuVp -Cqpflfq75QZRUsl/5cto +AQcDQgAEOHyKfW6erJbGvU4yk8DH2jbHWDIFok5+T8zwj4XLeoqnkEU9zVYGwTt9 +GIeq7PC3V5YRMe4mgOulNWdAzAIsF6AzMDEGCSqGSIb3DQEJDjEkMCIwIAYDVR0R +BBkwF4IVZWNkc2EtNTIxLnZhbmFkaXVtLmlvMAoGCCqGSM49BAMCA0gAMEUCIGC+ +MfJ4FSZy6ANxMMQQMSZZHt0zD4XRRCOWsHvX1P3PAiEArKIUUkmb/f4yz9+M8xki +VSRnqGwbVDlR1F5lYxl+6QY= -----END CERTIFICATE REQUEST----- diff --git a/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.key b/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.key index b53253540..e72606003 100644 --- a/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/ecdsa-521.vanadium.io.key @@ -2,7 +2,7 @@ BggqhkjOPQMBBw== -----END EC PARAMETERS----- -----BEGIN EC PRIVATE KEY----- -MHcCAQEEIN54sZ4flZ6CmsqBr8FYy7cS3R4gLbvNf9VTleoI788WoAoGCCqGSM49 -AwEHoUQDQgAEPsgByA6jA6du6QC0X73fvH//sMZR99eSZYw/e+f8aBOuid4vZHnI -09nLC7ewIctvwmWbtPjBUwG1wuArEbhMLQ== +MHcCAQEEIByOhRG5pqsbMbq1w4OSpDhlK04B4LlxtsIc801t4EiToAoGCCqGSM49 +AwEHoUQDQgAEOHyKfW6erJbGvU4yk8DH2jbHWDIFok5+T8zwj4XLeoqnkEU9zVYG +wTt9GIeq7PC3V5YRMe4mgOulNWdAzAIsFw== -----END EC PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.crt b/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.crt index b5c8ff246..742ea87f1 100644 --- a/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.crt +++ b/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.crt @@ -1,15 +1,15 @@ -----BEGIN CERTIFICATE----- -MIICaDCCAVCgAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hmcwDQYJKoZIhvcNAQEL +MIICaDCCA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oAUhHfwX4vWj6HwYY+i +oup+gaMdVlMwDQYJKoZIhvcNAQELBQADggEBAF1tXzqBWhagi4Rw3wWKl9ctOLPa +aWaqmWN+Fmwi7Gb4D4KoRIaUz+EA+hUmHNwlPVspOhhNNaANPz/F/nNVDk41gc3z +VcX+aMgVrkfw3g0l0BB20pmF3KReV92KuK8fHl2lmBliciMhf+JHe8cQKSGD/kHo +vEYjPCLSEuc3CHSQAdcB15eUnH5j3WXPbgdR362wFVwXTKPuMulcC0ZHtPy/YbVO +3hhTOZ4Xk4hvTWF9FdsooD/MoQ2M0ZsoJIHfaN0vnA8awvHstkrsPOJDRAzXUYZo +ZbPHExrF+cYC+W42j/Y2rpZlOjzYF09Kr21KKeOdsYslZ8sw6CjJuir3nK0= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.csr b/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.csr index 9859acafd..423efb098 100644 --- a/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.csr +++ b/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.csr @@ -1,8 +1,8 @@ -----BEGIN CERTIFICATE REQUEST----- MIHuMIGhAgEAMD0xHDAaBgNVBAMME2VkMjU1MTkudmFuYWRpdW0uaW8xEDAOBgNV -BAoMB2NvbXBhbnkxCzAJBgNVBAYTAlVTMCowBQYDK2VwAyEAi67c9fnXr9mFpULY -RJfNWQT51s3kE9qbc2chps+97tWgMTAvBgkqhkiG9w0BCQ4xIjAgMB4GA1UdEQQX -MBWCE2VkMjU1MTkudmFuYWRpdW0uaW8wBQYDK2VwA0EANlxoG/rAGGSQ/KJrDimj -6ZVCA9DaQxs22+AHaMnBgJ9vcLMBaJR3mY7HlLeEdw3z2kqwsdJj7FU5/OvYPbr9 -Dw== +BAoMB2NvbXBhbnkxCzAJBgNVBAYTAlVTMCowBQYDK2VwAyEARSAqYjiHBUiips2I +e1GkT3VEa8JMRUtt5EQxA1+nS26gMTAvBgkqhkiG9w0BCQ4xIjAgMB4GA1UdEQQX +MBWCE2VkMjU1MTkudmFuYWRpdW0uaW8wBQYDK2VwA0EAofibWHht4qhNrxDrTHdh +xNEgKYDRhmOBSAg8AzixijgbhHHfv/HM1R8Hr3M/phxyyMhd/WrHxwhoiZsI/8Mh +Cw== -----END CERTIFICATE REQUEST----- diff --git a/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.key b/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.key index 1f34a6b4a..2740f4e2b 100644 --- a/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/ed25519.vanadium.io.key @@ -1,3 +1,3 @@ -----BEGIN PRIVATE KEY----- -MC4CAQAwBQYDK2VwBCIEICvd5cEMsAJSdxphoGIuoLAsN91Nhjnm1LM5tUJTpSdy +MC4CAQAwBQYDK2VwBCIEIK9IxGiP+V01wCpYkJl35LbAEdVj75LbT1Vi0VmgTouo -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/encrypted.ecdsa-256.vanadium.io.key b/x/ref/test/sectestdata/testdata/encrypted.ecdsa-256.vanadium.io.key index f148749ca..ad1e3491b 100644 --- a/x/ref/test/sectestdata/testdata/encrypted.ecdsa-256.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/encrypted.ecdsa-256.vanadium.io.key @@ -1,8 +1,8 @@ -----BEGIN EC PRIVATE KEY----- Proc-Type: 4,ENCRYPTED -DEK-Info: AES-256-CBC,965C758122AFA1D2F2B5320727317C44 +DEK-Info: AES-256-CBC,ABCB9D9F6C692ADD6953550E9F0ECAF6 -6+vITDpQzzv/67izLwaBsPYgVYbrIyZrQjTLzCkXVFBbeNOWiSWtiLJN0zNxlJQO -C1QWXdYqTCFMLF7Iw5vvAlibBUdZSrN4LS/iv1lNefl4GcitOs3fOzN/FCHKz/7X -+wPyb4LrOVgYv6OyeKNhojWbxVxyzw0J7EYKbE68mJ0= +TS04MUyfdyGqoWFwnkIJCQ3DplSwUbYJ8XmKrldztnrd67iVkMNqaq4WlmDd+1Ga +2hSVANU5r+bNaBKPU4DlZhrcqcIEL1NUp85gG1iPMRMLpLfyBRBc0jafdx9e0ny3 +6wubKiMinqIv/z5ImZVmGiqbpmIquZrMU+OODajYVxQ= -----END EC PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/encrypted.ecdsa-384.vanadium.io.key b/x/ref/test/sectestdata/testdata/encrypted.ecdsa-384.vanadium.io.key index 52035fbe8..c90814828 100644 --- a/x/ref/test/sectestdata/testdata/encrypted.ecdsa-384.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/encrypted.ecdsa-384.vanadium.io.key @@ -1,8 +1,8 @@ -----BEGIN EC PRIVATE KEY----- Proc-Type: 4,ENCRYPTED -DEK-Info: AES-256-CBC,1A0139AF92CE541F8E3DBB21685E7CBF +DEK-Info: AES-256-CBC,84B26B42B4EF6350AA9C399E4ADC0B6C -lYbYX8vQmibRA0RPeJ/a8emBsu/CL0ZY0KYkiIxoRVKvGuZzEB5WuK6j4WtT4mY5 -exKzIg0Eepq3qjTgGn3NpNOFTffWh5FQHFan7cGDwHU501lzVg5/Bytj4dL6oQZC -pBrjMAcVUPAiV3KWWDawVmpTaxz27aoA+Iz575x82LQ= +Yn5sOksse3ppNg0IOjIPcWnf7Jq25FAhoGDuuqtMPfZWhbu+qwJUpvhCx7v5Mk7d +EuVE5id4nIfzI5YCBTm3ybXlIxlGl6Il5Oide3f7Q2UHlou5Ywft1kPXz/dE5Q9p +bqm170Rk8/3de2ytBwZy89/FfzOlApf72Ll6TAId18g= -----END EC PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/encrypted.ecdsa-521.vanadium.io.key b/x/ref/test/sectestdata/testdata/encrypted.ecdsa-521.vanadium.io.key index 969ff20f0..f9977e9b6 100644 --- a/x/ref/test/sectestdata/testdata/encrypted.ecdsa-521.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/encrypted.ecdsa-521.vanadium.io.key @@ -1,8 +1,8 @@ -----BEGIN EC PRIVATE KEY----- Proc-Type: 4,ENCRYPTED -DEK-Info: AES-256-CBC,386028D66E333549EA52A9AEBFF63ADC +DEK-Info: AES-256-CBC,5A4772C69798BB5F7E7D4D279EF155BE -cULnpm8ZUa+dcYLEa4YjbfYy2HEdAFMlggvDO+JLl3/2Ao0Q/HMsf4CyXCxf3Yli -f4PSkqmYbYcvLWN9gUwOHTkjdaOr7AzL81IlJ40FTPF7W1g7AqFXzYWHRDhHLXtS -oeVSibpOIzdHtCV3+2xyq00RYBsNorVRlqK+ruoov1I= +4qSMy+j6GGIDj2ylTsLW+wOVlAaxIbfPkBhUyyx1xclZ7dEL1/BzDTQk8HXczwJQ +W3VmPciOYGXpYcmUc71p7BzQOznixWE9+qmy+BC3roQ4mjk9riNWOFDSLBUZnwBA +noTYbtmPccbmzkxmhXFA4j+fzYs9nXuoS5Vozppbv48= -----END EC PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/encrypted.ed25519.vanadium.io.key b/x/ref/test/sectestdata/testdata/encrypted.ed25519.vanadium.io.key index 461b78041..639a58d99 100644 --- a/x/ref/test/sectestdata/testdata/encrypted.ed25519.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/encrypted.ed25519.vanadium.io.key @@ -1,6 +1,6 @@ -----BEGIN ENCRYPTED PRIVATE KEY----- -MIGjMF8GCSqGSIb3DQEFDTBSMDEGCSqGSIb3DQEFDDAkBBD/Mtko9urRE6qo71nd -hJuuAgIIADAMBggqhkiG9w0CCQUAMB0GCWCGSAFlAwQBKgQQGRMWHb6BMfyFPj9q -cHatWARAAs/AHCtUiRGXZiV6/KAoKp7wF9x233nsv9IOasXSNQt3EJH2zAI0m07G -5txQaq7XvCFfErPBDfRg+ZAWKf2dcw== +MIGjMF8GCSqGSIb3DQEFDTBSMDEGCSqGSIb3DQEFDDAkBBDu9F4d3HIddQU5T2d1 +dn0LAgIIADAMBggqhkiG9w0CCQUAMB0GCWCGSAFlAwQBKgQQmFivVcqxQyAFCSpV +joqTUwRAlAhSCEdnNxtaU+ntCmbmWxMm7zmwcNdU+vmA6Hzn6qom9z9sOZh2oymr +CS+uG8dMCesKNn6/dNnEdDguzSjKsQ== -----END ENCRYPTED PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/encrypted.rsa-2048.vanadium.io.key b/x/ref/test/sectestdata/testdata/encrypted.rsa-2048.vanadium.io.key index c6d7387bb..188c66dbd 100644 --- a/x/ref/test/sectestdata/testdata/encrypted.rsa-2048.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/encrypted.rsa-2048.vanadium.io.key @@ -1,30 +1,30 @@ -----BEGIN ENCRYPTED PRIVATE KEY----- -MIIFNTBfBgkqhkiG9w0BBQ0wUjAxBgkqhkiG9w0BBQwwJAQQPauFNFPS7sQ+MNjB -7rrJSgICCAAwDAYIKoZIhvcNAgkFADAdBglghkgBZQMEASoEEAR/XgQPaLEtiWvd -CuJWHL4EggTQIvIToQIkDvL2a+hhwvCJJm1fYO1BHIwosSSP2ayEtC86em+8HN5U -KntvkGB+u9FdfnGOyIirFEVhEHBRUpqWHeh+wS3k0PUsYXA5lr1j/r0QHKUChYEy -+BeRTMC29nSs6cvdyPmDSFZ/fvSPA1P44xbeZBCgZ44BK/2l8O0wPFiJzVwtbXP5 -3lwkZaJAyQa1w1V4OT76BQKThOLJNaq+aj3c5wibkUwkK2EoQeSOSrJEkW82hwOb -dAxc+EJQU96U2jJ+LnZ8yrk+nQmuZfBZ75BFDBVlAQQKkzUnvgwJeCQcerHrFFFy -ddcKlHqKJy49vSH8Uk4Mxm+vgv7B1BpiHXG/WM8PHC2lPyoAuX1jMqgZ6qnZ3grp -kPP9XSiAfjx4MUOA5bdw1j8QHBGTsDpa4eWikAp0z9cjUZlsyHfxMmgzFU/q2Sl+ -7nmALm1Y3ec1o7FoxiTiempsOYNQIsdYeoMVY6anqVNkSAF3v5ERkixS+Sy/kJVJ -GtU+nANvGtufiNHdwlQECK5COXWqxm9CFu1XyYg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q7xeWkuBVrZNb9zgpH0h170BLAxtG +rejfNeJp/R0iJC++cClGxZMiqpXRrw50GQ3D96V3ToD5eivvR+iCyXEuQ+AinHzS +aiSz4957Dj1I9B68JJgGHsKz5OIQY85wOqT4AfFD3H36Qojc0deBMgSfLGEMod24 +VAKLePP9lafrE6e/lfpkqKl5dTG4tniL2oELnjbiXkehy+YYAq6vBM92EkDVOjys +yuIla0XhIyg2q0AlHx0BMLZSO+RpHsVsOmkFWE10ubZVRs0LzkgX4AJOrjIgJ75M +cfJN/MDC1Uy9OnQtI5hteP5cpzsbqw9BtAZ9uBaz3eKvTeBCoShqMjgYNt1bNMC1 +JuluPg+OJGD/hCnDmt3tm7JClWjQ27boS/22b40tXqkKZ4lnZslSAjvCI05g72AL +/lQF/DjnwT3VUe6BieGRqykBefDA4cYS9mDchhcL/9tq4mC9GBrp6VOSnW9KOH5c +kEKTQiiPK8qJZlN7qD1GX14Qg7QqiedBJ6CtafSvslUvXXH6oTaAJVqnDoPljKKD +sx5ZpC6sNyKXhb2Y2nLfVj+6PF+YAaW3VbH7vDjpWVuPp3ryRCgfthoyVu+nXRHa +ECqxMqTgkoH5Xb0KcCjR5i8WuBAmDayZ+PZ3ZP8WjP/v2I2Io/d2aWWmwqdaVWqo +VcwfaKCZchq/yFPXHNHx4zpiCvtD2vQAdzeN5TGJ9ZaW/Nzm/EDVgRntoTirNHZb +nvlwaKgngqlaGS8WncR5AWkog7AmSqfnd74spST8uqD5+wYnf+A7vq0= -----END ENCRYPTED PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/encrypted.rsa-4096.vanadium.io.key b/x/ref/test/sectestdata/testdata/encrypted.rsa-4096.vanadium.io.key index 8fe23f240..9153b799b 100644 --- a/x/ref/test/sectestdata/testdata/encrypted.rsa-4096.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/encrypted.rsa-4096.vanadium.io.key @@ -1,54 +1,54 @@ -----BEGIN ENCRYPTED PRIVATE KEY----- -MIIJtTBfBgkq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c+kVOL61uJcK1fdWLhAokdcyOBibuo +cNb8wCeVFiOfoc2GU+Fvs3cNgmXpBTemyU4fCYvkv8jMOv9qMc9zx+4wcd48JQCC +NINRCBwn48Ttb4eso4Is3eAPpd8QZTc8of8ozofc+OtXEsCFNwBM2AuC5XRdxLBS +/hSBiD5XgoP4x2UIQCTOVH5/OndS1wTqLAcAb+9k91g1W7J0eGGkS10/VZIomwgE +uREIwT6OssXfsiYSlNklLRErnvP7UOnAziyNm3CS6YQxaz84sMESfJU= -----END ENCRYPTED PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/gen-letsencrypt-certs.sh b/x/ref/test/sectestdata/testdata/gen-letsencrypt-certs.sh index ed94d1b16..9eb862334 100644 --- a/x/ref/test/sectestdata/testdata/gen-letsencrypt-certs.sh +++ b/x/ref/test/sectestdata/testdata/gen-letsencrypt-certs.sh @@ -7,11 +7,15 @@ # account via console.cloud.google.com. service_account=$1 -# update root certs -for cert in letsencrypt-stg-int-r3.pem letsencrypt-stg-int-e1.pem; do +# update root and intermediate certs +for cert in letsencrypt-stg-root-x1.pem letsencrypt-stg-root-x2.pem; do curl -o ${cert} https://letsencrypt.org/certs/staging/${cert} done +#for cert in e1.pem e2.pem r3.pem r4.peml; do +# curl -o letsencrypt-stg-int-${cert} https://letsencrypt.org/certs/staging/letsencrypt-stg-int-${cert} +#done + run_certbot() { type="$1" to="$2" @@ -47,6 +51,8 @@ docker run \ cp "${workdir}/live/${to}/privkey.pem" ${to}.letsencrypt.key } +docker pull certbot/dns-google + run_certbot ecdsa www.labdrive.io 'www.labdrive.io' run_certbot ecdsa abc.labdrive.io 'a.labdrive.io' 'b.labdrive.io' 'c.labdrive.io' run_certbot rsa star.labdrive.io '*.labdrive.io' diff --git a/x/ref/test/sectestdata/testdata/gen-letsencrypt-fingerprints.sh b/x/ref/test/sectestdata/testdata/gen-letsencrypt-fingerprints.sh index 887b19189..aa584fb02 100644 --- a/x/ref/test/sectestdata/testdata/gen-letsencrypt-fingerprints.sh +++ b/x/ref/test/sectestdata/testdata/gen-letsencrypt-fingerprints.sh @@ -1,10 +1,10 @@ #!/bin/bash -for file in *.letsencrypt letsencrypt-stg-int-*.pem; do +for file in *.letsencrypt letsencrypt-stg-*.pem; do rm -f ${file}.fingeprint done -for file in *.letsencrypt letsencrypt-stg-int-*.pem; do +for file in *.letsencrypt letsencrypt-stg-*.pem; do openssl x509 -in $file --pubkey --noout | openssl ec --pubin --inform PEM --outform DER |openssl md5 -c | sed 's/MD5(stdin)= //' > ${file}.fingerprint diff --git a/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x1.pem b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x1.pem new file mode 100644 index 000000000..37655b25d --- /dev/null +++ b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x1.pem @@ -0,0 +1,32 @@ +-----BEGIN CERTIFICATE----- +MIIFmDCCA4CgAwIBAgIQU9C87nMpOIFKYpfvOHFHFDANBgkqhkiG9w0BAQsFADBm +MQswCQYDVQQGEwJVUzEzMDEGA1UEChMqKFNUQUdJTkcpIEludGVybmV0IFNlY3Vy +aXR5IFJlc2VhcmNoIEdyb3VwMSIwIAYDVQQDExkoU1RBR0lORykgUHJldGVuZCBQ +ZWFyIFgxMB4XDTE1MDYwNDExMDQzOFoXDTM1MDYwNDExMDQzOFowZjELMAkGA1UE +BhMCVVMxMzAxBgNVBAoTKihTVEFHSU5HKSBJbnRlcm5ldCBTZWN1cml0eSBSZXNl +YXJjaCBHcm91cDEiMCAGA1UEAxMZKFNUQUdJTkcpIFByZXRlbmQgUGVhciBYMTCC +AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALbagEdDTa1QgGBWSYkyMhsc +ZXENOBaVRTMX1hceJENgsL0Ma49D3MilI4KS38mtkmdF6cPWnL++fgehT0FbRHZg +jOEr8UAN4jH6omjrbTD++VZneTsMVaGamQmDdFl5g1gYaigkkmx8OiCO68a4QXg4 +wSyn6iDipKP8utsE+x1E28SA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KNEmR +xUuXY4xRdh45tMJnLTUDdC9FIU0flTeO9/vNpVA8OPU1i14vCz+MU8KX1bV3GXm/ +fxlB7VBBjX9v5oUep0o/j68R/iDlCOM4VVfRa8gX6T2FU7fNdatvGro7uQzIvWof +gN9WUwCbEMBy/YhBSrXycKA8crgGg3x1mIsopn88JKwmMBa68oS7EHM9w7C4y71M +7DiA+/9Qdp9RBWJpTS9i/mDnJg1xvo8Xz49mrrgfmcAXTCJqXi24NatI3Oc= +-----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x1.pem.fingerprint b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x1.pem.fingerprint new file mode 100644 index 000000000..4aa7bf66b --- /dev/null +++ b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x1.pem.fingerprint @@ -0,0 +1 @@ +6a:3b:68:1a:fd:c3:85:2c:6b:36:a8:52:ea:cc:7b:af diff --git a/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x2.pem b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x2.pem new file mode 100644 index 000000000..f627e1d56 --- /dev/null +++ b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x2.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICTjCCAdSgAwIBAgIRAIPgc3k5LlLVLtUUvs4K/QcwCgYIKoZIzj0EAwMwaDEL +MAkGA1UEBhMCVVMxMzAxBgNVBAoTKihTVEFHSU5HKSBJbnRlcm5ldCBTZWN1cml0 +eSBSZXNlYXJjaCBHcm91cDEkMCIGA1UEAxMbKFNUQUdJTkcpIEJvZ3VzIEJyb2Nj +b2xpIFgyMB4XDTIwMDkwNDAwMDAwMFoXDTQwMDkxNzE2MDAwMFowaDELMAkGA1UE +BhMCVVMxMzAxBgNVBAoTKihTVEFHSU5HKSBJbnRlcm5ldCBTZWN1cml0eSBSZXNl +YXJjaCBHcm91cDEkMCIGA1UEAxMbKFNUQUdJTkcpIEJvZ3VzIEJyb2Njb2xpIFgy +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEOvS+w1kCzAxYOJbA06Aw0HFP2tLBLKPo +FQqR9AMskl1nC2975eQqycR+ACvYelA8rfwFXObMHYXJ23XLB+dAjPJVOJ2OcsjT +VqO4dcDWu+rQ2VILdnJRYypnV1MMThVxo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYD +VR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU3tGjWWQOwZo2o0busBB2766XlWYwCgYI +KoZIzj0EAwMDaAAwZQIwRcp4ZKBsq9XkUuN8wfX+GEbY1N5nmCRc8e80kUkuAefo +uc2j3cICeXo1cOybQ1iWAjEA3Ooawl8eQyR4wrjCofUE8h44p0j7Yl/kBlJZT8+9 +vbtH7QiVzeKCOTQPINyRql6P +-----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x2.pem.fingerprint b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x2.pem.fingerprint new file mode 100644 index 000000000..753889f12 --- /dev/null +++ b/x/ref/test/sectestdata/testdata/letsencrypt-stg-root-x2.pem.fingerprint @@ -0,0 +1 @@ +f9:7b:ca:09:00:d5:79:e1:07:a1:09:02:c3:81:4a:15 diff --git a/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.crt b/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.crt index e3f67183c..3bb44c425 100644 --- a/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.crt +++ b/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.crt @@ -1,21 +1,21 @@ -----BEGIN CERTIFICATE----- -MIIDZDCCAkygAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hmIwDQYJKoZIhvcNAQEL +MIIDZDCCAkygAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hm4wDQYJKoZIhvcNAQEL BQAwNTEUMBIGA1UEAwwLdmFuYWRpdW0uaW8xEDAOBgNVBAoMB2Nv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rmlasMAoMm+JpNsLxekBXmRpXao17c83hriKGKNCVNBQoG7H -Luo63spgsr8= +BgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwwkX9Bvi +0RswF/6YOQ+v0uVh4MfuhEWtJHTv3RbZ9T4gLPBN2qynF1VKlZyP3r6TLZMf5k6L +viiehzjfuHZzdhKvLmfdtw3sr9Ov25qT744+FDC4nIrExJV85FBL7ho2FVn4e2At +K65UJULaL6mNEFHSrQS6FgxflsgI1iS6U1E3IIghCtOnX/IWmsLe/Htjfv6Uww6B +39Ts7/1pnph3dO89ybt8AIhr4vPNgy3PlWXL28qaGprkFrl2AqiR1ENGMxpPAbKf +Wwt+DVONohSDxktNH7msh9FVDaOIOnW8vi6wobwCldJON+7E6wuCEfnx3RxEmgYP +6CvAuFuNQ0KjIQIDAQABo2MwYTAfBgNVHREEGDAWghRyc2EtMjA0OC52YW5hZGl1 +bS5pbzAdBgNVHQ4EFgQUoZOidSPdPnfkd46/tg2atsWam8owHwYDVR0jBBgwFoAU +hHfwX4vWj6HwYY+ioup+gaMdVlMwDQYJKoZIhvcNAQELBQADggEBAF/z/n/vuYhX ++XID1serieTrx+ed/+/Lp3/sdU2yy7Uflnuj8tb7SWathGD3dgq7ZrBJS41wCIBz +OAxcQntVLkPGrObmTXT17AZ2/t73gBDBKmC+8wXrfiJdukgxFeXBF2AZbb+D4ck4 +BCMFmwM3r2t05Deyrt1rZFpTDTQBxTNtKJKH7j2dSO0sSZXO/iWHiOWR3tqY/wVb +VD8aZcOAeK/IZYb6wURH0Zbi+I/QR9bO28/uiLL3+sFnDSrpTWaknMvpN6UYqA2z +ASSb0wiTXvi7KowndGHnvFThn8mJ8+qwE01iE7n8+2CqhiqlUlXJCw4BBXGGOI88 +C62IrejN6NA= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.csr b/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.csr index b92aba8e3..5f72cc8c8 100644 --- a/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.csr +++ b/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.csr @@ -1,17 +1,17 @@ -----BEGIN CERTIFICATE REQUEST----- MIICtTCCAZ0CAQAwPjEdMBsGA1UEAwwUcnNhLTIwNDgudmFuYWRpdW0uaW8xEDAO BgNVBAoMB2NvbXBhbnkxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEA1wx4jnS82uizOEnZc7GAgYzAKYTWfVdL8zOKAgBIEKD3XLB3 -Z8tUieSrb/3D/A7AtGLq5U7MGpFuhKpFoGshOIZdyCePW9CzFEai2mDg4HuyXAwF -BHfjhGX08DKGtyNk6libBnFoPSSD5zZkytV0ML5SKuREBTtypUALBupZihsMDEYy -5fvLQ47DiXluZAHRb/a/3EFuvBg+so7lMXytnE0Q++Me/9XiSSoZQ4VLlqEinWSm -AiyUVyeEs0ODFfJS0fJKMYdUqWe6gqKYLRMNjf0BB/ZdAAH9AJv5sKYOQkKydUu5 -R5P2sApwjhKlrhm1Y5K8knEbOjIhbR3CvjDMcQIDAQABoDIwMAYJKoZIhvcNAQkO +AQ8AMIIBCgKCAQEAwwkX9Bvi0RswF/6YOQ+v0uVh4MfuhEWtJHTv3RbZ9T4gLPBN +2qynF1VKlZyP3r6TLZMf5k6LviiehzjfuHZzdhKvLmfdtw3sr9Ov25qT744+FDC4 +nIrExJV85FBL7ho2FVn4e2AtK65UJULaL6mNEFHSrQS6FgxflsgI1iS6U1E3IIgh +CtOnX/IWmsLe/Htjfv6Uww6B39Ts7/1pnph3dO89ybt8AIhr4vPNgy3PlWXL28qa +GprkFrl2AqiR1ENGMxpPAbKfWwt+DVONohSDxktNH7msh9FVDaOIOnW8vi6wobwC +ldJON+7E6wuCEfnx3RxEmgYP6CvAuFuNQ0KjIQIDAQABoDIwMAYJKoZIhvcNAQkO MSMwITAfBgNVHREEGDAWghRyc2EtMjA0OC52YW5hZGl1bS5pbzANBgkqhkiG9w0B -AQsFAAOCAQEAXskzahYsOLeUDxf+lIxy+TahvrSqihn/ZvMgvVXcLE2s3ElUiiuG -I67c9uFrkKwZjrW7diuMcRH3WvXMByFQo4iU/1zC5xJuaGJSjf8JXPqM8pE9bJQN -c+BL1PaLQ2JyxLBVH4VHdsSxGtyRhOUeejJ1aMiSo7SxrsXKe1ogzf0zyzM9LGpC -oKJgY+Ia0Xv623KOaw5VXxPmWw1Uyy7rIq6VsX5BL5iAOj1S5QOLuYedU6lEzWWu -nR/T7eAdhMRve/u17o/4fbyWTpYp8LHDne8JgQT470cfBkELTbpMILSBQ26MM0yw -8W9QCT10YPnSgKNzHYw7pO6H7w6ZyT5SAg== +AQsFAAOCAQEABnD/NjbHWgUhQQ1TA2jKO+W0OULSVEAoEUeg+83jAeZjC9hMjv2f +tQZxBCDjFmUVDVUe7P0bVHXvIkbwe/kLZeeVkKLv1jcbtuKqOHPggxLNi0F3ZXt+ +uy3GfXnGWeoADUH03gaiTXFP7BJeBCMJDG5EDSAlio2AazgVJAmNLo4YBz8iApcM ++z9pes6Kx8p6TTHB7wM5W9FlBaKBXM1vwToIFTPI6mzXxuwrjGUrqzpQwOkEuedf +vFAbrezUGJLhyNhvncayGSioLn9BuEUf+CoWshdrf/WV70tV4PfCXyL5P2oCi/YF +01Iup6dAZufrp7cxxuUpR+TQLVuSFcMaUw== -----END CERTIFICATE REQUEST----- diff --git a/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.key b/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.key index ceeeace8d..1b4095ca5 100644 --- a/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/rsa-2048.vanadium.io.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDXDHiOdLza6LM4 -SdlzsYCBjMAphNZ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ojym4VXzsw+HmZ0R6/rkw== -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.crt b/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.crt index c76d30674..ac85e56f6 100644 --- a/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.crt +++ b/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.crt @@ -1,26 +1,26 @@ -----BEGIN CERTIFICATE----- -MIIEZDCCA0ygAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hmMwDQYJKoZIhvcNAQEL +MIIEZDCCA0ygAwIBAgIUaeIbe1x1fI+nlPZRMidl0F97hm8wDQYJKoZIhvcNAQEL BQAwNTEUMBIGA1UEAwwLdmFuYWRpdW0uaW8xEDAOBgNVBAoMB2NvbXBhbnkxCzAJ -BgNVBAYTAlVTMB4XDTI0MDMyMTAxMjIzOFoXDTI5MDMyMDAxMjIzOFowPjEdMBsG +BgNVBAYTAlVTMB4XDTI0MTAwNzIxMTI0N1oXDTI5MTAwNjIxMTI0N1owPjEdMBsG A1UEAwwUcnNhLTQwOTYudmFuYWRpdW0uaW8xEDAOBgNVBAoMB2NvbXBhbnkxCzAJ -BgNVBAYTAlVTMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAvTUv8XTx -tcUnspRM2mihuG/PlmTlos0UZVEQIzyadY2dAOzjnCIdtCwLsH+YfT5gxSa5N4qR -WEw7oNMoV5KjwTN2NRAfQO3sVWW/LP4jfQSynkzBZ9bM2UWcZWUGTHJxH2C0bfDp -D/KWLHQspnN14F2nzy8ydlaZbOk29vo74vOmr4HDhKFhB0y6w302LhHxi4gzmts8 -TWkdnFytgPzea6CO0yldVQ/iS8HMiliIl2ruQWAdsip+Y+m3YrCn46Cvtxr9eJ9R -jisw4+GkIQkdVH8p8rORx/b9DulejUV4qJjQn+AG4Rg32RowdoJhf8aHlvVdXYct -XXG3COr19cttgmA7Vyp3Y3D0vC5mliYctyzF1CD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/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.csr b/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.csr index 3a508703a..744841d4c 100644 --- a/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.csr +++ b/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.csr @@ -1,28 +1,28 @@ -----BEGIN CERTIFICATE REQUEST----- MIIEtTCCAp0CAQAwPjEdMBsGA1UEAwwUcnNhLTQwOTYudmFuYWRpdW0uaW8xEDAO BgNVBAoMB2NvbXBhbnkxCzAJBgNVBAYTAlVTMIICIjANBgkqhkiG9w0BAQEFAAOC -Ag8AMIICCgKCAgEAvTUv8XTxtcUnspRM2mihuG/PlmTlos0UZVEQIzyadY2dAOzj -nCIdtCwLsH+YfT5gxSa5N4qRWEw7oNMoV5KjwTN2NRAfQO3sVWW/LP4jfQSynkzB -Z9bM2UWcZWUGTHJxH2C0bfDpD/KWLHQspnN14F2nzy8ydlaZbOk29vo74vOmr4HD -hKFhB0y6w302LhHxi4gzmts8TWkdnFytgPzea6CO0yldVQ/iS8HMiliIl2ruQWAd -sip+Y+m3YrCn46Cvtxr9eJ9Rjisw4+GkIQkdVH8p8rORx/b9DulejUV4qJjQn+AG -4Rg32RowdoJhf8aHlvVdXYctXXG3COr19cttgmA7Vyp3Y3D0vC5mliYctyzF1CDu -wNAPkOdXMz5/KDCTS+XZG2YK539WVA2/glSNrO/V0Gaq2EKA47/sucYNTVzE+zBR -pvSV2rfOWHuKPC6zSOy0kyC9JElGQYHZuC/i5kMSdWVYyAQfNUuX3fkDddSB9ZSY -c1DqboUwGnRXY5So2FuH+xd/x/q2X3ROpG9Rs2gci1Kduo5smfEo9MSs3PIJBHBH -9oc/jTxehws9pgzFiNxoZeElBZUZ7DZ0rRKkvHu4YuQ033Xqk84tGewWqzsUoaHo -r1dnd2gkN0I1UaJteLl4KnPSHUWxG6mWUDkJhL5oxlrAM6pdRSQqPE2vtEUCAwEA +Ag8AMIICCgKCAgEA1K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Mi/owXQ5Nc49KxYe471L0ojWK7sVD8lBiC56PpKm4I+S28u9bKWmqObmFK +xVHmE5dvNpYN -----END CERTIFICATE REQUEST----- diff --git a/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.key b/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.key index badcbbed6..c5d45c0e4 100644 --- a/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.key +++ b/x/ref/test/sectestdata/testdata/rsa-4096.vanadium.io.key @@ -1,52 +1,52 @@ -----BEGIN PRIVATE KEY----- -MIIJQQIBADANBgkqhkiG9w0BAQEFAASCCSswggknAgEAAoICAQC9NS/xdPG1xSey -lEzaaKG4b8+WZOWizRRlURAjPJp1jZ0A7OOcIh20LAuwf5h9PmDFJrk3ipFYTDug -0yhXkqPBM3Y1EB9A7exVZb8s/iN9BLKeTMFn1szZRZxlZQZMcnEfYLRt8OkP8pYs -dCymc3XgXafPLzJ2Vpls6Tb2+jvi86avgcOEoWEHTLrDfTYuEfGLiDOa2zxNaR2c -XK2A/N5roI7TKV1VD+JLwcyKWIiXau5BYB2yKn5j6bdisKfjoK+3Gv14n1GOKzDj -4aQhCR1Ufynys5HH9v0O6V6NRXiomNCf4AbhGDfZGjB2gmF/xoeW9V1dhy1dcbcI -6vX1y22CYDtXKndjcPS8LmaWJhy3LMXUIO7A0A+Q51czPn8oMJNL5dkbZgrnf1ZU -Db+CVI2s79XQZqrYQoDjv+y5xg1NXMT7MFGm9JXat85Ye4o8LrNI7LSTIL0kSUZB -gdm4L+LmQxJ1ZVjIBB81S5fd+QN11IH1lJhzUOpuhTAadFdjlKjYW4f7F3/H+rZf -dE6kb1GzaByLUp26jmyZ8Sj0xKzc8gkEcEf2hz+NPF6HCz2mDMWI3Ghl4SUFlRns -NnStEqS8e7hi5DTfdeqTzi0Z7BarOxShoeivV2d3aCQ3QjVRom14uXgqc9IdRbEb -qZZQOQmEvmjGWsAzql1FJCo8Ta+0RQIDAQABAoICAFzLMIO1jHPOyQ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JY97rZmK6mE5FyE6Zq2o4x +VfVCR/CcTnn19OCua54OyCfF+hRk9s7usLcsPuIe3bocCeKPijhI0mItH2GP9Wyy +eZDlFeiVetyYFEm9wg7zh1P2QmvcVP5eeHjJYU7eP43egI/invUJ6xiNL00q4hfT +LJSzSh2jx6iz8CUvUIKzL0+WwjUP7uHBdNcQxNZpxxx/KrovI/+Y0HbAbemxShmq +/x1NJI1RijPbBvQqjZPh4pS8hGh2it4LJTEVdo5YQF++uoYB41JeAcHDZPUsqjzn +6bzoFy4yiiNfo/y5eJV68D19TmYa -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt b/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt index be081fc45..842ac95b5 100644 --- a/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt +++ b/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt @@ -1,61 +1,61 @@ -----BEGIN CERTIFICATE----- -MIIFGDCCBACgAwIBAgISKz++hLwH2oPNT2GsTTUK/PxMMA0GCSqGSIb3DQEBCwUA -MFkxCzAJBgNVBAYTAlVTMSAwHgYDVQQKExcoU1RBR0lORykgTGV0J3MgRW5jcnlw -dDEoMCYGA1UEAxMfKFNUQUdJTkcpIEFydGlmaWNpYWwgQXByaWNvdCBSMzAeFw0y -NDAzMjEwMDMzMzBaFw0yNDA2MTkwMDMzMjlaMBgxFjAUBgNVBAMMDSoubGFiZHJp -dmUuaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC5iWf8gx1xxtqy -XJ52oNvHDPQG/xNABDb4L9HaA/+3MxOzBtuUoM2+Wg/1hOjmvdHuz13ubfTBAdMy -aTpPySUmIOW14U3tYbceTNciekNy4g3dARC1nyU/jXDhBta2LPtJr4YzpIRVfPaN -179b5nZthTjawiz6cpi8ZCO6E89x+scQlPFAnwwL6dFrziHcSIEE5pW+Y/0JB0QH -+63BA4BLwKoPM8kgxs0C31jcPE42M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pLR/AJoz4nHXIaDQRyfaA3jr1VYpK+bA +poIXAjgxR/vEFtbEHw7fNO3FKRCddvyJ0vh+OKIrY0nrbGUoyRlPlKF/9XrQ3UJo +Zc708mBBjzqijXdUQ0TB1/irAAQ7O/6i+ThQxElt77gYWzv2/8sSoagzqRKXOqLJ +ckNJQIA39t4HMIFgqxDLRuRNtooFUeoOvocDWTQr80bUp6357cBtAl7ypcOzrPK6 +m5cuuyZfQ7zdh5ufcfMdFbgjwfeN8d442EzBnLxoMA9T2Igfn7KOhFl3znZ+WJhS +h+oyBS8PrKUKB2Xo9pnXma6123xyFPDapnuK3iiNpGJfI0sULCqjEodYG+aGyfCz +ZFLWftbU683YxZCOddgYxHI= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.fingerprint b/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.fingerprint index b24a0810c..ef855227b 100644 --- a/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.fingerprint +++ b/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.fingerprint @@ -1 +1 @@ -1b:bb:05:d4:0c:00:66:31:41:4f:f6:30:04:c1:79:5d +80:b4:86:8d:5e:f2:2d:ec:2b:17:7a:2e:75:11:f8:99 diff --git a/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.key b/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.key index b2af87653..4d12d08ca 100644 --- a/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.key +++ b/x/ref/test/sectestdata/testdata/star.labdrive.io.letsencrypt.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC5iWf8gx1xxtqy -XJ52oNvHDPQG/xNABDb4L9HaA/+3MxOzBtuUoM2+Wg/1hOjmvdHuz13ubfTBAdMy -aTpPySUmIOW14U3tYbceTNciekNy4g3dARC1nyU/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U9uzb+Ph840VyvP1N0MbrODGEJ0W +irlcDEDud5NoyLssuQHQH9JQI4E0vtA84wvIe2bjZQKBgQDv1svLqtXt6ubHhA/A +eWyi2pKH4QEby5oyDwUT42yB4BmeUgb5vi1wJDbQQNdRMFse2JjFhK4YaUxXr2Tk +CnnBmoiJzWAPhalvUeUPjlCAhCRt9KYFpc5baIjBMMsGZNWquHJywVB+RzNdTv06 +uT61xxl7VJSf8a94UxWNRFhA1wKBgQC/GipUamyX1LCWW7Okef8Blm149Xjv8uDR +oq9qHN6LPPRFMu/ffoa1tOQn6KuRiyZ9ZV8H6RJZ+Xzm+HXIUyM737FzUM5lhuiV +YyjkVZ25aiuyNdEd1fxxQ55wavZ+YXvwDs3MXom9Y83Ujwn+Yvul3NRp7KYDjAV+ +8K05VnKujQKBgAVxGziozKfUT54xSeY1Gxjq2q5Ilazaxsnh+1yDKYAc5JfqBox+ +GyvTNoctIXWPIlIl2fmJVCXrpbbLnP9rmW2iIvz1cvuHLdv/wLHEqeDwnp78ERRJ +uc/rJEc14zVm7k4sVzRxXHExDmJMm4RMlbasKNDaj3C9nByfzfphlZsLAoGAZIkx +Z8OtaZsdY5zOv2LnA0DOSuppO2L9X4xE2IBjm8DviVAo3d1EpWeK+Gvxhto735Br +FFBLtUYJrcFcxYznZmJiipYiX0tAJQdLxgQ8vATdBB5H63heHIBEZEQBda93cm13 +W2MI97f/2yl9SnVsim/I2AkFtav+YC/iEd4m6ykCgYAttbuAx4LOH+B771hcH+P9 +LRHA+ewb971MH6V5XkSbIReiwYhzohxPFV7bnEIpSPsV1rQlk/7FhUbykM8SOk5t +DtZXqJHV+oKeYJwOdkjPbvQcFA57FCPxyZsLyZyX1zRT6hQwgMlU/isoPjfP+SSo +izU2l1D8iWIGTh8ZzPG50Q== -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/vanadium.io.ca.pem b/x/ref/test/sectestdata/testdata/vanadium.io.ca.pem index b6a0e620c..abce680ee 100644 --- a/x/ref/test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vU6 +8yRhTJttXomV0FT8rgpW1iDIKFe4zLnQ55iAoVMKZHlgUxfGgPjSoQSO+Y+gh/Qs +WX4FXlJey5sal/ceQ0r/k7BsCvovF5dGbhk11CnorFkhqgherx4B2cSlh+BTjwtv +JdqWeEPLr7X5OgHqKqFbOjyITsAxKuPSch9BvxTqjaikmV1ZcOrl8AGiL0jFWHi7 +Fgq7n9GT6w== -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/vanadium.io.key.pem b/x/ref/test/sectestdata/testdata/vanadium.io.key.pem index c261e71f0..d66e9b4a8 100644 --- a/x/ref/test/sectestdata/testdata/vanadium.io.key.pem +++ b/x/ref/test/sectestdata/testdata/vanadium.io.key.pem @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDF5YUXYWm7BSnY -Ahzq/Y/HZxcGMAcLRgFjw4DYR818Fhrsn3L3UepgyVleZ4pX3JomVuNMycV5atbO -EmMWOTzHNZc0LuKmTJkgFgjWtLqCb9drJV2T5HJSRSOuR5C9uCsc+CQo7mLZ1bJB -VPNWIq45sMIlXQToPEmC+84/qKY88J20WPB+mRlce9CFyrLdNR75bvRbMw47hfy2 -3oSqU7wzMnZi+7VYuArlZiCsSRt7DXvu84yyjOnWkwGopnLR+6hFiGjhH9YDhF7H -bV+OdcRscJCjhM4ArMdIYoA8jUWzULRE04SYngaWDEaUcPvctmX6Hda1G61MI8t/ -kA2g3vErAgMBAAECggEAFFItk362Rl+7semtode9uY0gHnY0vaHyUes+bMxwEPY4 -IjomqmIn/h5O5f8d2UiBhRRWV4k/P5OKpoiEJ5ZjDlW2HBlVvsaOJsRRzgeq6z/5 -epAmBsy7jIUlqnzAzn/TNYX+4zvEvMz7y/JMNnkYiOYErvounyZUVMtEnOGAMzDs -+Mpub+cY8RZXSpWyBYdSMrrKEnxDl+/ion1BGOzS1OlI6yIVkuObt3CKWSMmGeH9 -LQoSSm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x0rcphN3UF2K +LtHIU0/pdHAhGBeNKQ/8s7DHroZPcj4eh6zxIEi+c6QnqQaEO8lme7p9foEiibNF +EjE2aVrPkzZNxFQfiDG2tWm212VdyhQYWSMsfbtcZPPhmD0OoaXQan1VaQKBgQCY +B/oEiBR9O/g2tOEMKgkKH/ljNJtSfkfxnqEDj5hmbT0zSUyNukG1/1IFnVvTvWV2 +90sqo0i1KDS86SKPzp63FWClCLyfyGsdab+ghsM1im+Iqc70hNoVwURXK9ihLMe0 +7fTevDQpOGc/R24QcClQqpUeWQji7lDkXwW1TFQqRQKBgQDCQ8apd3kNVjLGUTFH +Gb1hnXi4qOBARjnScCK41VLUaDtBaJmlA0UkxIXoYwrf2ZNyx9CbemVKaPwXlDtX +6tQ3cbAI3wujox3gYLGrPe1cF1o5c+HtlrLLX4RY+Czh9MkSCp4LaShrdSvhn2/F +yUZIZZrBCb3a+m6Y2D/5KLJF5Q== -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt b/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt index b1919a8c9..58b9f6568 100644 --- a/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt +++ b/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt @@ -1,68 +1,49 @@ -----BEGIN CERTIFICATE----- -MIIDsTCCAzegAwIBAgISK0krdz6Ih4rqCduwxOm0+e3gMAoGCCqGSM49BAMDMFUx -CzAJBgNVBAYTAlVTMSAwHgYDVQQKExcoU1RBR0lORykgTGV0J3MgRW5jcnlwdDEk -MCIGA1UEAxMbKFNUQUdJTkcpIEVyc2F0eiBFZGFtYW1lIEUxMB4XDTI0MDMyMTAw -MzEwNVoXDTI0MDYxOTAwMzEwNFowGjEYMBYGA1UEAxMPd3d3LmxhYmRyaXZlLmlv -MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzWcefAUCkod9ze9+k3MQTioOn1W4 -mRL9u+vbYo7hHxgWkmdU7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eLVU4JVbauhOYZASQXABNeXewe9lqJWwfqaARYpRjyf+jRibn22H5NVK4Vog +l55Iq1rUgjc8r493NaNrlNwG7va7Ztkch5lJ3oL/FEVlVSK4snTbgb0b5qjQz3SA +i7rA/8QRZvOLnKNtdEUlDZNrzkZwHNluLGw= -----END CERTIFICATE----- diff --git a/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.fingerprint b/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.fingerprint index a4fd7cc5a..e7c146325 100644 --- a/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.fingerprint +++ b/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.fingerprint @@ -1 +1 @@ -32:92:98:0f:05:bf:fc:a4:be:e0:07:2e:02:03:13:ce +33:37:a3:af:b8:24:ed:b1:83:68:d2:57:1d:bf:b2:56 diff --git a/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.key b/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.key index ce4405137..7ef9d0ce5 100644 --- a/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.key +++ b/x/ref/test/sectestdata/testdata/www.labdrive.io.letsencrypt.key @@ -1,5 +1,5 @@ -----BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg26OBsQdptLiPEh2P -W5wkhwU6DMVzuJtK3M7sJTGg+GehRANCAATNZx58BQKSh33N736TcxBOKg6fVbiZ -Ev2769tijuEfGBaSZ1TudRR9Ta+ehmkVezPioghd771lKosggPNWNPht +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgg9yRD2xcOgEobb/T +o7nNbUfkwT7//83PU/kcSaMHaEihRANCAAR6As2N3kzK9vGiOR4ewiK1Fu1ZyRKp +oTik+mcMsfX5GXDKHSWuckWAzLlMz23o9XOtiWINBnyd/VjBF1pkDf1Y -----END PRIVATE KEY----- diff --git a/x/ref/test/sectestdata/util.go b/x/ref/test/sectestdata/util.go index 94ad963bf..dedaed0ab 100644 --- a/x/ref/test/sectestdata/util.go +++ b/x/ref/test/sectestdata/util.go @@ -54,9 +54,11 @@ func loadPrivateKey(data []byte) (crypto.PrivateKey, error) { return nil, fmt.Errorf("failed to load private key") } -func loadCerts(data []byte) ([]*x509.Certificate, error) { +func loadCerts(data []byte) ([]*x509.Certificate, [][]byte, error) { certs := []*x509.Certificate{} + pemBytes := make([][]byte, 0) rest := data + prev := data for { var block *pem.Block block, rest = pem.Decode(rest) @@ -64,41 +66,47 @@ func loadCerts(data []byte) ([]*x509.Certificate, error) { break } if block.Type != "CERTIFICATE" { - panic(fmt.Sprintf("wrong PEM type, expected CERTIFICATE: %v", block.Type)) + return nil, nil, fmt.Errorf("wrong PEM type, expected CERTIFICATE: %v", block.Type) } cert, err := x509.ParseCertificate(block.Bytes) if err != nil { - panic(err) + return nil, nil, fmt.Errorf("failed to parse cert: %v", err) } certs = append(certs, cert) + pemBytes = append(pemBytes, prev[:len(prev)-len(rest)]) + prev = rest } if len(certs) == 0 { - return nil, fmt.Errorf("no public certs") + return nil, nil, fmt.Errorf("no public certs") } - return certs, nil + return certs, pemBytes, nil } -func loadCA(cert *x509.Certificate, data []byte) (x509.VerifyOptions, error) { - block, _ := pem.Decode(data) - if block.Type != "CERTIFICATE" { - return x509.VerifyOptions{}, fmt.Errorf("wrong PEM type, expected CERTIFICATE: %v", block.Type) - } - rootCert, err := x509.ParseCertificate(block.Bytes) - if err != nil { - return x509.VerifyOptions{}, err - } +func loadCA(cert *x509.Certificate, intermediates [][]byte, roots [][]byte) (x509.VerifyOptions, error) { certPool, err := x509.SystemCertPool() if err != nil { return x509.VerifyOptions{}, err } - certPool.AddCert(rootCert) opts := x509.VerifyOptions{ Roots: certPool, } if cert != nil { opts.CurrentTime = cert.NotBefore.Add(48 * time.Hour) } + for _, root := range roots { + if !certPool.AppendCertsFromPEM(root) { + return x509.VerifyOptions{}, fmt.Errorf("failed to add root cert") + } + } + if len(intermediates) > 1 { + opts.Intermediates = x509.NewCertPool() + for _, intermediate := range intermediates[1:] { + if !opts.Intermediates.AppendCertsFromPEM(intermediate) { + return x509.VerifyOptions{}, fmt.Errorf("failed to add intermediate cert: %s", intermediate) + } + } + } return opts, nil }