hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14779) Refactor decryptEncryptedKey in KeyProviderCryptoExtension
Date Wed, 16 Aug 2017 18:11:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16129185#comment-16129185
] 

Xiao Chen commented on HADOOP-14779:
------------------------------------

Good question. I also kinda looked at this in HADOOP-14524.
The reason is CE doesn't have a {{close}} method currently. I wasn't sure changing {{public
interface CryptoExtension}} would be compatible. Though looking at the KPCE class now, it
is marked as Private...

> Refactor decryptEncryptedKey in KeyProviderCryptoExtension
> ----------------------------------------------------------
>
>                 Key: HADOOP-14779
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14779
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: kms
>    Affects Versions: 2.6.0
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>            Priority: Minor
>         Attachments: HADOOP-14779.01.patch
>
>
> We could separate out the actual decrypt logic from the {{decryptEncryptedKey}}. This
enables reencrypt calls to possibly reuse the codec.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message