[FEATURE] Add native rsa protection to password fields 86/41286/9
authorNicole Cordes <typo3@cordes.co>
Wed, 15 Jul 2015 12:31:12 +0000 (14:31 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 7 Aug 2015 13:06:36 +0000 (15:06 +0200)
commit131bd4de98ea98dacd2683b44476a51f82d66c36
tree863e4693038d2b5055edde5de9e9f429d918022d
parent250c52678ed47d5db9bc50c4b2600349ef94b10e
[FEATURE] Add native rsa protection to password fields

This patch adds rsa encryption to password fields. It introduces an own
rsaInput render type which turns fields into true password fields and
removes JavaScript default value '********'.
Furthermore the rsa Api is adjusted to handle the incoming data
correctly.

Releases: master
Resolves: #68166
Change-Id: I4eb8186f77e5b9215310f65d606bc49c71b19880
Reviewed-on: http://review.typo3.org/41286
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
15 files changed:
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Classes/Form/Element/InputElement.php
typo3/sysext/backend/Classes/Form/NodeFactory.php
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js
typo3/sysext/core/Documentation/Changelog/7.4/Feature-67932-RsaauthApiRewrite.rst
typo3/sysext/core/Documentation/Changelog/master/Feature-68166-RenderTypeForRsaEncryptedInputFields.rst [new file with mode: 0644]
typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php [new file with mode: 0644]
typo3/sysext/rsaauth/Classes/Hook/DecryptionHook.php [new file with mode: 0644]
typo3/sysext/rsaauth/Classes/RsaEncryptionDecoder.php
typo3/sysext/rsaauth/Configuration/TCA/Overrides/be_users.php [new file with mode: 0644]
typo3/sysext/rsaauth/Configuration/TCA/Overrides/fe_users.php [new file with mode: 0644]
typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js
typo3/sysext/rsaauth/ext_localconf.php