I have a question about keys in homebrew .
Obviously hardcode keys to homebrew is not good.
But, what scenarios are good?
1. Ask user to provide keys (prod.keys, keys.txt file and so on). I think this is preferred.
2. If key can be created by some calls to splGenerate/splLoad and some key source. Is it ok for homebrew to hardcode that source and use spl calls to use key but not direct, because it will be created inside crypto module?
3. If key or mentioned above source stored as plaintext in some system module, for example FS or ES, is it ok for homebrew to hardcode hash of that key/source and using dnmt read that process memory to find string, that will have the same hash and use it as key?
Obviously hardcode keys to homebrew is not good.
But, what scenarios are good?
1. Ask user to provide keys (prod.keys, keys.txt file and so on). I think this is preferred.
2. If key can be created by some calls to splGenerate/splLoad and some key source. Is it ok for homebrew to hardcode that source and use spl calls to use key but not direct, because it will be created inside crypto module?
3. If key or mentioned above source stored as plaintext in some system module, for example FS or ES, is it ok for homebrew to hardcode hash of that key/source and using dnmt read that process memory to find string, that will have the same hash and use it as key?








