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

Fail gracefully if support for UNIX domain sockets is unavailable #15

Closed
the-13th-letter opened this issue Oct 2, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@the-13th-letter
Copy link
Owner

We generally support running derivepassphrase on systems where the SSH agent client is unusable because the system (or at least Python on that system) does not support UNIX domain sockets; see e.g. #13. Currently, these fail with an AttributeError while resolving the socket.AF_UNIX symbol, instead of a more descriptive exception.

Therefore, correctly diagnose if the Python installation is lacking the socket.AF_UNIX symbol, and fail in an orderly manner.

@the-13th-letter the-13th-letter self-assigned this Oct 2, 2024
@the-13th-letter the-13th-letter added the bug Something isn't working label Oct 2, 2024
@the-13th-letter the-13th-letter added this to the v1.0 milestone Oct 2, 2024
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