Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH_ASKPASS to get prompts in the UI may override actual askpass programs #5916

Open
Byron opened this issue Jan 10, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@Byron
Copy link
Collaborator

Byron commented Jan 10, 2025

Version

0.14.4

Operating System

macOS

Distribution Method

dmg (Apple Silicon)

Describe the issue

When SSH is used as transport, the ssh program is using SSH_ASKPASS to get the password to unlock a private key if it is set.

The programs typically in use there, if they are UI-based, may also auto-fill the password without bothering the user.
While we unconditionally override it this workflow is disturbed.

How to reproduce

No response

Expected behavior

When SSH_ASKPASS is set, the programs the user decided on should still be respected. However, this might not always work as it should if these programs expect a terminal environment, so solving this may be more involved.

Relevant log output

No response

@Byron Byron added the bug Something isn't working label Jan 10, 2025
@Byron Byron self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant