Skip to content

Conversation

marktheunissen
Copy link

It is confusing to say "SSE-C keys need to be 256 bit base64 encoded" when the key argument must not be base64 encoded, this is handled by the function internally

Copy link
Member

@balamurugana balamurugana left a comment

Choose a reason for hiding this comment

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

@marktheunissen Please fix CI failure

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants