Protect the address the builder sends its registry password to
`at` was settable. A node setting could point the builder's package binding at any host, and the builder sends its registry credential there as basic auth — so a setting meant for a port was a way to hand the password to somebody else. novox/hq 04-ISSUES/085
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
"protected": [
|
"protected": [
|
||||||
"provision",
|
"provision",
|
||||||
"from",
|
"from",
|
||||||
|
"at",
|
||||||
"as"
|
"as"
|
||||||
],
|
],
|
||||||
"content": "{\"provision\": \"package-registry\", \"from\": \"gitea\", \"at\": \"127.0.0.1\", \"as\": \"mesh-builder\", \"serves\": {\"scheme\": \"http\", \"port\": 3000, \"npm-path\": \"/api/packages/novox/npm/\"}}\n"
|
"content": "{\"provision\": \"package-registry\", \"from\": \"gitea\", \"at\": \"127.0.0.1\", \"as\": \"mesh-builder\", \"serves\": {\"scheme\": \"http\", \"port\": 3000, \"npm-path\": \"/api/packages/novox/npm/\"}}\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user