If you want to do encryption the proper way on modern browser, look into https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_...

I'm aware of webcrypto, but decided PGP was more suitable.

Mainly, the physical private key

It's also been battle tested much longer then webcrypto.

What makes it improper in your eyes?