Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for VerifyBinary (0.08 sec)

  1. cmd/admin-handlers.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if globalIsDistErasure {
    		// Push binary to other servers
    		for idx, nerr := range globalNotificationSys.VerifyBinary(ctx, u, sha256Sum, releaseInfo, binC) {
    			if nerr.Err != nil {
    				peerResults[nerr.Host.String()] = madmin.ServerPeerUpdateStatus{
    					Host:           nerr.Host.String(),
    					Err:            nerr.Err.Error(),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  2. cmd/notification.go

    		err := embedFileInZip(zipWriter, fmt.Sprintf("profile-%s-%s", thisAddr, typ), data, 0o600)
    		internalLogIf(ctx, err)
    	}
    
    	return
    }
    
    // VerifyBinary - asks remote peers to verify the checksum
    func (sys *NotificationSys) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, bin []byte) []NotificationPeerErr {
    	// FIXME: network calls made in this manner such as one goroutine per node,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  3. cmd/update.go

    	return bc.Bytes(), b.Bytes(), nil
    }
    
    const (
    	// Update this whenever the official minisign pubkey is rotated.
    	defaultMinisignPubkey = "RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav"
    )
    
    func verifyBinary(u *url.URL, sha256Sum []byte, releaseInfo, mode string, reader io.Reader) (err error) {
    	if !updateInProgress.CompareAndSwap(0, 1) {
    		return errors.New("update already in progress")
    	}
    	defer updateInProgress.Store(0)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top