How to perform PGP(Pretty Good Privacy) encryption and decryption process in Service Now??????????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2020 11:11 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 08:00 AM
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
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 11:34 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2020 08:25 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2021 09:52 PM
Hi Sachin,
To run Powershell, we will have to install a midserver as a prerequisite?
Thank you
Astha