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

Sensitive data filter slightly inverted? #7834

Closed
sfayer opened this issue Oct 14, 2024 · 1 comment
Closed

Sensitive data filter slightly inverted? #7834

sfayer opened this issue Oct 14, 2024 · 1 comment
Assignees

Comments

@sfayer
Copy link
Member

sfayer commented Oct 14, 2024

Hi,

Looking through a log on our DIRAC server, I noticed a slightly weird thing: There is occasionally a redacted log message, but the thing that's removed from the message is the certificate and not the key!

 'proxyString': '***REDACTED***\n-----BEGIN PRIVATE KEY-----\nMIIABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF...===\n-----END PRIVATE KEY-----\n***REDACTED***\n***REDACTED***\n***REDACTED***\n***REDACTED***\n***REDACTED***\n***REDACTED***\n'...

r"-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----",

Did you perhaps mean to use PRIVATE KEY rather than CERTIFICATE there?

Regards,
Simon

@aldbr aldbr self-assigned this Oct 14, 2024
@aldbr
Copy link
Contributor

aldbr commented Oct 14, 2024

Oops indeed, I will fix that 😅

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

3 participants