From issues-return-38410-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Thu Jan 25 09:56:09 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 90C0F180676 for ; Thu, 25 Jan 2018 09:56:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7EEDA160C13; Thu, 25 Jan 2018 08:56:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C6167160C3D for ; Thu, 25 Jan 2018 09:56:08 +0100 (CET) Received: (qmail 3072 invoked by uid 500); 25 Jan 2018 08:56:03 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 2746 invoked by uid 99); 25 Jan 2018 08:56:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jan 2018 08:56:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 839F61A0C68 for ; Thu, 25 Jan 2018 08:56:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id j6iXm6qEls-N for ; Thu, 25 Jan 2018 08:56:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 96FE35F3BA for ; Thu, 25 Jan 2018 08:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2ACFDE0F6D for ; Thu, 25 Jan 2018 08:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1B610240F6 for ; Thu, 25 Jan 2018 08:56:00 +0000 (UTC) Date: Thu, 25 Jan 2018 08:56:00 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-5581) bin/client -u karaf -p karaf can login if we enable jasypt for jaas MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16338940#comment-16338940 ] Freeman Fang commented on KARAF-5581: ------------------------------------- This is because each time the JasyptEncryption will generate different digest password from the plain password, so simply compare the new digest password and the one stored in users.properties doesn't work. We should delegate to the jasypt checkPassword method > bin/client -u karaf -p karaf can login if we enable jasypt for jaas > -------------------------------------------------------------------- > > Key: KARAF-5581 > URL: https://issues.apache.org/jira/browse/KARAF-5581 > Project: Karaf > Issue Type: Bug > Reporter: Freeman Fang > Assignee: Freeman Fang > Priority: Major > > 1. add jasypt-encryption to "featuresBoot" in org.apache.karaf.features.cfg > 2. encryption.enabled=true, encryption.name=jasypt in org.apache.karaf.jaas.cfg > 3. start karaf > 4. verify that jasypt feature is installed > 5. bin/client -u karaf -p karaf doesn't work -- This message was sent by Atlassian JIRA (v7.6.3#76005)