[
https://issues.apache.org/jira/browse/RANGER-5239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vikas Kumar resolved RANGER-5239.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
PR has been tested, reviewed and merged, hence Resolving this.
> [KMS] Decrypt and verify before storing newly re-encypted key material into DB
> ------------------------------------------------------------------------------
>
> Key: RANGER-5239
> URL: https://issues.apache.org/jira/browse/RANGER-5239
> Project: Ranger
> Issue Type: Task
> Components: kms
> Reporter: Vikas Kumar
> Assignee: Vikas Kumar
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> As per current implementation, During key material re-encryption:
> * It first gets decrypted using old algorithm and associated parameters.
> * And then re-encrypted using new algorithm.
> * And finally stored into the DB.
> Here idea is to add one simply sanity checks as follows:
> After re-encryption using new algorithm, it should be again decrypted using
> new algorithm and decrypted content should be matched with older decrypted
> material.
> This is not a functional requirement but will ensure that decrypt operation
> using new algorithm is also working correctly and returning the same key
> material.
> This should be done for both Masterkey and all Zone keys.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)