- Version: 13.0.1
- Platform: MacOS Catalina

pub doesn't work. Only priv and bob.publicKey but I know that priv should work because in docs: Because RSA public keys can be derived from private keys, a private key may be passed instead of a public key. I really want to know why pub isn't working.
It's showing that:

pubdoesn't work. Onlyprivandbob.publicKeybut I know thatprivshould work because in docs:Because RSA public keys can be derived from private keys, a private key may be passed instead of a public key. I really want to know whypubisn't working.It's showing that: