Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errKeyGenerationFailed (0.13 sec)

  1. internal/kms/kms.go

    	})
    	if err != nil {
    		if errors.Is(err, kms.ErrKeyNotFound) {
    			return DEK{}, ErrKeyNotFound
    		}
    		if errors.Is(err, kms.ErrPermission) {
    			return DEK{}, ErrPermission
    		}
    		return DEK{}, errKeyGenerationFailed(err)
    	}
    
    	return DEK{
    		KeyID:      name,
    		Version:    resp.Version,
    		Plaintext:  resp.Plaintext,
    		Ciphertext: resp.Ciphertext,
    	}, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top