Skip to content

Add explainer text to sgr engine add password prompt#709

Merged
mildbyte merged 1 commit intomasterfrom
tweak-sgr-engine-add-prompt
Jul 23, 2022
Merged

Add explainer text to sgr engine add password prompt#709
mildbyte merged 1 commit intomasterfrom
tweak-sgr-engine-add-prompt

Conversation

@onpaws
Copy link
Contributor

@onpaws onpaws commented Jul 22, 2022

As an "impatient onboarder" it wasn't immediately obvious to me the implications of sgr engine add prompting for a password here.

I actually first thought sgr needed root privs to do whatever permission-requiring orchestration it needed to do, and nearly entered my OS password, which would have been persisted in plain text to .sgconfig.

I guess it's arguably subjective, but basically the motivation for this PR is that it seemed reasonable to add a bit of explainer text to this prompt, so as to help future users avoid making the same mistake.

@onpaws onpaws requested a review from mildbyte July 22, 2022 21:26
As an "impatient onboarder" it wasn't immediately obvious to me the
implications of `sgr engine add` prompting for a password.
I first suspected `sgr` wanted root and believed it was a sudo prompt.

It seems reasonable to add some explainer text here, so as to assuage
any worries/confusion as to which password is expected/how it gets used.
@onpaws onpaws force-pushed the tweak-sgr-engine-add-prompt branch from 4494b6b to 4b98274 Compare July 22, 2022 21:43
Copy link
Contributor

@mildbyte mildbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@mildbyte mildbyte merged commit 34fec11 into master Jul 23, 2022
@mildbyte mildbyte deleted the tweak-sgr-engine-add-prompt branch July 25, 2022 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants