-
Notifications
You must be signed in to change notification settings - Fork 179
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
Stratum Password Input is Masked and Cannot Be Edited in Settings #707
Comments
Only issues for pools that require long and complex string for password. |
The reason why you can't edit the password field after saving is because it's write-only (no route to read the password back from a Bitaxe). This makes sense if the password is actually a password, as some pools do. Kinda silly since it's all sent in the clear. I guess we could have the option to retrive this config if the user enables that.. but this is starting to get kinda hacky. (like using the password field for config settings) |
Thanks for the explanation! I understand that the password field is write-only and that some pools use it for actual passwords. But I think it's a minority. A potential solution could be:
This way:
Would this approach make sense? Or do you see potential issues with it? |
I think we could do something like this to make the password persist in the same session.. but as soon as you reload the browser tab it's going to go away unless we have a route to read (which we don't really want to do) |
Would it be possible to add a new configuration input that can store and display the entered value? This input could remain in sync with the password field, allowing it to be read later without modifying the existing write-only behavior. |
the issue is loading the password from the non-volatile storage on the bitaxe.. not which field it goes into |
Describe the bug
On the Settings page, the mining pool password field is masked using the HTML input
type="password"
, making it impossible to view or edit after saving. However, mining pool "passwords" are not actual passwords; they are configuration settings that can be frequently changed.For example, my current mining pool password is:
c=BCH,mc=BCH,sd=2913,m=solo,ID=bitaxegamma
Since the input is masked after saving, retrieving or modifying long settings becomes difficult.
To Reproduce
Steps to reproduce the behavior:
c=BCH,mc=BCH,sd=2913,m=solo,ID=bitaxegamma
).Expected behavior
The mining pool password should always be visible and editable since it is a configuration setting rather than a sensitive password. Changing it should be straightforward without requiring the user to remember or re-enter the entire setting manually.
Hardware:
Additional context
A potential fix could be to change the password input field to a standard text input (
type="text"
) or provide a toggle to show/hide the value. This would allow users to quickly modify their mining pool settings without frustration.The text was updated successfully, but these errors were encountered: