[BUGFIX] Only create one keypair in rsaauth 85/10485/10
authorTom Ruether <info@redscout.de>
Fri, 22 Nov 2013 10:47:37 +0000 (11:47 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 9 Jan 2014 00:43:59 +0000 (01:43 +0100)
commit6c4c4d9593d47de6f31fbed541492cde8586b12a
tree7e2e15ff2fcafd7a4af55a398acc2131c3ea1ca8
parentb96eaa4783c6140dfc9a58b361b492f47356d50b
[BUGFIX] Only create one keypair in rsaauth

If there are two login forms on one page the second form's private
key overwrites the first form's private key so the first form doesn't
work. With this patch only one keypair gets created and it doesn't
matter how many login forms you have one one page.

Change-Id: I42660140aea72d1888cc73d56e83b823206a0797
Fixes: #24877
Fixes: #6708
Releases: 6.2, 6.1, 6.0, 4.5
Reviewed-on: https://review.typo3.org/10485
Reviewed-by: Stefan Neufeind
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Daniel Gorges
Tested-by: Daniel Gorges
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/rsaauth/Classes/Backend/AbstractBackend.php
typo3/sysext/rsaauth/Classes/Backend/CommandLineBackend.php
typo3/sysext/rsaauth/Classes/Backend/PhpBackend.php
typo3/sysext/rsaauth/Classes/Hook/FrontendLoginHook.php
typo3/sysext/rsaauth/Classes/Keypair.php
typo3/sysext/rsaauth/Tests/Unit/Backend/CommandLineBackendTest.php [new file with mode: 0644]
typo3/sysext/rsaauth/Tests/Unit/Backend/PhpBackendTest.php [new file with mode: 0644]
typo3/sysext/rsaauth/Tests/Unit/KeypairTest.php [new file with mode: 0644]