hey guys, would anyone recommend a library we can ...
# suitescript
s
hey guys, would anyone recommend a library we can use to decrypt pgp messages inside netsuite?
b
i dont recommend it, but you can just barely get https://openpgpjs.org/ working if you polyfill in all the missing browser globals it expects
its a fair bit of work for bad performance
s
b
havent tried
👍 1
my personal expectation of anything that involves binary is slow performance
whatever is running suitescript is extremely slow
s
kbpgp also has browser globals as dependency
it is pretty much the same for any PGP library I tried
b
looks bad
it ends up using setTimeout, which is not something you can really polyfill
s
thx for the info, also hitting “RangeError: Maximum call stack size exceeded” while trying to create a key manager and unbox a message.