TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Stuck password with 2.0.19993

    Scheduled Pinned Locked Moved Player Help
    37 Posts 5 Posters 8.7k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jim Parker
      last edited by

      I don't know how this happens... But I deleted the lines from prefs.xml, and loaded a previous game.
      As expected, the username and password fields were blank. I entered new info, and successfully posted.

      Then, I saved the game, closed the program and restarted, reloaded the new game, and magically...the bad password had populated the password field again.

      Obviously, I could not read it, but it had 8 characters (same length as old password) vice the 10 character password that is new.

      1 Reply Last reply Reply Quote 0
      • RoiEXR Offline
        RoiEX Admin
        last edited by

        That's definitely odd.
        I'll try to come up with a way how to dig further into this

        1 Reply Last reply Reply Quote 0
        • trulpenT Offline
          trulpen @RoiEX
          last edited by

          @RoiEX said in Stuck password with 2.0.19993:

          If you want to go the manual route (assuming you're using windows), pleaso download this zip and unzip it: Reset-Password.zip
          It contains a file you should be able to double click, and confirm a dialog that pops up.
          This should remove any stored A&A Forum password altogether.

          If you think the "remember password" feature doesn't work all for you you can consider submitting a bug report: https://forums.triplea-game.org/topic/1708/how-to-submit-a-bug-report
          Maybe there's a real bug involved somewhere, but I find this unlikely since we haven't touched this mechanism in a while now and nobody had any notable issues with it. (At least none were reported)

          Thanks! I'll try it.

          trulpenT 1 Reply Last reply Reply Quote 0
          • trulpenT Offline
            trulpen @trulpen
            last edited by

            I did this. The old password didn't pop up. Looked promising. Closed down the client and started it again. And there it is. Same as with Jim. Didn't work, sorry.

            1 Reply Last reply Reply Quote 0
            • RoiEXR Offline
              RoiEX Admin
              last edited by

              @Jim-Parker Can you test this scenario for me?

              1. Clear out the password manually again.
              2. Start the Game and Set the password
              3. Copy the saved encrypted password somewhere
              4. Restart the Game
              5. Check if the encrypted password stored changed.

              My suspicion is that we might have an error in the decryption algorithm on Linux systems

              trulpenT 1 Reply Last reply Reply Quote 0
              • trulpenT Offline
                trulpen @RoiEX
                last edited by

                @RoiEX said in Stuck password with 2.0.19993:

                My suspicion is that we might have an error in the decryption algorithm on Linux systems

                I use Windows.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim Parker
                  last edited by RoiEX

                  @RoiEX
                  Ok, I tried the test you provided and got weird results...

                  My AAA forum password was magically repopulated the first time as described before. But when I cleared it again and restarted the game, my username repopulated the field, but the password was blank. That's strange, but more interesting was the password hashes in the prefs.xml

                  the first time through I had a A&A and TripleA forum username and password. The second time
                  The A&A username and password were different from first time. The TripleA username was identical, but no password entry existed, which seems to indicate the dialog is pulling data from TripleA to fill A&A forum info.

                  Actual hashes below:

                  First time hashes

                  <entry key="A&amp;A_FORUM_PASSWORD" value="[redacted]Eg==.Ky/owSzgty5nCkT03Y0TgA=="/>
                  <entry key="A&amp;A_FORUM_USERNAME" value="[redacted]Rg==.Q0aH/UCxk8PmFr4YVwoCiA=="/>
                  <entry key="TRIPLEA_FORUM_PASSWORD" value="[redacted]kw==.rZYIYfRTCuz50R8RB0uYhw=="/>
                  <entry key="TRIPLEA_FORUM_USERNAME" value="[redacted]lA==.vggx546emjUyX3EzfVJrVA=="/>
                  

                  Second time hash:

                  <entry key="A&amp;A_FORUM_PASSWORD" value="[redacted]Uw==.xFgiuzMUo13j3CE9Z3m1PQ=="/>
                  <entry key="A&amp;A_FORUM_USERNAME" value="[redacted]ZA==.LduQLFVWk9UyngFBJIl7nQ=="/>
                  
                  <entry key="TRIPLEA_FORUM_USERNAME" value="[redacted]lA==.vggx546emjUyX3EzfVJrVA=="/>
                  
                  trulpenT 1 Reply Last reply Reply Quote 0
                  • trulpenT Offline
                    trulpen @Jim Parker
                    last edited by

                    I've installed 2.0.20036. No change.

                    1 Reply Last reply Reply Quote 0
                    • PantherP Offline
                      Panther Admin Moderators Lobby Moderators
                      last edited by

                      Has this been resolved? I am getting notifications about similar errors on A&A .org.

                      https://www.axisandallies.org/forums/topic/35443/password-error-with-2-0

                      Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                      1 Reply Last reply Reply Quote 0
                      • RoiEXR Offline
                        RoiEX Admin
                        last edited by

                        I haven't looked into it so far, but it sure looks like this is a common issue, so definitely worth creating a github issue

                        PantherP 1 Reply Last reply Reply Quote 0
                        • PantherP Offline
                          Panther Admin Moderators Lobby Moderators @RoiEX
                          last edited by

                          @RoiEX https://github.com/triplea-game/triplea/issues/6806

                          Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                          1 Reply Last reply Reply Quote 0
                          • RoiEXR Offline
                            RoiEX Admin
                            last edited by

                            So I did some digging and I have identified a potential error source.

                            @Jim-Parker Could you check .userPrefs/games/strategy/security/prefs.xml for me and check if that changes as well?
                            If it does this would already explain a lot, but not everything. If it doesn't I'll have to check elsewhere.
                            Do NOT post the contents of this file here, it contains the password used to encrypt the passwords. Also I redacted them in your previous post, just to feel a little bit safer.

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim Parker @RoiEX
                              last edited by

                              @RoiEX Nope. ./security/prefs.xml did not change.

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                Jim Parker
                                last edited by

                                @RoiEX Thanks for fixing my naive post of passwords.

                                1 Reply Last reply Reply Quote 0
                                • RoiEXR Offline
                                  RoiEX Admin
                                  last edited by

                                  Ok, next set of questions:

                                  .userPrefs/games/strategy/security/prefs.xml has a fixed property called DEFAULT_CREDENTIAL_MANAGER_MASTER_PASSWORD right? I just want to make sure it actually saves the key it encrypts the passwords with.

                                  When you're just looking at your engine preferences: The username you configured along with the password. Does it change as well? Or is it the same username you entered in the first place?

                                  If it does indeed change: When does it change? After closing and reopening the game/window/tab, something else?

                                  1 Reply Last reply Reply Quote 0
                                  • RoiEXR Offline
                                    RoiEX Admin
                                    last edited by

                                    @Jim-Parker

                                    Thanks for fixing my naive post of passwords.

                                    If that helps: I'm "currently working" (read as "I should finish this little project soon but haven't proceeded so far") on a small change to the system so we no longer store real passwords, just encrypted Login Tokens that can be revoked and re-created at any time.

                                    I doubt that this planned change will fix the issue you're currently experiencing, but if all attempts to nail the problem down fail that would be an option as well.

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      Jim Parker
                                      last edited by

                                      Yes. security/prefs.xml does have a property DEFAULT_CREDENTIAL_MANAGER_MASTER_PASSWORD.

                                      If I open engine preferences, I see my username and -- a 10-character password!! However, whenever I open a game it loads my username and an 8-character password...
                                      If I load a game, and then post and quit. I still see my username in the Engine preferences, and a 10-character password. HTH.

                                      1 Reply Last reply Reply Quote 0
                                      • LaFayetteL Offline
                                        LaFayette Admin
                                        last edited by

                                        The 8 character password on the UI is a dummy value, the back-end still has your original password. The problem is that there is a case where the front-end sends the dummy password to the back-end which is only supposed to happen when you are actually typing a legitimate password. The backend then dutifully stores the dummy password value.

                                        This update fixes the problem: https://github.com/triplea-game/triplea/pull/6864

                                        J 1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          Jim Parker @LaFayette
                                          last edited by

                                          @LaFayette Yea!!! That works! Thank you.

                                          1 Reply Last reply Reply Quote 1

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 1
                                          • 2
                                          • 2 / 2
                                          • First post
                                            Last post
                                          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums