Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2012 Support GDPR-Right to Erasure feature on Ozone
  3. HDDS-2015

Encrypt/decrypt key using symmetric key while writing/reading

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      Key Write Path (Encryption)
      When a bucket metadata has gdprEnabled=true, we generate the GDPRSymmetricKey and add it to Key Metadata before we create the Key.
      This ensures that key is encrypted before writing.

      Key Read Path(Decryption)
      While reading the Key, we check for gdprEnabled=true and they get the GDPRSymmetricKey based on secret/algorithm as fetched from Key Metadata.
      Create a stream to decrypt the key and pass it on to client.

      Test
      Create Key in GDPR Enabled Bucket -> Read Key -> Verify content is as expected -> Update Key Metadata to remove the gdprEnabled flag -> Read Key -> Confirm the content is not as expected.

      Attachments

        Issue Links

          Activity

            People

              dineshchitlangia Dinesh Chitlangia
              dineshchitlangia Dinesh Chitlangia
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h
                  6h