Bug 486336

Summary: Trust database update fails when installing Craft for MinGW if a proxy is used
Product: [Unmaintained] Craft Reporter: Ralf Habacker <ralf.habacker>
Component: BlueprintsAssignee: Hannah von Reth <vonreth>
Status: REPORTED ---    
Severity: normal CC: windows-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ralf Habacker 2024-04-30 09:44:28 UTC
SUMMARY

If craft is configured to build MinGW packages on Windows when using a proxy, which is usually the case in corporate networks, an error occurs when updating the trust database

STEPS TO REPRODUCE
1. start powershell
2. enter the following commands
 $ENV:http_proxy = 'http://<myproxyhost>:<myproxyport>'
 $ENV:https_proxy = 'http://<myproxyhost>:<myproxyport>'
3.   run install_craft.ps1

OBSERVED RESULT
In the log there is printed:
...
*** Action: post-qmerge for dev-utils/msys-base ***
...
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:   6  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:   3  signed:   2  trust: 3-, 0q, 0n, 0m, 0f, 0u
gpg: error retrieving 'alexey.pawlow@gmail.com' via WKD: Connection timed out
gpg: error reading key: Connection timed out
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: keyserver refresh failed: Connection timed out
==> ERROR: Could not update key: F40D263ECA25678A
gpg: error retrieving 'david.macek.0@gmail.com' via WKD: Connection timed out
gpg: error reading key: Connection timed out
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: keyserver refresh failed: Connection timed out
==> ERROR: Could not update key: 790AE56A1D3CFDDC
gpg: error retrieving 'martellmalone@gmail.com' via WKD: Connection timed out
gpg: error reading key: Connection timed out
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
...

EXPECTED RESULT
This error message should not appear

SOFTWARE/OS VERSIONS
Windows: 10