Encryption

Category: Modules
Subcategory: All

Overview

Please see Encryption in the Mendix documentation for details. NB: 1. version 2.x requires at least Mendix Studio Pro 7.23.0. For older versions of Mendix please use version 1.x. When using version 2.0.1 or higher remove the following jar files from the userlib directory: bcpg-jdk15on-150.jar, bcpkix-jdk15on-150.jar, bcprov-jdk15on-150.jar, if they exist. 2. version 2.1.2 is retracted, because the release included test files. Please update to version 2.1.3. 3. version 2.1.3 module still mentions the version number as 2.1.2 in _Docs folder. Kindly ignore the same. 4. version 2.2.0 introduces makes 256 bit (32 characters) keys mandatory. When upgrading to version 2.2.0 please decrypt and re-encrypt all encrypted values in your database. Set the LegacyEncryptionKey constant to your 128 bit (16 characters) key and set the EncryptionKey to a new 256 bit (32 characters) key. 5. version 2.2.0 is not backwards compatible with previous versions regarding the Encrypt microflow. Please upgrade to version 2.3.0 to resolve this. When upgrading to 2.0.1 please remove the following jar files from the userlib directory: bcpg-jdk15on-150.jar, bcpkix-jdk15on-150.jar, bcprov-jdk15on-150.jar, if they exist. When upgrading to 2.1.1 please remove the following jar files from the userlib directory: bcpg-jdk15on-164.jar, bcpkix-jdk15on-164.jar, bcprov-jdk15on-164.jar, if they exist. When upgrading to 2.1.3 please remove the following jar files from the userlib directory: bcpg-jdk15on-167.jar, bcpkix-jdk15on-167.jar, bcprov-jdk15on-167.jar, if they exist. When upgrading to 2.2.0 please remove the following jar files from the userlib directory: commons-io-2.6.jar Version 2.1.0 and later requires at least Mendix Studio Pro 8.12.0.

Documentation

null
Demo url

Please see Encryption in the Mendix documentation for details.

Note: When using version 2.0.1 or higher remove the following jar files from the userlib directory: bcpg-jdk15on-150.jar, bcpkix-jdk15on-150.jar, bcprov-jdk15on-150.jar, if they exist.

When upgrading to 2.1.1 or later please remove the following jar files from the userlib directory: bcpg-jdk15on-164.jar, bcpkix-jdk15on-164.jar, bcprov-jdk15on-164.jar, if they exist.

Version 2.1.0 and later requires at least Mendix Studio Pro 8.12.0.

Releases

Version: 2.5.0
Framework Version: 8.12.0
Release Notes: - We added a microflow that allows to decrypt string that were encrypted using the EncryptString microflow in Community Commons.
Version: 2.4.0
Framework Version: 8.12.0
Release Notes: - We removed the possibility to sign PGP documents, as it was never supported. The "SigningCertificate" parameter of the PGPEncryptDocument Java action and the "SigningPrivateKey_Optional" parameter of the Encrypt_Document microflow have been removed.
Version: 2.3.0
Framework Version: 8.12.0
Release Notes: - Reverted a change in the Encrypt microflow where strings that were already encrypted were encrypted again. Now the Encrypt microflow will not encrypt strings that are already encrypted. - Added the EncryptForce microflow which encrypts strings without checking if they are already encrypted.
Version: 2.2.0
Framework Version: 8.12.0
Release Notes: - We added a new encryption algorithm, please use the {AES3} prefix. The encryption key is now required to be of length 32. When upgrading to version 2.2.0 please decrypt and re-encrypt all encrypted values in your database. Set the LegacyEncryptionKey constant to your 128 bit (16 characters) key and set the EncryptionKey to a new 256 bit (32 characters) key. - Values encrypted with legacy algorithms can still be decrypted by using the Encryption.LegacyEncryptionKey constant. - Strings will now be encrypted even if the strings starts with the prefix. Note: When upgrading to 2.2.0 please remove the following jar files from the userlib directory: commons-io-2.6.jar
Version: 2.1.3
Framework Version: 8.12.0
Release Notes: - We made the encryption module more strict to disallow legacy encryption. - We updated dependencies.