klaxit / hidden-secrets-gradle-plugin

🔒 Deeply hide secrets on Android
MIT License
395 stars 40 forks source link

Option to hide details from logs #22

Closed m-nogas closed 1 year ago

m-nogas commented 3 years ago

Could a flag be added to prevent the logging of the secret, package name and obfuscated secret? It would be useful to hide these from our CI logs which are stored indefinitely. If you have a way around this in your CI process and could share some details on how you use this with your CI processes I would greatly appreciate it. If you are open to supporting this I could make a PR

ben-j69 commented 3 years ago

Hello, I am interested to know why you use the plugin in your CI. Because once the files and secrets keys are added to your project you don't need to rerun commands, the C and Kotlin code should be in your repo? If it is relevant you are welcome to create a PR to add an option to hide logs.

m-nogas commented 3 years ago

We are trying to avoid committing the obfuscated secrets to GitHub. Is that what you do?

ben-j69 commented 3 years ago

It is not what I am doing on our private repository. The secret is in the project as an api key would be.

I understand your need, if you don't do the PR I will try to add this feature in the next version.

ben-j69 commented 3 years ago

Hello @m-nogas , is your demand still necessary ?

Thanks