Skip to content

Update server-side-encryption-sse-c.rst - #1355

Open
allanrogerr wants to merge 1 commit into
mainfrom
fix-sse-c-encryption
Open

allanrogerr wants to merge 1 commit into
mainfrom
fix-sse-c-encryption

Conversation

@allanrogerr

Copy link
Copy Markdown
Contributor

Change encrypt-key to enc-c
Keys cannot end in "="
See minio/mc#4882

Change encrypt-key to enc-c
Keys cannot end in "="
See minio/mc#4882
@allanrogerr

Copy link
Copy Markdown
Contributor Author
ubuntu@miniohq-allan-2:~$ touch test
ubuntu@miniohq-allan-2:~$ mc mb play/allan-test
Bucket created successfully `play/allan-test`.
ubuntu@miniohq-allan-2:~$ mc mb play/allan-test2
Bucket created successfully `play/allan-test2`.
ubuntu@miniohq-allan-2:~$ mc cp test play/allan-test --enc-c "play/allan-test/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo"
/home/ubuntu/test:                   8 B / 8 B ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 2 B/s 3s
ubuntu@miniohq-allan-2:~$ mc cp --recursive --enc-c "play/allan-test/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo" --enc-c "play/allan-test2/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo" play/allan-test/ play/allan-test2/
https://play.min.io/allan-test/test: 8 B / 8 B ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 92 B/s 0subuntu@miniohq-allan-2:~$ 

@ravindk89 ravindk89 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good catch - though the = here should be a padding byte right? Or does that still break things.

@ravindk89

Copy link
Copy Markdown
Collaborator

whoops - ping on the padding byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants