-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Description
Despite Botcraft documentation stating "Signed chat system for 1.19+ versions" is supported, connections fail with
invalid_public_key_signature error on servers with enforce-secure-profile=true.
Bot successfully authenticates with Microsoft account and obtains player certificates, but gets immediately
disconnected when joining.
Environment
- Botcraft version: 1.21.10 (Windows pre-compiled binary)
- Minecraft version: 1.21.10
- Connection mode: Online (Microsoft account - authentication successful)
- Server setting:
enforce-secure-profile=true
Steps to Reproduce
- Use Botcraft 1.21.10 with online mode (Microsoft account)
- Connect to server with
enforce-secure-profile=true - Authentication completes successfully, player certificates obtained
- Connection established but immediately disconnected
Logs
[INFO] Cached Minecraft token for Microsoft account still valid.
[INFO] Getting player certificates...
[INFO] Cached player certificates still valid!
[INFO] Player certificates obtained!
[INFO] Connection to server established.
[INFO] Behaviour tree changed to AFK Bot Behaviour
[INFO] Disconnect during playing with reason: {"content":{"translate":{"content":"multiplayer.disconnect.invalid_p
ublic_key_signature","name":"translate","type":"TagString"}},"name":"","type":"TagCompound"}
Expected Behavior
Since documentation mentions "Signed chat system for 1.19+ versions" support, the bot should successfully connect
and remain connected to servers with enforce-secure-profile=true.
Actual Behavior
Server rejects connection with invalid_public_key_signature error immediately after joining.
Questions
- Is there additional configuration required to enable message signing?
- Is this a known issue with 1.21.10 specifically?
- Are there any special requirements for the signing to work properly?