Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for pubKeys (0.23 sec)

  1. pkg/controlplane/apiserver/config.go

    	}
    
    	// Load and set the public keys.
    	var pubKeys []interface{}
    	for _, f := range opts.Authentication.ServiceAccounts.KeyFiles {
    		keys, err := keyutil.PublicKeysFromFile(f)
    		if err != nil {
    			return nil, nil, fmt.Errorf("failed to parse key file %q: %w", f, err)
    		}
    		pubKeys = append(pubKeys, keys...)
    	}
    	config.ServiceAccountIssuerURL = opts.Authentication.ServiceAccounts.Issuers[0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    	}
    	cfg := Config{
    		Enabled:            r.Enabled,
    		arnProviderCfgsMap: make(map[arn.ARN]*providerCfg, len(r.arnProviderCfgsMap)),
    		ProviderCfgs:       make(map[string]*providerCfg, len(r.ProviderCfgs)),
    		pubKeys:            r.pubKeys,
    		roleArnPolicyMap:   make(map[arn.ARN]string, len(r.roleArnPolicyMap)),
    		transport:          r.transport,
    		closeRespFn:        r.closeRespFn,
    	}
    	for k, v := range r.arnProviderCfgsMap {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	// Parse the public key from a file
    	pubKeys, err := keyutil.PublicKeysFromFile(publicKeyPath)
    	if err != nil {
    		return nil, nil, errors.Wrapf(err, "couldn't load the public key file %s", publicKeyPath)
    	}
    
    	// Allow RSA and ECDSA formats only
    	switch k := privKey.(type) {
    	case *rsa.PrivateKey:
    		return k, pubKeys[0].(*rsa.PublicKey), nil
    	case *ecdsa.PrivateKey:
    		return k, pubKeys[0].(*ecdsa.PublicKey), nil
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. src/crypto/ed25519/ed25519_test.go

    			t.Errorf("recreating key pair gave different private key on line %d: %x vs %x", lineNo, priv[:], priv2)
    		}
    
    		if pubKey2 := priv2.Public().(PublicKey); !bytes.Equal(pubKey, pubKey2) {
    			t.Errorf("recreating key pair gave different public key on line %d: %x vs %x", lineNo, pubKey, pubKey2)
    		}
    
    		if seed := priv2.Seed(); !bytes.Equal(priv[:32], seed) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/crypto/tls/auth.go

    		pubKey, ok := pubkey.(ed25519.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an Ed25519 public key, got %T", pubkey)
    		}
    		if !ed25519.Verify(pubKey, signed, sig) {
    			return errors.New("Ed25519 verification failure")
    		}
    	case signaturePKCS1v15:
    		pubKey, ok := pubkey.(*rsa.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an RSA public key, got %T", pubkey)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. pilot/pkg/model/jwks_resolver.go

    		// Update cached key's last used time.
    		e.lastUsedTime = now
    		e.timeout = timeout
    		r.keyEntries.Store(key, e)
    		if e.pubKey == "" {
    			return e.pubKey, errEmptyPubKeyFoundInCache
    		}
    		return e.pubKey, nil
    	}
    
    	var err error
    	var pubKey string
    	if jwksURI == "" {
    		// Fetch the jwks URI if it is not hardcoded on config.
    		jwksURI, err = r.resolveJwksURIUsingOpenID(issuer, timeout)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/signing_plugin.adoc

    ====
    
    [[sec:subkeys]]
    === Using OpenPGP subkeys
    
    OpenPGP supports subkeys, which are like the normal keys, except they're bound to a master key pair. One feature of OpenPGP subkeys is that they can be revoked independently of the master keys which makes key management easier. A practical case study of how subkeys can be leveraged in software development can be read on the https://wiki.debian.org/Subkeys[Debian wiki].
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    	if err != nil {
    		return "", "", err
    	}
    	pubkey := append([]byte{algEd25519}, pub...)
    	privkey := append([]byte{algEd25519}, priv.Seed()...)
    	h := keyHash(name, pubkey)
    
    	skey = fmt.Sprintf("PRIVATE+KEY+%s+%08x+%s", name, h, base64.StdEncoding.EncodeToString(privkey))
    	vkey = fmt.Sprintf("%s+%08x+%s", name, h, base64.StdEncoding.EncodeToString(pubkey))
    	return skey, vkey, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkLocator.java

            }
        }
    
        private void locateSdksInRegistry(String baseKey) {
            try {
                List<String> subkeys = windowsRegistry.getSubkeys(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, baseKey + REGISTRY_ROOTPATH_SDK);
                for (String subkey : subkeys) {
                    try {
                        String basePath = baseKey + REGISTRY_ROOTPATH_SDK + "\\" + subkey;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

          mapKey:
            nonNilKey: foo
      - description: nested map that all subkeys are nil
        originalObj:
          mapKey:
            nilKey1: null
            nilKey2: null
        expectedWithNull:
          mapKey:
            nilKey1: null
            nilKey2: null
        expectedWithoutNull: {}
      - description: nested map that all subkeys are non-nil
        originalObj:
          mapKey:
            nonNilKey1: foo
            nonNilKey2: bar
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top