[DiscordArchive] Please tell me, changes have been made to the master branch related to registration, no matter how I
[DiscordArchive] Please tell me, changes have been made to the master branch related to registration, no matter how I
Archived author: Malcrom • Posted: 2024-01-02T19:41:25.207000+00:00
Original source
adds up to 100 percent
Archived author: Tea • Posted: 2024-01-02T19:41:25.431000+00:00
Original source
take 3.3.5 registration code, replace sha1 with sha256 and g, N constants with these <https://github.com/TrinityCore/TrinityCore/blob/master/src/common/Cryptography/Authentication/SRP6.cpp#L30-L31> and keep the part where email is additionally sha256-ed into a hex string
![[Image: image.png?ex=690c514a&is=690affca&hm=fc0...492f8bb01&]](https://cdn.discordapp.com/attachments/376457124726702080/1191828774027800797/image.png?ex=690c514a&is=690affca&hm=fc09395c77b8a4d81152a0dea3fde1d1b76ef94e07a7dad0af1f8b4492f8bb01&)
Archived author: Malcrom • Posted: 2024-01-02T19:42:02.900000+00:00
Original source
I got 3 items
![[Image: image.png?ex=690c514a&is=690affca&hm=fc0...492f8bb01&]](https://cdn.discordapp.com/attachments/376457124726702080/1191828774027800797/image.png?ex=690c514a&is=690affca&hm=fc09395c77b8a4d81152a0dea3fde1d1b76ef94e07a7dad0af1f8b4492f8bb01&)
Archived author: Powerpuff • Posted: 2024-01-02T19:45:24.343000+00:00
Original source
Still doesn't work
![[Image: photo_2024-01-02_22-46-12.jpg?ex=690c527...32b837845&]](https://cdn.discordapp.com/attachments/376457124726702080/1191830005953609738/photo_2024-01-02_22-46-12.jpg?ex=690c5270&is=690b00f0&hm=11cbdbc73d0c17cae0287f6312620b6ce33579381bfa8d705ad7f4332b837845&)
Archived author: Powerpuff • Posted: 2024-01-02T19:46:56.591000+00:00
Original source
That's how it's done now
![[Image: photo_2024-01-02_22-46-12.jpg?ex=690c527...32b837845&]](https://cdn.discordapp.com/attachments/376457124726702080/1191830005953609738/photo_2024-01-02_22-46-12.jpg?ex=690c5270&is=690b00f0&hm=11cbdbc73d0c17cae0287f6312620b6ce33579381bfa8d705ad7f4332b837845&)
Archived author: Tea • Posted: 2024-01-02T19:49:02.207000+00:00
Original source
thats not correct
Archived author: Tea • Posted: 2024-01-02T19:51:44.768000+00:00
Original source
$h should be SHA256-binary(salt | SHA256-binary(SHA256-hex-upper-str(UPPER(email))) + ":" + UPPER(password.substr(0,16))))
Archived author: Tea • Posted: 2024-01-02T19:51:58.934000+00:00
Original source
you are missing the innermost SHA256-hex-upper-str
Archived author: Powerpuff • Posted: 2024-01-02T19:57:59.389000+00:00
Original source
The data is too large and cannot be stored in the database.
Archived author: Tea • Posted: 2024-01-02T19:58:50.938000+00:00
Original source
salt is a 32 byte binary column, verifier is just a blob with no actual limit (but the correct value should be 128 bytes)