I’ve encountered a strange behavior in bitcore-ecies where a public key can decrypt data encrypted with another private / public key pair, e.g.:
- Alice and Carol send their public key to Bob
- Bob sends his public key to Alice and Carol
- Alice encrypts data with her private key / Bob’s public key
- Bob able to decrypt Alice data with his private key / Carol’s public key???
As far as I understand, the ECIES/DH should not allow this, or I’m missing something?