Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

allanrogerr
Copy link
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
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:~$ 

Copy link
Collaborator

@ravindk89 ravindk89 left a comment

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.

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.

2 participants