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

Enhance file cache to encrypt data written to the cache file #1192

Merged
merged 5 commits into from
Apr 17, 2023

Commits on Apr 15, 2023

  1. storage: add flag to indicate encrypted data chunk

    Add method and flag to indicate that a data chunk is encrypted or not.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    d31c3b3 View commit details
    Browse the repository at this point in the history
  2. storage: add fields for chunk encryption

    Add data fields to BlobInfo and CacheFile for chunk encryption.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    5f1fc40 View commit details
    Browse the repository at this point in the history
  3. storage: introduce struct CipherContext

    Introduce struct CipherContext for data encryption/decryption.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    f82cf6d View commit details
    Browse the repository at this point in the history
  4. api: add encryption configuration to file cache

    Add encryption configuration to file cache, so we can encrypt data
    written to the local cache file.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    37273bf View commit details
    Browse the repository at this point in the history
  5. storage: encrypt data in local cache file

    Encrypt data before writing data to local cache file.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    2a23e99 View commit details
    Browse the repository at this point in the history