How to perform PGP(Pretty Good Privacy) encryption and decryption process in Service Now??????????

Shantharao
Kilo Sage

Hello All,

 

I have to decrypt workday file from PGP encrypted file,
How can we achieve this requirement in SeviceNow 

What are the pre-requisites, How to start the encrypt and decrypt process?

After decryption, I have to attach the file into data source automatically?

Does it possible?

 

Thanks in advance, Have a good day.

 

 

4 REPLIES 4

sachin_namjoshi
Kilo Patron
Kilo Patron

Yes, You can create powershell script to decrypt PGP file and then call this powershell script using service now orchestration activity.

Write a custom script to store any type of incoming data in the import set table.

Check below

 

Load By Script

 

Regards,

Sachin

Thank you sachin,
Do you have the powershell script handy,
If we are not using orchestration, what are the other alternative ways to achieve this scenario. 

 

Thanks

You can find powershell script to decrypt PGP file below

 

https://4sysops.com/archives/encrypt-and-decrypt-files-with-powershell-and-pgp/

 

If you don't have orchestration, then you need to place this powershell script script on mid server and call this powershell script from service now server side objects like workflow, script includes, business rules.

 

Regards,

Sachin

Hi Sachin,

To run Powershell, we will have to install a midserver as a prerequisite?

 

Thank you

Astha