Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for qsig (0.13 sec)

  1. cmd/streaming-signature-v4.go

    		valueBuffer.Write([]byte{'\n'})
    	}
    	sig = sig[len("x-amz-trailer-signature:"):]
    	sig = bytes.TrimSpace(sig)
    	cr.chunkSHA256Writer.Write(valueBuffer.Bytes())
    	wantSig := cr.getTrailerChunkSignature()
    	if !compareSignatureV4(string(sig), wantSig) {
    		if cr.debug {
    			fmt.Printf("signature, want: %q, got %q\nSignature buffer: %q\n", wantSig, string(sig), valueBuffer.String())
    		}
    		return errSignatureMismatch
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  2. docs/ftp/README.md

    `--sftp=pub-key-algos=...` specifies the supported client public key
    authentication algorithms. Note that this doesn't include certificate types
    since those use the underlying algorithm. This list is sent to the client if
    it supports the server-sig-algs extension. Order is irrelevant.
    
    Valid values
    ```
    ssh-ed25519
    ******@****.***
    ******@****.***
    ecdsa-sha2-nistp256
    ecdsa-sha2-nistp384
    ecdsa-sha2-nistp521
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. cmd/signature-v2.go

    //
    // CanonicalizedProtocolHeaders = <described below>
    
    // doesSignV2Match - Verify authorization header with calculated header in accordance with
    //     - http://docs.aws.amazon.com/AmazonS3/latest/dev/auth-request-sig-v2.html
    // returns true if matches, false otherwise. if error is not nil then it is always false
    
    func validateV2AuthHeader(r *http.Request) (auth.Credentials, APIErrorCode) {
    	var cred auth.Credentials
    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/peer-rest-client.go

    	}
    	defer xhttp.DrainBody(respBody)
    	return nil
    }
    
    // SignalService - sends signal to peer nodes.
    func (client *peerRESTClient) SignalService(sig serviceSignal, subSys string, dryRun bool) error {
    	values := grid.NewMSS()
    	values.Set(peerRESTSignal, strconv.Itoa(int(sig)))
    	values.Set(peerRESTDryRun, strconv.FormatBool(dryRun))
    	values.Set(peerRESTSubSys, subSys)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    // authentication algorithms. Note that this doesn't include certificate types
    // since those use the underlying algorithm. This list is sent to the client if
    // it supports the server-sig-algs extension. Order is irrelevant.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=142
    var supportedPubKeyAuthAlgos = []string{
    	ssh.KeyAlgoED25519,
    	ssh.KeyAlgoSKED25519, ssh.KeyAlgoSKECDSA256,
    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/notification.go

    func (sys *NotificationSys) SignalService(sig serviceSignal) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		client := client
    		ng.Go(GlobalContext, func() error {
    			// force == true preserves the current behavior
    			return client.SignalService(sig, "", false)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    	return ErrNone
    }
    
    // doesSignatureMatch - Verify authorization header with calculated header in accordance with
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
    //
    // returns ErrNone if signature matches.
    func doesSignatureMatch(hashedPayload string, r *http.Request, region string, stype serviceType) APIErrorCode {
    	// Copy request.
    	req := *r
    
    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)
Back to top