You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
apikey and secretkey stored in plain text in (world readable) history file #157
When set apikey xyz or set secretkey xyz are executed on the cloudmonkey prompt, the command is stored verbatim into the history, potentially exposing sensitive data into a file that is world readable by default.
@hrak@rohityadavcloud I've implemented #166 to handle the file permissions.
I'll look into the feasibility of improvements in #157 (comment)
Feel free to re-open if any issues
Activity
DaanHoogland commentedon Apr 11, 2025
@hrak any way forward (exept not writing out history) that you know of?
hrak commentedon Apr 11, 2025
Move away from using
github.com/chzyer/readlineas it appears to be abandoned (no changes since 2017) and has insecure defaults.There's a small bit of activity in feb this year. I will open a ticket there and see if it gains any traction.
hrak commentedon Apr 14, 2025
Ticket here chzyer/readline#245
yadvr commentedon Apr 14, 2025
Or we can add a workaround in our CLI
DaanHoogland commentedon Apr 14, 2025
well, if they do not respond, I'd rather go for a replacement (provided it is drop-in) instead of maintaining such a workaround.
shwstppr commentedon Jul 24, 2025
@rohityadavcloud @DaanHoogland any suggestion, should we go for a different fork or in-code workaround?
Tentatively adding to 6.5.0 milestone
yadvr commentedon Jul 30, 2025
suggestions;
config: fix access for config and history file
config: fix access for config and history file (#166)
shwstppr commentedon Aug 7, 2025
@hrak @rohityadavcloud I've implemented #166 to handle the file permissions.
I'll look into the feasibility of improvements in #157 (comment)
Feel free to re-open if any issues
config: fix access for config and history file (apache#166)