-
Notifications
You must be signed in to change notification settings - Fork 347
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
Python – Installation from source fails because GnuPG cannot import keys without user ID #717
Comments
I figure this is related to this issue stated in the I assume a solution could be to vendor the respective public keys, import them, and only then call |
I also discovered that connections to Changing Is there a specific reason you're going for |
So it appears our company firewall currently blocks port 11371, hence Since the only keyserver in I found out that features/src/python/install.sh Line 31 in 4fca96b
to
Would you be willing to accept a PR for this change? |
This helps work around corporate firewalls blocking the default HKP port 11371. Closes devcontainers#717
Hi 👋 Thanks for opening the issue, left a PR review. See #719 (review) |
I swear, it worked yesterday. Hitting this issue today. I am not on a corporate network, so not clear why it's failing. |
As a side note - Unfortunately due to one of the tools I need in my actual deployment being old, I currently need to use 3.9.... |
:sigh: |
Update & tl;dr
I figured our company firewall blocks connections to the default
hkp
port. The onlyhkps
keyserver (to which connections are not blocked) specified ininstall.sh
strips user IDs of some keys. GnuPG then refuses to import those keys. A solution could be to access the Ubuntu keyserver viahkp
through port 80, which is not blocked. See my last comment: #717 (comment)Original post
Installation of the
python
feature from source fails:devcontainer.json
:I can manually reproduce the problem on that container:
GnuPG version:
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: