Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Decrypt PGP 2048 encrypted files in service now.

Anirudh Gupta
Mega Expert

I have a requirement where I need to import an encrypted TEXT file from a location available in mid-server and bring the data into Service Now. What i think in theory is, we decrypt the file and process it to convert into a CSV file, and process this decrypted content (csv) using a import set/transform map to a custom table.

The encrypted file needs to use PGP 2048 decryption 

I know if the file encryption was not a requirement, I could create a Data Source to get the file from the SFTP server and process its contents via import set/transform map.

My question is, if there is away this could be accomplished in ServiceNow or if I will have to decrypt the file outside of the platform (all via servicenow scripts) and then retrieve its contents.

I have tried figuring out a solution on net but only thing is that, we need to import an external java script library in a script include and access this to decrypt the file that is store in the form of attachment in attachment table.

5 REPLIES 5

Nandini Sahay1
Tera Contributor

HI, 

Can you please provide more details on how did you create openPGP jar file.