Marc Becker

Results 40 comments of Marc Becker

@r-hans you can try the mentioned (trivial) code changes to the flow of [ValidateCredentialsWork](https://github.com/git-ecosystem/git-credential-manager/blob/4c32c095e49d6eb9fc93fc27422e89e4f640065b/src/shared/Atlassian.Bitbucket/BitbucketHostProvider.cs#L391): - only return true in success branches - fall through to `return false` (last line in...

There is an option to [always refresh](https://github.com/git-ecosystem/git-credential-manager/blob/main/docs/configuration.md#credentialbitbucketalwaysrefreshcredentials) BitBucket credentials. But this will create multiple **new** tokens within the mentioned 2 hour window which _may_ result in degraded server performance on...

@r-hans you might be able to also try the [builds artifacts](https://github.com/becm/git-credential-manager/actions/runs/13060544604) for the bugfix [commit](https://github.com/becm/git-credential-manager/commit/db64b5bdc59d8a498b32ac5a99ffa5e572b49754). Not feedback yet if the change will be accepted or might exhibit unforeseen issues.

@r-hans what I meant is the change might not be accepted even _if_ you manage to verify it works. As already mentioned, since it is kind of a _blind fix_...

According to your log, the `HostProvider` is [locked](https://github.com/git-ecosystem/git-credential-manager/blob/b62021fdd7f0e28bf851580e0afd834976bd79d1/src/shared/Core/HostProviderRegistry.cs#L99) to the Generic implementation. This provider would need additional config setting but should not be used on `dev.azure.com` repos anway. There is...

All attempts to start Windows executables from `/mnt/c` will still fail if [automount](https://learn.microsoft.com/en-us/windows/wsl/wsl-config#automount-settings) or [interop](https://learn.microsoft.com/en-us/windows/wsl/wsl-config#interop-settings) settingsare changed. So the only reliable solution would be to: - check if required (entrypoint)...

@vinitsiriya let's assume the above error is triggered due to calling [GetWebBrowserAvailable](https://github.com/git-ecosystem/git-credential-manager/blob/b62021fdd7f0e28bf851580e0afd834976bd79d1/src/shared/Core/Interop/Linux/LinuxSessionManager.cs#L22). There are at least 4 issues in this method: 1) Assume a WSL _kernel_ provides interop (which it...

@rwoll the Git auth scheme has no way to distinguish auth info for a PAT or a time-limited OAUTH credential. Both are saved with the same name as user+password. The...

@rwoll since there is currently no _nice_ way to identify token expiry, some `HostProvider` instances try to do discovery and refresh during the `get` phase of the Git credential helper...

Same issue regarding passphrase on keys would also apply to [SSH authentication](https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key). On regular Linux Data-at-rest is covered by file system encryption. As soon as something runs in the same...