You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2014/06/18 20:10:24 UTC

[jira] [Created] (HADOOP-10719) Add generateEncryptedKey and decryptEncryptedKey methods to KeyProvider

Alejandro Abdelnur created HADOOP-10719:
-------------------------------------------

             Summary: Add generateEncryptedKey and decryptEncryptedKey methods to KeyProvider
                 Key: HADOOP-10719
                 URL: https://issues.apache.org/jira/browse/HADOOP-10719
             Project: Hadoop Common
          Issue Type: Improvement
          Components: security
    Affects Versions: 3.0.0
            Reporter: Alejandro Abdelnur
            Assignee: Alejandro Abdelnur


This is a follow up on [HDFS-6134|https://issues.apache.org/jira/browse/HDFS-6134?focusedCommentId=14036044&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14036044]

KeyProvider API should  have 2 new methods:

* KeyVersion generateEncryptedKey(String keyVersionName, byte[] iv)
* KeyVersion decryptEncryptedKey(String keyVersionName, byte[] iv, KeyVersion encryptedKey)

The implementation would do a known transformation on the IV (i.e.: xor with 0xff the original IV).




--
This message was sent by Atlassian JIRA
(v6.2#6252)