PKI multiple public keys

前端 未结 4 1603
执笔经年
执笔经年 2021-01-01 19:55

I\'m wondering if I can have multiple public keys for a private key.

Can this be done? If so, what are the security issues!?

If I generate multiple key pairs

4条回答
  •  星月不相逢
    2021-01-01 20:27

    It isn't clear why you think you need multiple public keys. It may help you to learn that if something is encrypted with the public key, it cannot be decrypted using the same public key.

    If there are three people (A,B,C) with your public key, B and C cannot read a message encrypted by A, but you (with the private key) can.

    If you want to be able to send a message that only one of A, B, or C can read, they should each have a private key, and share their public key with you.

    It sounds like you want to treat public keys like private keys, and that's probably a bad plan.

提交回复
热议问题