hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11665) HttpFSServerWebServer$deprecateEnv may leak secret
Date Tue, 18 Apr 2017 05:53:41 GMT

     [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message