sshwifty icon indicating copy to clipboard operation
sshwifty copied to clipboard

Feature request - Hashed SharedKey config value and environment variable

Open madhogs opened this issue 3 years ago • 2 comments

Hi,

Would it be possible to add the option for a hashed SharedKey in the config and an environment variable. This is simply to avoid the need to store it in plain text anywhere. Thought this would be a nice feature, noticed something similar to this with Dashy https://dashy.to/docs/authentication/#setting-up-authentication

Thanks

madhogs avatar Sep 06 '22 13:09 madhogs

This is a good idea, and IMO this should be how SharedKey is set by default.

However, add this feature to Sshwifty without introduce a new (and more confusing) option/schema to it's current configuration file is difficult. So if you're not in a hurry, I'll mark this as TODO for now.

I will implement this feature in the next rewrite of Sshwifty which will introduce a different configuration format (not a JSON file) anyway. That will provide me a chance to completely change how SharedKey is generated and set.

nirui avatar Sep 07 '22 08:09 nirui

That sounds great, thanks :-)

madhogs avatar Sep 07 '22 10:09 madhogs