camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Newcomb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-4062) Camel XMLSecurity encryption fails with a client-specified passPhrase
Date Tue, 07 Jun 2011 04:49:58 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rich Newcomb updated CAMEL-4062:
--------------------------------

    Description: 
Camel XMLSecurity produces an NPE when a client-provided passPhrase is included as a marshal().secureXml()
parameter.

java.lang.NullPointerException
        at javax.crypto.spec.DESedeKeySpec.<init>(DashoA13*..)
        at javax.crypto.spec.DESedeKeySpec.<init>(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)


  was:
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.<init>(DashoA13*..)
        at javax.crypto.spec.DESedeKeySpec.<init>(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)



> 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-provided passPhrase is included as a
marshal().secureXml() parameter.
> java.lang.NullPointerException
>         at javax.crypto.spec.DESedeKeySpec.<init>(DashoA13*..)
>         at javax.crypto.spec.DESedeKeySpec.<init>(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

Mime
View raw message