Repository navigation
[1.8-1.9] Invalid signature for profile public key #708
Copy link
Copy link
Open
Description
On 1.8.x-1.9, some servers giving the error "Invalid signature for public key of profile". If ViaProxy is translating between 1.8.9 and 1.19+ it should translate the encryption.
Actually, I think the problem may be that:
- Client connects to ViaProxy on 1.8.9
- ViaProxy connects to the real server using 1.19+
- The real server sends a request for encryption with profile key requirements
- 1.8.9 encryption request is sent to ViaProxy
- Client sends encryption response 1.8.9 (verifyToken)
- ViaProxy translates this into 1.19+ encryption response
- But ViaProxy can not generate a valid signature because it does not have the profile keys
So the issue is on the side of any version of ViaProxy.
The solution would be to:
- Connect to ViaProxy with a newer protocol version that supports signature encryption
- Or pass the profile keys to ViaProxy somehow
- Or connect directly to the server with the correct version (it's somehow different on servers)
Game logs:
[14:23:11] [Client thread/INFO]: Connecting to 1227.0.0.1:25568
[14:23:12] [Client thread/INFO]: Logging in...
[14:23:12] [Netty Client IO #1/ERROR]: Exception caught in pipeline
io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Invalid signature for profile public key
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:473)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at net.minecraft.network.NettyCompressionDecoder.decode(NettyCompressionDecoder.java:33)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441)
... (another 20+ lines of the Java stack trace) ...
Caused by: java.lang.IllegalArgumentException: Invalid signature for profile public key
at net.minecraft.network.login.server.SPacketLoginSuccess.readPacketData(SPacketLoginSuccess.java:45)
at net.minecraft.network.login.server.SPacketLoginSuccess.readPacketData(SPacketLoginSuccess.java:14)
at net.minecraft.network.PacketBuffer.readPacketData(PacketBuffer.java:256)
at net.minecraft.network.NetworkManager.handlePacket(NetworkManager.java:320)
... (a few more lines) ...
[14:23:12] [Client thread/INFO]: Disconnecting: Invalid signature for profile public keyReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
RaphiMC commentedon Jun 25, 2026
Upload the ViaProxy config and send a screenshot of the advanced tab if you use the GUI
MelvinMod commentedon Jun 25, 2026
ViaVersion Dump
RaphiMC commentedon Jun 25, 2026
Seems like the Chat Signing option broke
MelvinMod commentedon Jun 25, 2026
yes and no at the same time, even without "chat singing" the same stuff, and once i got some small java's error window about some error in java, but i can't remember what was that
RaphiMC commentedon Jun 25, 2026
Obivously you can't join if the server requires chat signing and chat signing is disabled. What I mean is that it apparently doesn't send the profile keys correctly to the server
MelvinMod commentedon Jun 25, 2026
what if just packets broken? even connecting to
mc.hypixel.net(supports 1.8 natively) the sameRaphiMC commentedon Jun 25, 2026
Connecting to a 1.8 server with a 1.8 client over ViaProxy should definitely not cause that error. I don't know what the root cause is. I will work on it as a low priority issue (So it will probably be fixed next month or so)
MelvinMod commentedon Jun 25, 2026
also, i have an other question, will it possible to make Java servers works with Legacy Console Edition? there is tool already for that, but have problems with Game's
Packet.cpp(on some servers)RaphiMC commentedon Jun 25, 2026
I won't provide any support for legacy console edition. You have to ask the creator of the tool
MelvinMod commentedon Jun 25, 2026
i was asking you to make something similar to this tool (funtion or plugin) but anyways, i have noticed that plugins in ViaProxy-3.4.11 does not works, including Geyser
RaphiMC commentedon Jun 25, 2026
Plugins definitely work. Also you are going very off-topic for this issue. If you need further support, you should join the ViaVersion discord and ask in the support chat
Pygot commentedon Jul 12, 2026
same issue here, lmk solution