Skip to content

HOTP codes are identical for all users #940

@HappyRoot

Description

@HappyRoot

Hello,

HOTP generation uses constant values from IdServerEmailOptions (shared key/counter), producing the same OTP for every user.
Possible solution: generate and store a unique salt per user, and retrieve the counter from the database?

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions