how to change users secret seed ( base32 )
hi i have a user that uses this secret seed ( copy paste from the website )
algorithm: TOTP
secret seed: 90206bd147a771f9a8e2e1480d0fafcc2e977f20
(or SAQGYUKHU5Y7TKHC4BEA2D5PZQXJO7ZA in Base32, like for Google Authenticator)
number of digits: 6
time interval: 30
Is there a way to change these secret seed ( base32 ) after the user is created ???
thanks in advance
m
This discussion has been closed.
Comments
By default, the user seed is encrypted in the "user".db file
token_seed:=Jz1qOWtaczM+ZXE4ajc2CnE5bjotY21nPV4lb2ZvI2xoNDwDL2ViZA==
You can overwrite this value with an unencrypted one in hexa when removing the : before the =
token_seed=3132333435363738393031323334353637383930
The next time something is changed for this user, the token_seed field will be automatically encrypted again (of course with the retained new value).
Best regards,
Andre