https://netsuiteprofessionals.com logo
r

Ryan Stackhouse

05/04/2022, 5:51 PM
Can you encrypt a file created inside of netsuite with public key
b

battk

05/04/2022, 5:58 PM
general answer is not easily
but your phrasing is too generic, lots of different encryption algorithms use public keys
r

Ryan Stackhouse

05/04/2022, 6:01 PM
sorry. I am creating and sending a file through SFTP inside of NS, all this will stay the same. The receiving SFTP site now requires the file to be have PGP encryption, they have given me the Public Key. Can I encrypt the file inside of NetSuite before I send it out. I don't see anything in N/File
b

battk

05/04/2022, 6:07 PM
netsuite does not support pgp
you can barely get https://openpgpjs.org/ working, but it was designed to work in a browser/node and you have to polyfill missing globals
r

Ryan Stackhouse

05/04/2022, 6:18 PM
ok, thanks for the insight