PGP decryption support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2014 07:44 AM
This question was asked by someone else in 2011 but not answered and the wiki doesn't have anything ... so I'm hoping for a positive answer about an undocumented capability ...
Does ServiceNow have a server-side PGP library that can be used to decrypt an uploaded file, such as a file pulled through FTP or an attachment?
Paul C

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2014 05:01 PM
Paul,
There is no API that ServiceNow has exposed that will allow us to leverage PGP encryption on the SN server. You could do this using a MID server by placing the PGP JAR files in the mid server and leveraging it that way, if you're planning on having the data pass through the MID server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2014 05:52 PM
Jason - thanks for confirming what I suspected. Unfortunately I don't have midserver deployed, so I'll need to figure out some other way to do it ... like search for an openpgp implementation that I can morph into a script include!
Paul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2014 06:44 AM
Unfortunately, you won't be able to call any JAVA libraries that SN doesn't expose via an API. So even if you have an openPGP JAR file, you won't be able to leverage it this way. The only way to do this would be via the use of a mid server.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 12:46 PM
Hi Jacob,
I am sending a file to SFTP for a client. They have a PGP Encryption Key. I have a folder on my mid server where I am putting their file to send. Where do I put the encryption key they provided so I can successfully transfer the file?
Thanks,
Stacy