Page 1 of 1

Using SetEncryption method in OpenKM

PostPosted:Tue Jan 13, 2026 7:14 am
by charlesrogers
Hello,
I'm attempting to encrypt documents in OpenKM using the setEncryption method with some cipher text, and I've noticed the encrypted icon appears. However, I'm uncertain if the documents are truly encrypted.

I can download them without any cipher text through both the OpenKM front end and API, and I can also preview them in the front end. How does the encryption process work, and how can I confirm whether the documents are genuinely encrypted?

Thanks in advance!

Re: Using SetEncryption method in OpenKM

PostPosted:Tue Jan 20, 2026 8:15 am
by jllort
The setEncryption method in the API does not encrypt the binary file, only mark at database level the document as encrypted ( it is information about the status of the document, not an action over the document ).
Encryption feature requires an external tool https://docs.openkm.com/kcenter/view/encryption-tool/