Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion minio/sse.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class SseCustomerKey(Sse):
def __init__(self, key: bytes):
if len(key) != 32:
raise ValueError(
"SSE-C keys need to be 256 bit base64 encoded",
"SSE-C keys must be exactly 256 bits (32 bytes) long. Pass raw bytes, not the base64 encoded value.",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marktheunissen

minio/sse.py:57:0: C0301: Line too long (117/80) (line-too-long)
make: *** [Makefile:10: check] Error 16

)
b64key = base64.b64encode(key).decode()
from .helpers import \
Expand Down
Loading