hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11748) The secrets of auth cookies should not be specified in configuration in clear text
Date Fri, 27 Mar 2015 13:40:57 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14383838#comment-14383838

Hudson commented on HADOOP-11748:

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2095 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2095/])
HADOOP-11748. The secrets of auth cookies should not be specified in configuration in clear
text. Contributed by Li Lu and Haohui Mai. (wheat9: rev 47782cbf4a66d49064fd3dd6d1d1a19cc42157fc)
* hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/util/StringSignerSecretProvider.java
* hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/server/TestHttpFSServer.java
* hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml
* hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/StringSignerSecretProvider.java
* hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/util/StringSignerSecretProviderCreator.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationFilter.java

> The secrets of auth cookies should not be specified in configuration in clear text
> ----------------------------------------------------------------------------------
>                 Key: HADOOP-11748
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11748
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Li Lu
>            Priority: Critical
>             Fix For: 2.7.0
>         Attachments: HADOOP-11748-032615-poc.patch, HADOOP-11748.001.patch
> Based on the discussion on HADOOP-10670, this jira proposes to remove {{StringSecretProvider}}
as it opens up possibilities for misconfiguration and security vulnerabilities.
> {quote}
> My understanding is that the use case of inlining the secret is never supported. The
property is used to pass the secret internally. The way it works before HADOOP-10868 is the
> * Users specify the initializer of the authentication filter in the configuration.
> * AuthenticationFilterInitializer reads the secret file. The server will not start if
the secret file does not exists. The initializer will set the property if it read the file
> *There is no way to specify the secret in the configuration out-of-the-box – the secret
is always overwritten by AuthenticationFilterInitializer.
> {quote}

This message was sent by Atlassian JIRA

View raw message