PGP decryption support

Paul Ciarfella
Tera Guru

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

6 REPLIES 6

Jacob_Andersen
ServiceNow Employee
ServiceNow Employee

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.


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


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.


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