You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently just going through the source code in order to automate some parts of my training model for my bot and I stumble upon how you have implemented authorization. Cool I first thought, I can use it to get the token to authorize some websocket calls. But then out of curiosity, I tried the usercredentials on the live website aswell, and yeah.. Bad news. I got authorized.
I hope this can be changed before the tournament starts, because this will break the fairness of the game, if someone outside of the organizers gets hold on an auth-token.
Hi! I understand your concern, and thanks for raising possible security issues. This is not as bad as it may seem, though. The only thing you can do as a signed-in user is administer a tournament. Someone could start the tournament before everyone has joined or change the game settings before we start, but that's just rude behaviour that we don't expect from our participants. And we would just need to start over again to undo it.
With that being said, you're completely right that we should have this fixed. Authorisation just hasn't been a priority for us :)
Hi cygni / maintainers of paintbot!
I am currently just going through the source code in order to automate some parts of my training model for my bot and I stumble upon how you have implemented authorization. Cool I first thought, I can use it to get the token to authorize some websocket calls. But then out of curiosity, I tried the usercredentials on the live website aswell, and yeah.. Bad news. I got authorized.
I hope this can be changed before the tournament starts, because this will break the fairness of the game, if someone outside of the organizers gets hold on an auth-token.
paintbot/app/src/main/java/se/cygni/paintbot/security/AuthenticationService.java
Lines 14 to 18 in 58c3546
Just change the usercredentials for the live server.
Thanks for hosting this, and I hope I will get a seat.
I am currently the 1st on the waiting list (Accordingly to Josefina, A.)
The text was updated successfully, but these errors were encountered: