feat: add interactive Windows installer
This commit is contained in:
@@ -17,6 +17,21 @@ layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["internal/config/effective_test.go:TestEffectiveConfigurationGolden_HP_CFG_09"]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-CFG-10"
|
||||
layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["internal/config/config_test.go:TestClientMayDisableObservabilityListener_HP_CFG_10"]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-WINCLI-04"
|
||||
layer = "unit"
|
||||
status = "implemented"
|
||||
tests = [
|
||||
"cmd/rvbox/main_test.go:TestPackagedClientConfigUsesMinimalSafeDefaults_HP_WINCLI_04",
|
||||
"cmd/rvbox/main_test.go:TestInstallerClientIDNormalizesHostnames_HP_WINCLI_05",
|
||||
]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-CTL-06"
|
||||
layer = "unit"
|
||||
|
||||
@@ -101,7 +101,9 @@ password_hash_from_terminal() {
|
||||
password=
|
||||
restore_tty=false
|
||||
if [ "$password_stdin" = true ]; then
|
||||
IFS= read -r password || fail "could not read password from stdin"
|
||||
# Password files commonly omit a final newline. POSIX read returns
|
||||
# non-zero at that EOF even after assigning the final nonempty line.
|
||||
IFS= read -r password || [ -n "$password" ] || fail "could not read password from stdin"
|
||||
else
|
||||
[ -t 0 ] || fail "stdin is not a terminal; use --web-password-stdin"
|
||||
printf 'Fixture password for %s: ' "$RDP_ACCESS_WEB_USER" >&2
|
||||
|
||||
Reference in New Issue
Block a user