Talk:Protocol Encryption: Difference between revisions
Jump to navigation
Jump to search
imported>Ceiru (Authentication is missing a few details) |
imported>Ceiru |
||
| (20 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
* How the serverID is encoded: UTF-8, UTF-16? | * How the serverID is encoded: UTF-8, UTF-16? | ||
The serverId is a hexstring | |||
Yes the serverId is received as a UTF-16 hexstring, but are the UTF-16 byte representation hashed or is the bytes the hex represent hashed or is the hexstring encoded as ASCII bytes before hashed by the sha algorithm. | |||
This might be more of a java question, what does sha.update() do with a string. | |||
--[[User:Ceiru|Ceiru]] 17:15, 10 June 2012 (MST) | |||
Found it, it is an ASCII encoded string. | |||
--[[User:Ceiru|Ceiru]] 17:37, 10 June 2012 (MST) | |||
* How the hash is encoded: base64, hex? | * How the hash is encoded: base64, hex? | ||
The hash is encoded as hexstring, too. | |||
== Server auth url 404 == | |||
http://session.minecraft.net/game/checkserver | |||
reports a 404(File not found) should it be .jsp(the old url) or another one? | |||
It is the .jsp page | |||
Latest revision as of 00:37, 11 June 2012
Authentication is missing a few details
- How the serverID is encoded: UTF-8, UTF-16?
The serverId is a hexstring
Yes the serverId is received as a UTF-16 hexstring, but are the UTF-16 byte representation hashed or is the bytes the hex represent hashed or is the hexstring encoded as ASCII bytes before hashed by the sha algorithm. This might be more of a java question, what does sha.update() do with a string. --Ceiru 17:15, 10 June 2012 (MST)
Found it, it is an ASCII encoded string. --Ceiru 17:37, 10 June 2012 (MST)
- How the hash is encoded: base64, hex?
The hash is encoded as hexstring, too.
Server auth url 404
http://session.minecraft.net/game/checkserver
reports a 404(File not found) should it be .jsp(the old url) or another one?
It is the .jsp page