Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask password #190

Merged
merged 12 commits into from
Jun 10, 2024
Merged

Conversation

elightcap
Copy link
Contributor

Mask password in Server Connections. Password is masked by default, with a button to show the password. This is only in the basic mode, im not sure if there would be a way to just mask the password in the connection string for the advanced mode

@budak7273
Copy link
Member

Perhaps advanced mode could have a warning box near it that says "your server password is potentially displayed while on this screen" or similar

Copy link
Member

@mircearoata mircearoata left a comment

Choose a reason for hiding this comment

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

The passwords are also visible in the server list, so those should be redacted too. I don't think that they should be controlled by the same hide/show button as the password input, though, maybe clicking on each of them would show/hide that single unredacted URL.

Hovering over the folder icon in the install combobox also displays the full URL, though, as I understand it, the purpose of this PR is to ensure the credentials aren't leaked through screenshots or someone looking at your screen, so those are probably fine to remain unredacted.

As for the advanced mode, a note could work, but imo it's pretty clear that there's going to be a plaintext password in there already. The advanced mode is also only meant as a backup, just in case there's somehow some field that the simple mode doesn't support, which shouldn't be the case.

frontend/src/lib/components/modals/ServerManager.svelte Outdated Show resolved Hide resolved
frontend/src/lib/components/modals/ServerManager.svelte Outdated Show resolved Hide resolved
frontend/src/lib/components/modals/ServerManager.svelte Outdated Show resolved Hide resolved
@elightcap elightcap requested a review from mircearoata March 8, 2024 17:49
@mircearoata
Copy link
Member

The new commits do address the code comments, but the point about the password in existing remote installs listed still stands.

@mircearoata mircearoata merged commit fe68238 into satisfactorymodding:master Jun 10, 2024
8 of 9 checks passed
@elightcap elightcap deleted the mask_password branch June 17, 2024 15:21
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.

3 participants