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) -
@RoiEX Thanks. But I'm using Linux. Any difference in fixing this?
-
Have a look at the
/etc/.javaor~/.java/.userPrefsfolders. It should be stored somewhere in there.
Just do a recursive grep for "FORUM" and you should be able to find it
The password itself is encrypted, so it'll look like a bunch of garbage letters -
Ok, found in .userPrefs/games/strategy/settings/prefs.xml. I suppose I just delete the offending lines, and the game should regenerate the appropriate entries.
Question: could part of the problem be that we have 2 versions of the game running? I need the old version for games that I was previously playing.
-
@Jim-Parker said in Stuck password with 2.0.19993:
.userPrefs/games/strategy/settings/prefs.xml.
.userPrefs/games/strategy/triplea/settings/prefs.xml.
-
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.
-
That's definitely odd.
I'll try to come up with a way how to dig further into this -
@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.
-
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.
-
@Jim-Parker Can you test this scenario for me?
- Clear out the password manually again.
- Start the Game and Set the password
- Copy the saved encrypted password somewhere
- Restart the Game
- Check if the encrypted password stored changed.
My suspicion is that we might have an error in the decryption algorithm on Linux systems
-
@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.
-
@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&A_FORUM_PASSWORD" value="[redacted]Eg==.Ky/owSzgty5nCkT03Y0TgA=="/> <entry key="A&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&A_FORUM_PASSWORD" value="[redacted]Uw==.xFgiuzMUo13j3CE9Z3m1PQ=="/> <entry key="A&A_FORUM_USERNAME" value="[redacted]ZA==.LduQLFVWk9UyngFBJIl7nQ=="/> <entry key="TRIPLEA_FORUM_USERNAME" value="[redacted]lA==.vggx546emjUyX3EzfVJrVA=="/> -
I've installed 2.0.20036. No change.
-
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
-
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
-
-
So I did some digging and I have identified a potential error source.
@Jim-Parker Could you check
.userPrefs/games/strategy/security/prefs.xmlfor 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. -
@RoiEX Nope. ./security/prefs.xml did not change.
-
@RoiEX Thanks for fixing my naive post of passwords.
-
Ok, next set of questions:
.userPrefs/games/strategy/security/prefs.xmlhas a fixed property calledDEFAULT_CREDENTIAL_MANAGER_MASTER_PASSWORDright? 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?
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