-
Couldn't load subscription status.
- Fork 515
Closed
Description
Update & tl;dr
I figured our company firewall blocks connections to the default hkp port. The only hkps keyserver (to which connections are not blocked) specified in install.sh strips user IDs of some keys. GnuPG then refuses to import those keys. A solution could be to access the Ubuntu keyserver via hkp through port 80, which is not blocked. See my last comment: #717 (comment)
Original post
Installation of the python feature from source fails:
- At least one of the specified key servers doesn't report the user ID for five of the requested keys,
- hence GnuPG refuses to import those keys:
=> => # (*) Downloading GPG key...
=> => # gpg: key 3A5CA953F73C700D: new key but contains no user ID - skipped
=> => # gpg: key 04C367C218ADD4FF: new key but contains no user ID - skipped
=> => # gpg: key 0EDDC5F26A45C816: new key but contains no user ID - skipped
=> => # gpg: key 6AF053F07D9DC8D2: new key but contains no user ID - skipped
=> => # gpg: key C9BE28DEE6DF025C: new key but contains no user ID - skipped devcontainer.json:
{
"name": "dev",
"image": "mcr.microsoft.com/devcontainers/base:debian-11",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"version": "3.11",
},
},
}I can manually reproduce the problem on that container:
vscode ➜ ~ $ gpg --keyserver "hkps://keys.openpgp.org" --recv-keys 0x3A5CA953F73C700D
gpg: key 3A5CA953F73C700D: new key but contains no user ID - skipped
gpg: Total number processed: 1
gpg: w/o user IDs: 1GnuPG version:
vscode ➜ ~ $ gpg --version
gpg (GnuPG) 2.2.27
libgcrypt 1.8.8
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/vscode/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2Any help would be greatly appreciated.
Metadata
Metadata
Assignees
Labels
No labels