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.22. 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 to 2.5.x require at least Mendix Studio Pro 8.12.0. Version 7.0.0 and later require at least Mendix Studio Pro 7.23.22. Version 8.0.0 and later require 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 to 2.5.x require at least Mendix Studio Pro 8.12.0.

Version 7.0.0 and later require at least Mendix Studio Pro 7.23.22.

Version 8.0.0 and later require at least Mendix Studio Pro 8.12.0.

Releases

Version: 8.0.2
Framework Version: 8.12.0
Release Notes: - We updated the dependency Apache Commons IO from version 2.7 to 2.8.0. Note: When upgrading to 8.0.2 please remove the following jar files from the userlib directory: commons-io-2.7.jar*
Version: 8.0.1
Framework Version: 8.12.0
Release Notes: - Fixed exception parsing for wrong decryption key.
Version: 8.0.0
Framework Version: 8.12.0
Release Notes: - The 8.0.0 version is the same as the 2.5.0 version. A new major version was used to allow new 7.x.y releases for Mendix 7.
Version: 7.0.1
Framework Version: 7.23.22
Release Notes: - We updated the dependency Apache Commons IO from version 2.7 to 2.8.0. Note: When upgrading to 7.0.1 please remove the following jar files from the userlib directory: commons-io-2.7.jar*
Version: 7.0.0
Framework Version: 7.23.22
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. - We added the EncryptForce microflow which encrypts strings without checking if they are already encrypted. - 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 7.0.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. - We made the encryption module more strict to disallow legacy encryption. - We added a microflow that allows to decrypt string that were encrypted using the EncryptString microflow in Community Commons. - We updated dependencies. Note: When upgrading to 7.0.0 please remove the following jar files from the userlib directory (if they exist): - bcpg-jdk15on-164.jar - bcpkix-jdk15on-164.jar - bcprov-jdk15on-164.jar - commons-io-2.6.jar