wmccarley commented on issue #9589:
URL: https://github.com/apache/pulsar/issues/9589#issuecomment-787624931


   I believe the documentation is correct but pki is not inherently 
intuitive... from Wikipedia entry for ‘Public-key cryptography’:
   
   “...In such a system, any person can encrypt a message using the intended 
receiver's public key, but that encrypted message can only be decrypted with 
the receiver's private key.”
   
   This implies that the recipient of the data is the responsible party for 
generating a key pair and thus the recipient shares public key with  the sender.
   
   The distinction between the ‘private’ key and the ‘public’ key is entirely 
semantic. If in your system the key pair is controlled by the producer then 
call the producer’s key the private.
   
   FWIW Pulsar producer supports using multiple ‘public’ keys. Presumably this 
is so one-producer to many-consumer setup can utilize individual key pairs that 
are controlled by the consuming apps rather than the producer..
   
   Someone can correct me if I’m wrong but this is my understanding. 
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to