[ 
https://issues.apache.org/jira/browse/HDFS-11665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Zhuge updated HDFS-11665:
------------------------------
    Attachment: HDFS-11665.001.patch

Patch 001
* Do not print env var value and property value

Testing done
* Verify no secret in log when {{HTTPFS_SSL_KEYSTORE_PASS}} is set

> HttpFSServerWebServer$deprecateEnv may leak secret
> --------------------------------------------------
>
>                 Key: HDFS-11665
>                 URL: https://issues.apache.org/jira/browse/HDFS-11665
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: httpfs, security
>    Affects Versions: 3.0.0-alpha3
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>         Attachments: HDFS-11665.001.patch
>
>
> May print secret in warning message:
> {code}
>     LOG.warn("Environment variable {} = '{}' is deprecated and overriding"
>             + " property {} = '{}', please set the property in {} instead.",
>         varName, value, propName, propValue, confFile);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to