-
Notifications
You must be signed in to change notification settings - Fork 7
Description
It appears that the recent commit 284c177 requires that a hostname for the secure build server be specified as part of the secure build process, and then the user must update the /etc/hosts file on the system that they use for running the secure build CLI.
If a user does not have root access on their system then they will not be able to update the /etc/hosts file and will not be able to successfully execute secure build CLI commands. For example, in such an environment, where I cannot update /etc/hosts, attempting
./build.py status --env sbs-config.json --noverify
returns this error
INFO:__main__:build: status NewConnectionError e=HTTPSConnectionPool(host='sbs.barry.com', port=443): Max retries exceeded with url: /image (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd890300370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
I would prefer to have the option to not require a hostname so that non-root users (or, to be more precise, users without the ability to update /etc/hosts on their system) can use the secure build process.