Skip to content

Fix 'Remember Password' on computers without Git installed#17

Merged
yungcomputerchair merged 1 commit into
Open-Source-Free-Realms:mainfrom
yungcomputerchair:passwordfix
Jul 11, 2026
Merged

Fix 'Remember Password' on computers without Git installed#17
yungcomputerchair merged 1 commit into
Open-Source-Free-Realms:mainfrom
yungcomputerchair:passwordfix

Conversation

@yungcomputerchair

Copy link
Copy Markdown
Contributor

The credential package falls back to GCM if the GCM_CREDENTIAL_STORE environment variable isn't set, and that defers to git.exe to lookup which credential manager to use. This throws (and we now catch it) but breaks password storage.

The fix is to explicitly set the environment variable to the correct GCM.

@yungcomputerchair yungcomputerchair left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't get more broken :P

@yungcomputerchair yungcomputerchair merged commit e863a2b into Open-Source-Free-Realms:main Jul 11, 2026
1 check passed
@StimpyDev

Copy link
Copy Markdown
Contributor

Do u even test your code, this doesn't work

@yungcomputerchair

Copy link
Copy Markdown
Contributor Author

Do u even test your code, this doesn't work

I don't have a Win-x64 machine 😭😭😭 don't bully me Stimpy

@StimpyDev

Copy link
Copy Markdown
Contributor

Sorry bro im watching the world cup match between norway and england xD

@yungcomputerchair

Copy link
Copy Markdown
Contributor Author

Sorry bro im watching the world cup match between norway and england xD

Same lol.

I have one person saying it worked for them and another saying it didn't, so we probably need to look into this more. But the worst case scenario seems to be that the password just isn't saved, which imo is better than storing plaintext.

What behavior did you see when you tried it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants