[Request] Allow credentials to be loaded from a file #721

Closed
opened 2026-01-29 16:21:12 +00:00 by claunia · 3 comments
Owner

Originally created by @JohnVeness on GitHub (Jul 6, 2024).

Originally assigned to: @mnadareski on GitHub.

Is your feature request related to a problem? Please describe.
It's awkward having to add my redump.org username and password to each run of MPF.Check. It's also a little insecure having it visible on the screen.

Describe the solution you'd like
I'd like the ability to store the credentials in a file, e.g. ~/.MPF.Check.ini or something. I realise they would still be in plain text so anyone with physical access to the machine will still be able to read them, but at least they won't be easily visible if someone is looking over your shoulder.

Describe alternatives you've considered
I guess a small wrapper bash file or similar. Not really looked into it.

Originally created by @JohnVeness on GitHub (Jul 6, 2024). Originally assigned to: @mnadareski on GitHub. **Is your feature request related to a problem? Please describe.** It's awkward having to add my redump.org username and password to each run of MPF.Check. It's also a little insecure having it visible on the screen. **Describe the solution you'd like** I'd like the ability to store the credentials in a file, e.g. ~/.MPF.Check.ini or something. I realise they would still be in plain text so anyone with physical access to the machine will still be able to read them, but at least they won't be easily visible if someone is looking over your shoulder. **Describe alternatives you've considered** I guess a small wrapper bash file or similar. Not really looked into it.
claunia added the enhancement label 2026-01-29 16:21:12 +00:00
Author
Owner

@JohnVeness commented on GitHub (Jul 6, 2024):

Actually, should probably be ~/.config/MPF.Check.ini or $XDG_CONFIG_HOME/MPF.Check.ini or equivalent on Windows and macOS. And the file format could be extended to contain other config options too if desired, obviously.

@JohnVeness commented on GitHub (Jul 6, 2024): Actually, should probably be ~/.config/MPF.Check.ini or $XDG_CONFIG_HOME/MPF.Check.ini or equivalent on Windows and macOS. And the file format could be extended to contain other config options too if desired, obviously.
Author
Owner

@mnadareski commented on GitHub (Jul 7, 2024):

I am not going to be adding the ability to do this in Check. Check is meant to be scriptable with the intent of using in custom workflows. MPF.CLI takes a full configuration if you need to go that route.

@mnadareski commented on GitHub (Jul 7, 2024): I am not going to be adding the ability to do this in Check. Check is meant to be scriptable with the intent of using in custom workflows. MPF.CLI takes a full configuration if you need to go that route.
Author
Owner

@JohnVeness commented on GitHub (Jul 7, 2024):

Ah thanks, I had completely overlooked MPF.CLI. That looks like it will suit my needs.

@JohnVeness commented on GitHub (Jul 7, 2024): Ah thanks, I had completely overlooked MPF.CLI. That looks like it will suit my needs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#721