Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 438A9200C35 for ; Sun, 26 Feb 2017 01:34:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4238F160B7B; Sun, 26 Feb 2017 00:34:55 +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 8AFF3160B5D for ; Sun, 26 Feb 2017 01:34:54 +0100 (CET) Received: (qmail 73033 invoked by uid 500); 26 Feb 2017 00:34:52 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 72998 invoked by uid 99); 26 Feb 2017 00:34:51 -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; Sun, 26 Feb 2017 00:34:51 +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 E85EE1A050C for ; Sun, 26 Feb 2017 00:34:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id oyustT9XD4cq for ; Sun, 26 Feb 2017 00:34:50 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 64A8D5F30F for ; Sun, 26 Feb 2017 00:34:49 +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 9BC53E05EE for ; Sun, 26 Feb 2017 00:34:44 +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 1FBD524134 for ; Sun, 26 Feb 2017 00:34:44 +0000 (UTC) Date: Sun, 26 Feb 2017 00:34:44 +0000 (UTC) From: =?utf-8?Q?Guillaume_Bou=C3=A9_=28JIRA=29?= To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MCHANGES-379) [REGRESSION] Authentication does not work after Upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 26 Feb 2017 00:34:55 -0000 [ https://issues.apache.org/jira/browse/MCHANGES-379?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15= 884464#comment-15884464 ]=20 Guillaume Bou=C3=A9 commented on MCHANGES-379: ----------------------------------------- Fixed in [r1784412|http://svn.apache.org/viewvc?rev=3D1784412&view=3Drev]. > [REGRESSION] Authentication does not work after Upgrade > ------------------------------------------------------- > > Key: MCHANGES-379 > URL: https://issues.apache.org/jira/browse/MCHANGES-379 > Project: Maven Changes Plugin > Issue Type: Bug > Components: github > Affects Versions: 2.12, 2.12.1 > Reporter: Karl Heinz Marbaise > Priority: Blocker > Fix For: backlog > > > I have upgraded from maven-changes-plugin version:2.11 to 2.12 (also test= ed to 2.12.1). Using 2.11 the github-report worked without any issue. After= upgrading to 2.12 it produces: > {code} > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin= :3.6:site (default-site) on project smpp: Error generating maven-changes-pl= ugin:2.12.1:github-report: Bad credentials (401) -> [Help 1] > {code} > I have my credentials stored in {{settings.xml}} file encrypted using the= {{id:github}}. After taking a deeper [look into the code|http://svn.apache= .org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apac= he/maven/plugin/github/GitHubDownloader.java?r1=3D1654113&r2=3D1654112&path= rev=3D1654113] it looks like the encrypted password will directly given to = the github api without decrypting it via Mavens mechanisms...Before that ch= ange it worked.=20 > Furthermore I have tested to store the password in {{settings.xml}} in cl= ear text which means not encrypted it worked with version 2.12 and 2.12.1. -- This message was sent by Atlassian JIRA (v6.3.15#6346)