Encoding::hexToBin() input is not a hex string

Created on 14 November 2023, over 1 year ago

Problem/Motivation

After the user successfully enables 2FA, the next time he logs in he receives this error:
Encoding::hexToBin() input is not a hex string.

Steps to reproduce

- enable the key, encrypt, real_aes, tfa modules
- generate a key and add it via admin/config/system/keys
- add encryption profile via admin/config/system/encryption/profiles
- setup tfa via: admin/config/people/tfa and select a role at 'Roles required to set up TFA'
- login with a user of that role
- after entering login and password, click te warning that you need to set up 2FA
- setup, in my test using the Windows Authenticator
- after successful enabling of 2FA, log user out
- log back in
- enter login and password
- now the error appears instead of asking to authenticate

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇧🇪Belgium flyke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024