-
Notifications
You must be signed in to change notification settings - Fork 550
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
mc client doesnt work when passing SSE-C key #5061
Comments
you need to do `--sse-c="key" |
Thank you for your response. I tried the following variations none of them worked. Could you share the complete command?
|
ohh..my bad |
.\mc.exe cp --enc-c "public/encrypted-file.txt=EACjrC0Hu8dZ0hAjZyA6TEFhC1QackD5Wk5K/ruZs3E=" D:\files\encrypted-file.txt myminio/public/encrypted-file.txt should be |
Did we loosen the "raw" base 64 requirement? If not, key should be |
Yes that did work, dropping the trailing '=' thanks @klauspost @zveinn !!! For posterity -> .\mc.exe cp --enc-c "myminio/public/encrypted-file.txt=EACjrC0Hu8dZ0hAjZyA6TEFhC1QackD5Wk5K/ruZs3E" D:\files\encrypted-file.txt myminio/public/encrypted-file.txt |
for future reference, you should also be able to use hex encoded keys. |
Expected behavior
.\mc.exe cp --enc-c "public/encrypted-file.txt=EACjrC0Hu8dZ0hAjZyA6TEFhC1QackD5Wk5K/ruZs3E=" D:\files\encrypted-file.txt myminio/public/encrypted-file.txt
Should upload and encrypted file.
Actual behavior
I get the following error:
mc.exe: SSE Error. SSE key is missing.
Steps to reproduce the behavior
values-minio.yaml
mc --version
mc --version
)System information
Windows 10 on i9
The text was updated successfully, but these errors were encountered: