Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-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 669BA18092 for ; Tue, 16 Jun 2015 12:32:06 +0000 (UTC) Received: (qmail 49204 invoked by uid 500); 16 Jun 2015 12:32:00 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 49019 invoked by uid 500); 16 Jun 2015 12:32:00 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Received: (qmail 49006 invoked by uid 99); 16 Jun 2015 12:32:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2015 12:32:00 +0000 Date: Tue, 16 Jun 2015 12:32:00 +0000 (UTC) From: "Hugo Trippaers (JIRA)" To: dev@ws.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WSS-541) No support for signing and encrypting attachments while using derived keys 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/WSS-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587952#comment-14587952 ] Hugo Trippaers commented on WSS-541: ------------------------------------ Link to the PR with the fix https://github.com/apache/wss4j/pull/1 > No support for signing and encrypting attachments while using derived keys > -------------------------------------------------------------------------- > > Key: WSS-541 > URL: https://issues.apache.org/jira/browse/WSS-541 > Project: WSS4J > Issue Type: Bug > Components: WSS4J Core > Affects Versions: 2.1.1 > Reporter: Hugo Trippaers > Assignee: Colm O hEigeartaigh > Fix For: 2.1.2 > > > When configuring a signing and encrypting policy in CXF and using derived keys the code throws the following exception: > Caused by: org.apache.wss4j.common.ext.WSSecurityException: Cannot setup signature data structure > Original Exception was org.apache.wss4j.common.ext.WSSecurityException: no attachment callbackhandler supplied > at org.apache.wss4j.dom.message.WSSecSignatureBase.addReferencesToSign(WSSecSignatureBase.java:204) > at org.apache.wss4j.dom.message.WSSecDKSign.addReferencesToSign(WSSecDKSign.java:189) > at org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignatureDK(SymmetricBindingHandler.java:732) > at org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignature(SymmetricBindingHandler.java:757) > at org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:342) > at org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.handleBinding(SymmetricBindingHandler.java:126) > at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessageInternal(PolicyBasedWSS4JOutInterceptor.java:174) > at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:108) > at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:95) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org For additional commands, e-mail: dev-help@ws.apache.org