sshwifty
sshwifty copied to clipboard
Feature request - Hashed SharedKey config value and environment variable
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
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.
That sounds great, thanks :-)