rsaauth can not be used multiple times on one page
When using rsaauth for the felogin extension it is not possible to have another login form on the same page that also uses rsaauth for encrypting the user/password data.
As far as I can see there are two possible solutions:
- the storage need to be able to store multiple key pairs (at the moment only one key pair can be stored)
- if a key pair is generated it needs to be stored in a static variable so that it can be used in other forms
Please let me know if I can help out with a patch for this.
[FEATURE] Add api for rsaauth encryption
This patch introduces new API which eases the use of RSA encryption
across the core and for third party extensions.
For backend encryption a new RequireJS module is included which finds
fields to encrypt automatically by their data attribute.
Reviewed-by: Markus Klein <email@example.com>
Tested-by: Markus Klein <firstname.lastname@example.org>
Reviewed-by: Nicole Cordes <email@example.com>
Tested-by: Nicole Cordes <firstname.lastname@example.org>
Reviewed-by: Georg Ringer <email@example.com>
Tested-by: Georg Ringer <firstname.lastname@example.org>
#4 Updated by Andreas Kiessling almost 8 years ago
Since the next release of sr_feuser_register (3) will ship with support for salted_passwords and rsa encrypted passwords (and adds conflict status with kb_md5fepw), i think it will be pretty common to have rsa protected login form and the password fields on the same page.
Identifying this problem took quite some time and although there is (now) a note and a link in the sr_feuser_register documentation regarding this error, this should be fixed for the next releases IMHO.