Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74AF262FB for ; Tue, 7 Jun 2011 04:48:20 +0000 (UTC) Received: (qmail 88244 invoked by uid 500); 7 Jun 2011 04:48:20 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 88071 invoked by uid 500); 7 Jun 2011 04:48:20 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 88053 invoked by uid 99); 7 Jun 2011 04:48:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 04:48:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 04:48:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F2C7410464B for ; Tue, 7 Jun 2011 04:47:58 +0000 (UTC) Date: Tue, 7 Jun 2011 04:47:58 +0000 (UTC) From: "Rich Newcomb (JIRA)" To: dev@camel.apache.org Message-ID: <193229629.2769.1307422078990.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1805905291.2767.1307421958876.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-4062) Camel XMLSecurity encryption fails with a client-specified passPhrase 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/CAMEL-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045271#comment-13045271 ] Rich Newcomb commented on CAMEL-4062: ------------------------------------- CAMEL-4061 includes a potential resolution for this defect. > Camel XMLSecurity encryption fails with a client-specified passPhrase > --------------------------------------------------------------------- > > Key: CAMEL-4062 > URL: https://issues.apache.org/jira/browse/CAMEL-4062 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.7.1 > Reporter: Rich Newcomb > > Camel XMLSecurity produces an NPE when a client-provide passPhrase is included as a marshal().secureXml() parameter. > java.lang.NullPointerException > at javax.crypto.spec.DESedeKeySpec.(DashoA13*..) > at javax.crypto.spec.DESedeKeySpec.(DashoA13*..) > at org.apache.camel.dataformat.xmlsecurity.XMLSecurityDataFormat.generateEncryptionKey(XMLSecurityDataFormat.java:176) > at org.apache.camel.dataformat.xmlsecurity.XMLSecurityDataFormat.marshal(XMLSecurityDataFormat.java:94) > at org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:57) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira