Skip to content

Conversation

@vadmeste
Copy link
Member

@vadmeste vadmeste commented Aug 4, 2022

requires minio/madmin-go#104

The new format is zip file which contains 'data.zip' which is encrypted;
'data.zip' will content the data from the server backend disks.

The code is also backward compatible with the older inspect format as
well

@vadmeste vadmeste force-pushed the always-encrypt-inspect-data-v2 branch 2 times, most recently from 85ecc10 to b485ab3 Compare September 5, 2022 15:04
@vadmeste vadmeste force-pushed the always-encrypt-inspect-data-v2 branch from b485ab3 to 454fac4 Compare September 29, 2022 12:38
@vadmeste vadmeste force-pushed the always-encrypt-inspect-data-v2 branch from 115449c to b821616 Compare October 26, 2022 14:12
@klauspost
Copy link
Contributor

klauspost commented Oct 26, 2022

@vadmeste Thinking about it maybe we should add a --legacy switch, that will request old format?

(functionaly it should jeg remove the public key)

@vadmeste
Copy link
Member Author

@vadmeste Thinking about it maybe we should add a --legacy switch, that will request old format?

Done. I also tested with older MinIO version. This will necessarly return a key for the v1 format. I believe this is also what we want as well.

@vadmeste vadmeste force-pushed the always-encrypt-inspect-data-v2 branch from 4c39c1f to 1d69673 Compare October 26, 2022 19:39
Anis Elleuch and others added 5 commits October 29, 2022 10:57
- Enforce data to be encrypted by default
- Use the public key ~/.mc/support.pk to encrypt the data if found,
  otherwise, keep the old behavior which is receiving the encryption key
  from the server and prints it in the screen.
@harshavardhana harshavardhana force-pushed the always-encrypt-inspect-data-v2 branch from 1d69673 to fe90253 Compare October 29, 2022 17:58
@harshavardhana harshavardhana force-pushed the always-encrypt-inspect-data-v2 branch from fe90253 to 400aecd Compare October 29, 2022 18:00
@harshavardhana harshavardhana merged commit 1bf8a56 into minio:master Oct 29, 2022
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