Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for malformed (0.21 sec)

  1. internal/config/identity/openid/jwks.go

    	D   string `json:"d,omitempty"`
    	N   string `json:"n,omitempty"`
    	E   string `json:"e,omitempty"`
    	K   string `json:"k,omitempty"`
    }
    
    var (
    	errMalformedJWKRSAKey = errors.New("malformed JWK RSA key")
    	errMalformedJWKECKey  = errors.New("malformed JWK EC key")
    )
    
    // DecodePublicKey - decodes JSON Web Key (JWK) as public key
    func (key *JWKS) DecodePublicKey() (crypto.PublicKey, error) {
    	switch key.Kty {
    	case "RSA":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

              }
              else -> return false // Malformed.
            }
          }
          pos++ // Consume '-'.
        }
    
        var n = INITIAL_N
        var i = 0
        var bias = INITIAL_BIAS
    
        while (pos < limit) {
          val oldi = i
          var w = 1
          for (k in BASE until Int.MAX_VALUE step BASE) {
            if (pos == limit) return false // Malformed.
            val c = string[pos++]
            val digit =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. cmd/signature-v4-parser_test.go

    		{
    			inputCredentialStr:  "Cred=",
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrMissingCredTag,
    		},
    		// Test Case - 3.
    		// Test case with malformed credentials.
    		{
    			inputCredentialStr:  "Credential=abc",
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrCredMalformed,
    		},
    		// Test Case - 4.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    	updatedAt := UTCNow()
    
    	for _, file := range zr.File {
    		slc := strings.Split(file.Name, slashSeparator)
    		if len(slc) != 2 { // expecting bucket/configfile in the zipfile
    			rpt.SetStatus(file.Name, "", fmt.Errorf("malformed zip - expecting format bucket/<config.json>"))
    			continue
    		}
    		bucket := slc[0]
    		meta, err := readBucketMetadata(ctx, objectAPI, bucket)
    		if err == nil {
    			bucketMap[bucket] = &meta
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    	AmzObjectLockLegalHold           = "X-Amz-Object-Lock-Legal-Hold"
    )
    
    var (
    	// ErrMalformedBucketObjectConfig -indicates that the bucket object lock config is malformed
    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    	// ErrInvalidRetentionDate - indicates that retention date needs to be in ISO 8601 format
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. cmd/sts-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSMalformedPolicyDocument: {
    		Code:           "MalformedPolicyDocument",
    		Description:    "The request was rejected because the policy document was malformed.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSInsecureConnection: {
    		Code:           "InsecureConnection",
    		Description:    "The request was made over a plain HTTP connection. A TLS connection is required.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. internal/crypto/error.go

    	errMissingInternalSealAlgorithm = Errorf("The object metadata is missing the internal seal algorithm")
    
    	errInvalidInternalIV            = Errorf("The internal encryption IV is malformed")
    	errInvalidInternalSealAlgorithm = Errorf("The internal seal algorithm is invalid and not supported")
    )
    
    // errOutOfEntropy indicates that the a source of randomness (PRNG) wasn't able
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. cmd/jwt.go

    	errNoAuthToken        = errors.New("JWT token missing")
    	errSkewedAuthTime     = errors.New("Skewed authentication date/time")
    	errMalformedAuth      = errors.New("Malformed authentication input")
    )
    
    type cacheKey struct {
    	accessKey, secretKey, audience string
    }
    
    var cacheLRU = expirable.NewLRU[cacheKey, string](1000, nil, 15*time.Second)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. internal/etag/etag.go

    // ETag.
    func (e ETag) Parts() int {
    	if !e.IsMultipart() {
    		return 1
    	}
    
    	n := bytes.IndexRune(e, '-')
    	parts, err := strconv.Atoi(string(e[n+1:]))
    	if err != nil {
    		panic(err) // malformed ETag
    	}
    	return parts
    }
    
    // Format returns an ETag that is formatted as specified
    // by AWS S3.
    //
    // An AWS S3 ETag is 16 bytes long and, in case of a multipart
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    func (e OperationTimedOut) Error() string {
    	return "Operation timed out"
    }
    
    // Multipart related errors.
    
    // MalformedUploadID malformed upload id.
    type MalformedUploadID struct {
    	UploadID string
    }
    
    func (e MalformedUploadID) Error() string {
    	return "Malformed upload id " + e.UploadID
    }
    
    // InvalidUploadID invalid upload id.
    type InvalidUploadID struct {
    	Bucket   string
    	Object   string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top