Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for errDecryptionFailed (0.08 seconds)

  1. internal/kms/kms.go

    	})
    	if err != nil {
    		if errors.Is(err, kms.ErrKeyNotFound) {
    			return nil, ErrKeyNotFound
    		}
    		if errors.Is(err, kms.ErrPermission) {
    			return nil, ErrPermission
    		}
    		return nil, errDecryptionFailed(err)
    	}
    	return resp[0].Plaintext, nil
    }
    
    // MAC generates the checksum of the given req.Message using the key
    // with the req.Name at the KMS.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top