ViaBackwards icon indicating copy to clipboard operation
ViaBackwards copied to clipboard

Secure profile is really wonky with ViaBackwards (some dont have issue, others do)

Open eris-webserv opened this issue 3 years ago • 7 comments
trafficstars

'/viaversion dump' Output

https://dump.viaversion.com/e57077c1c31d9fcfdab6f50aac6cb73447231ec7f098a9dbd5832f2dc57076ef

Console Error

[21:22:47 INFO]: com.mojang.authlib.GameProfile@babd3b3[id=ef62aae1-fd90-4451-963a-11aa57f460bc,name=thecta,properties={textures=[com.mojang.authlib.properties.Property@6ff8c282]},legacy=false] (You cannot have my user's IP) lost connection: Internal Exception: com.mojang.authlib.minecraft.InsecurePublicKeyException$InvalidException: Invalid profile public key signature

Bug Description

Some players using the intended client for my server cannot connect due to invalid profile public keys, despite me disabling enforce-secure-profile beforehand! This should NOT be happening! What is going on?

Steps to Reproduce

  1. Add ViaBackwards on a 1.19.1 server
  2. Log in on 1.19
  3. Pray that this error happens
  4. You fail to connect, with "Invalid profile public key signature"
  5. Cry (As there is NO fix)

Expected Behavior

All players are able to join on 1.19

Additional Server Info

Currently using velocity with force-key-authentication = false

Checklist

  • [X] Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. BungeeCord), not on both.
  • [X] I have included a ViaVersion dump.
  • [X] If applicable, I have included a paste (not a screenshot) of the error.
  • [X] I have tried a build from https://ci.viaversion.com/ and the issue still persists.

eris-webserv avatar Aug 06 '22 01:08 eris-webserv

Platform: git--Paper--111%20%28MC%3A%201.19.1%29 ViaVersion (4.4.1): 11 commits behind master ViaBackwards(4.4.1): 4 commits behind master
Please try the latest build(s) from https://ci.viaversion.com/

Barvalg avatar Aug 06 '22 01:08 Barvalg

:thonk: I literally pulled from actions a few minutes ago.

eris-webserv avatar Aug 06 '22 01:08 eris-webserv

https://dump.viaversion.com/9928cd9cce25726b6dc084b321ce23b115f83ef20cb8a02f0f29823de7ba68bc

eris-webserv avatar Aug 06 '22 01:08 eris-webserv

Platform: velocity%203.1.2--SNAPSHOT%20%28git--8a63df2a--b168%29 ViaVersion (4.4.2-SNAPSHOT): Even with master ViaBackwards(4.4.2-SNAPSHOT): Even with master

Barvalg avatar Aug 06 '22 01:08 Barvalg

From our discord's pins via #support:

To resolve the "Missing profile public key" issue:

  1. You need to disable enforce-secure-profile in server.properties file via 1.19.1 or later backend server(s),

  2. If you have velocity as your proxy; ensure that force-key-authentication is disabled in the velocity.toml file, (+ Please try Legacy Forwarding if modern fails)

  3. Whenever the "Chat messages can't be verified" toast appears after disabling both, ViaVersion will be unable to remove this as this is an client-side issue - to counter this; you must install a mod that suppresses the toast itself. (Fabric / Quilt servers with the Sinply Chat Reports mod installed will be your best option)

Kichura avatar Aug 06 '22 06:08 Kichura

Related to #487

creeper123123321 avatar Aug 06 '22 11:08 creeper123123321

From our discord's pins via #support:

To resolve the "Missing profile public key" issue:

  1. You need to disable enforce-secure-profile in server.properties file via 1.19.1 or later backend server(s),
  2. If you have velocity as your proxy; ensure that force-key-authentication is disabled in the velocity.toml file, (+ Please try Legacy Forwarding if modern fails)
  3. Whenever the "Chat messages can't be verified" toast appears after disabling both, ViaVersion will be unable to remove this as this is an client-side issue - to counter this; you must install a mod that suppresses the toast itself. (Fabric / Quilt servers with the Sinply Chat Reports mod installed will be your best option)

Invalid. This isn't the issue I'm happening. PLUS I already tried that.

eris-webserv avatar Aug 06 '22 11:08 eris-webserv

Closing this as the fix has been long merged.

Kichura avatar Oct 24 '22 15:10 Kichura