You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/21 07:47:39 UTC

[GitHub] [pulsar] Subash-Kunjupillai opened a new issue #7325: CryptoKeyReader - Separate Interface for Producer and Consumer

Subash-Kunjupillai opened a new issue #7325:
URL: https://github.com/apache/pulsar/issues/7325


   **Is your feature request related to a problem? Please describe.**
   Currently to encrypt the data, we are supposed to implement CryptoKeyReader which takes in both PublicKey and PrivateKey. But ideally a producer/consumer will have only either one of the keys as providing both the keys to both producer and consumer is not practically done.
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   The expectation over here is to expect different interfaces for both producer and consumer end so that only the required keys are provided for encryption and decryption rather than providing both keys to producer and consumer
   
   **Describe alternatives you've considered**
   I've no alternatives right now other than passing both the keys.
   
   **Additional context**
   This was discussed in user mailing list and based on @Sijie recommendation raising this issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org