Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: support longer OTP secrets, up to 64 bytes #77

Open
szszszsz opened this issue Nov 28, 2020 · 0 comments
Open

Request: support longer OTP secrets, up to 64 bytes #77

szszszsz opened this issue Nov 28, 2020 · 0 comments

Comments

@szszszsz
Copy link
Member

PSN (https://my.playstation.com) sends its TOTP secrets as long as 64 bytes, which is bigger than currently supported 40 bytes.
Algorithm used is probably HMAC-SHA512, which needs such input.

Example:

  • 7SA3NSIABTSZQP7VBPF6CAA5OAHEKVIZ27PRVN6VU5FWE3FFWXTNQZCGMH62JLFJR6SHCBCYE3MMKNNZMQ5THZYPZAB5HH34XKXLKAA (original, misses padding A at the end to properly parse)

psn totp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant