We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba1d03b commit ddb9919Copy full SHA for ddb9919
minio/sse.py
@@ -54,7 +54,8 @@ class SseCustomerKey(Sse):
54
def __init__(self, key: bytes):
55
if len(key) != 32:
56
raise ValueError(
57
- "SSE-C keys need to be 256 bit base64 encoded",
+ "SSE-C keys must be exactly 256 bits (32 bytes) long. "
58
+ "Pass raw bytes, not the base64 encoded value.",
59
)
60
b64key = base64.b64encode(key).decode()
61
from .helpers import \
0 commit comments