Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for subtree (0.18 sec)

  1. cmd/auth-handler.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/subtle"
    	"encoding/base64"
    	"encoding/hex"
    	"errors"
    	"io"
    	"mime"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/minio/internal/auth"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/kms-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"crypto/subtle"
    	"encoding/json"
    	"io"
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/signature-v2.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"crypto/hmac"
    	"crypto/sha1"
    	"crypto/subtle"
    	"encoding/base64"
    	"fmt"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    
    	xhttp "github.com/minio/minio/internal/http"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    			if subtle.ConstantTimeCompare(oldKey, newKey) == 1 {
    				return errInvalidSSEParameters // AWS returns special error for equal but invalid keys.
    			}
    			return crypto.ErrInvalidCustomerKey // To provide strict AWS S3 compatibility we return: access denied.
    
    		}
    		if subtle.ConstantTimeCompare(oldKey, newKey) == 1 && sealedKey.Algorithm == crypto.SealAlgorithm {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"crypto/subtle"
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    	xsftp "github.com/minio/pkg/v2/sftp"
    	"github.com/pkg/sftp"
    	"golang.org/x/crypto/ssh"
    )
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    // types.
    // - Based on Authorization header.
    // - Based on Query parameters.
    // - Based on Form POST policy.
    package cmd
    
    import (
    	"bytes"
    	"crypto/subtle"
    	"encoding/hex"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio-go/v7/pkg/set"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock.go

    	maximumRetentionDays  = 36500
    	maximumRetentionYears = 100
    )
    
    // UnmarshalXML - decodes XML data.
    func (dr *DefaultRetention) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type defaultRetention DefaultRetention
    	retention := defaultRetention{}
    
    	if err := d.DecodeElement(&retention, &start); err != nil {
    		return err
    	}
    
    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)
  8. internal/kms/kes.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"bytes"
    	"context"
    	"crypto/subtle"
    	"crypto/tls"
    	"crypto/x509"
    	"errors"
    	"fmt"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v2/env"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/pkg/v2/certs"
    )
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. internal/auth/credentials.go

    func (cred Credentials) Equal(ccred Credentials) bool {
    	if !ccred.IsValid() {
    		return false
    	}
    	return (cred.AccessKey == ccred.AccessKey && subtle.ConstantTimeCompare([]byte(cred.SecretKey), []byte(ccred.SecretKey)) == 1 &&
    		subtle.ConstantTimeCompare([]byte(cred.SessionToken), []byte(ccred.SessionToken)) == 1)
    }
    
    var timeSentinel = time.Unix(0, 0).UTC()
    
    // ErrInvalidDuration invalid token expiry
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. cmd/ftp-server-driver.go

    			return len(ldapPolicies) > 0, nil
    		}
    		return subtle.ConstantTimeCompare([]byte(sa.Credentials.SecretKey), []byte(password)) == 1, nil
    	}
    
    	ui, ok := globalIAMSys.GetUser(context.Background(), username)
    	if !ok {
    		return false, nil
    	}
    	return subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), []byte(password)) == 1, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top