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 A1B7767A5 for ; Tue, 7 Jun 2011 04:46:22 +0000 (UTC) Received: (qmail 87631 invoked by uid 500); 7 Jun 2011 04:46:22 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 87591 invoked by uid 500); 7 Jun 2011 04:46:22 -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 87583 invoked by uid 99); 7 Jun 2011 04:46:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 04:46:22 +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:46: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 DAA5B104574 for ; Tue, 7 Jun 2011 04:45:58 +0000 (UTC) Date: Tue, 7 Jun 2011 04:45:58 +0000 (UTC) From: "Rich Newcomb (JIRA)" To: dev@camel.apache.org Message-ID: <1805905291.2767.1307421958876.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 X-Virus-Checked: Checked by ClamAV on apache.org 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