Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ no overlap.
modules are.
- #1187: Remove extra path entries in output of %IPM.Storage.ResourceReference:ResolveChildren() that broke unguarded downstream callers.
- #1191: Fixed issue where configured Python version would not be used automatically during calls to pip
- #1198: Fixed bug where using `-password-stdin` would leave the IPM terminal in secret mode

## [0.10.7] - 2026-05-29

Expand Down
17 changes: 13 additions & 4 deletions src/cls/IPM/Repo/Definition.cls
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,19 @@ ClassMethod Configure(

if $data(pModifiers("password-stdin")) {
// prompt for password using secret input terminal mode
open $io:(:"S")
read "Password: ", pwd
close $io
set pModifiers("password") = pwd
set ioDevice = $io
set readSC = $$$OK
try {
open ioDevice:(:"S")
read "Password: ", pwd
write !
set pModifiers("password") = pwd
} catch ex {
set readSC = ex.AsStatus()
}
// Restore normal echo mode — must happen even on Ctrl+C or error
open ioDevice:(:"")
$$$ThrowOnError(readSC)
} elseif $data(pModifiers("password")) {
write !, $$$FormattedLine($$$Yellow, "WARNING: Using --password via the CLI is insecure. Use --password-stdin.")
}
Expand Down
Loading