Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide sensibles data like passwords, tokens, ... #119

Closed
max13fr opened this issue Jan 29, 2022 · 1 comment
Closed

How to hide sensibles data like passwords, tokens, ... #119

max13fr opened this issue Jan 29, 2022 · 1 comment

Comments

@max13fr
Copy link

max13fr commented Jan 29, 2022

Hello,

First, thanks for your really useful package !

I would like to hide secrets data like password, tokens, private_key, ... Do you have any solution ?

I think the best approch is to check the argument name in case of simple structure (str, int, ...) and argument content in case of dict for example, then override the sensitive data by a raw string. Do you know what function I can override ?

I know it would not be perfect, but if we could avoid the majority of the leaking it's already a huge step.

Thanks in advance,
Max

@Qix-
Copy link
Owner

Qix- commented Jan 29, 2022

Yeah, don't use this package if you're working with sensitive information. It's not meant to be used in production. There is no other alternative here - anything would be a hack at best, insecure at worst.

@Qix- Qix- closed this as completed Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants