Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Forced encryption on attachments

Kim Sullivan
Tera Guru
 

Since upgrade to Utah, all our attachments are being encrypted.  In Tokyo and before there was a checkbox here to choose to encrypt.  That is now gone and none is not the default option.

ServiceNow support says this is OOB, but I can't believe this was intended. 

2023-07-20_8-49-50.png

#encryption

#crypto

#attachments

1 ACCEPTED SOLUTION

Kim Sullivan
Tera Guru

HI told me to post on community and this was an OOB setting.  I spent another 3 hours on it and figured this out -- 

update the optional_attachment_encrypt UI macro.

OOB config:

OOB.png

 

Updated: 

Updated.png

 

You also need to comment out these lines:

KimSullivan_0-1690491092953.png

 

View solution in original post

31 REPLIES 31

Your macro looks fine.  And on the system property, apologies, I was thinking of this one glide.attachment.encrypt_by_default.  Set it to false.  Update that and let us know if it worked for you.

I dont have the property glide.attachment.encrypt_by_default. when I tried to create it, I got the  "Error Message

Not allowing set of unsafe property value: glide.attachment.encrypt_by_default=false
"

hmm... you may want to open a case with HI on that or see if one of the ServiceNow employees on here will comment.

Hi Ashra,

 

I am experiencing the same problem like yours. Have you found any solution for this?

 

Thank you,

Nanditha

Sorry for late response. I completely forgot about my post.

I fixed it by disabling the table specified in the "Encrypted Field Configurations" (sys_platform_encryption_configuration_list).
I have disabled for the table incident and requested item (type = Attachment).

This fixed my issue attachment encryption issue.