Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-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 695581763E for ; Thu, 4 Jun 2015 13:34:21 +0000 (UTC) Received: (qmail 88748 invoked by uid 500); 4 Jun 2015 13:34:21 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 88690 invoked by uid 500); 4 Jun 2015 13:34:21 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 88673 invoked by uid 99); 4 Jun 2015 13:34:20 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 13:34:20 +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 75DFA1A4468 for ; Thu, 4 Jun 2015 13:34:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.901 X-Spam-Level: X-Spam-Status: No, score=0.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_LIVE=1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id xyHju3wLBnq2 for ; Thu, 4 Jun 2015 13:34:06 +0000 (UTC) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 939F1275E3 for ; Thu, 4 Jun 2015 13:34:05 +0000 (UTC) Received: by wgme6 with SMTP id e6so33768756wgm.2 for ; Thu, 04 Jun 2015 06:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=wh4ekqipOQHq/mk57l7Ts7Y0zLOFV+TaPB4ckmHrSOo=; b=TQyi4ZmbI13FQFAhJm4g3c8xQFHS2kHVct9BRN8FgnnrURA3bV0MSMGAC4teIc94+2 mRqlsgJhR2+FyG7AcmuUfD+yad4rbcUhgjWCkdKZTfbhSKQCdGBgAFFlXKhaOlsBZqh8 ziRz3RYr3xScNMl/GPfZESHX2+f1HGp5Mox4IIIBm+DPPia+WO2SzO++mvKEGmi04Bj6 Ukz1CFdnD5c9+wgd7EZUSHAkiTNHLJDsAbCwJUOQJ+50OXEa5vk1O0d9BZIlhVcfZvlN s8EsAaYStdU5TGC3qFDNVNTcso8HvRQIeNPyw/LTK78SJvBbWg+HAuvf0CsfZYtwredj +aMQ== X-Received: by 10.180.83.6 with SMTP id m6mr52299855wiy.72.1433424799296; Thu, 04 Jun 2015 06:33:19 -0700 (PDT) Received: from [10.36.226.2] ([80.169.137.63]) by mx.google.com with ESMTPSA id yz3sm5807709wjc.19.2015.06.04.06.33.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 06:33:18 -0700 (PDT) Message-ID: <5570539D.4030009@gmail.com> Date: Thu, 04 Jun 2015 14:33:17 +0100 From: Sergey Beryozkin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@cxf.apache.org Subject: Re: KMIP Support in CXF (ReST & SOAP) References: <006201d09d4f$ee1b7b20$ca527160$@cox.net> In-Reply-To: <006201d09d4f$ee1b7b20$ca527160$@cox.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Just a quick note regarding a possible alternative approach to supporting a key rotation for JAX-RS (REST) services. CXF now supports JWS/JWE/JWK for signing/encrypting the regular HTTP payloads, a JWS and/or JWE header can use a 'kid' property: https://tools.ietf.org/html/rfc7515#section-4.1.4 to signal a key change. I'll have a look at the optional support for this property inside the consuming CXF JWS/JWE filters to make it done automatically with a possible fallback to the current/'old' key Cheers, Sergey On 02/06/15 17:19, Dennis wrote: > Hello, > > In supplement to previous note: > > https://wiki.oasis-open.org/kmip/KnownKMIPImplementations > > Dennis > > -----Original Message----- > From: Dennis [mailto:dennisk@cox.net] > Sent: Tuesday, June 02, 2015 12:09 PM > To: dev@cxf.apache.org > Subject: RE: KMIP Support in CXF (ReST & SOAP) > > Hello, > > If you look at the RSA Conference Demos for the last 5 years where KMIP was used to address/test a stack of HSMs, the Yes, it is more widespread that XKMS. > > Dennis > > -----Original Message----- > From: Sergey Beryozkin [mailto:sberyozkin@gmail.com] > Sent: Tuesday, June 02, 2015 11:59 AM > To: dev@cxf.apache.org > Subject: Re: KMIP Support in CXF (ReST & SOAP) > > Hi > > Andrei Shakirin who worked on getting the XKMS code contribution added to CXF is off till next week, he may have an opinion; IMHO it is good to have multiple relevant options supported but I'm not sure how easy it is to do KMIP. > > Cheers, Sergey > > On 02/06/15 09:08, Yossi Cohen wrote: >> Hi, >> >> >> >> We are currently evaluating several technologies for public/private >> key distribution and rotation and I have two questions I was hoping CXF Dev. >> could address: >> >> >> >> 1. I noticed CXF added support in XKMS for public keys (e.g., for >> SAML token validation). It appears though that the adoption of KMIP >> >> in industry is more extensive than the adoption of XKMS >> . Does it make sense for CXF to add >> support for KMIP? Are there any plans to add this capability and if >> yes in which version? >> >> 2. For key rotation we need the previous public key to be left active >> side-by-side with the new public key until all signatures signed using >> the previous private key are no longer in use (e.g., after session expiration). >> To support that, we need to be able to customize CXF and implement >> logic that tries first to validate the signature using the new public >> and upon failure, attempt to re-validate the signature using the >> previous public key. That way we guarantee that we don’t break >> existing sessions. WDYT about the logic? If you come to implement KMIP >> support in CXF, please beware of such customization need. >> >> *Best Regards,* >> *Yossi Cohen* >> > > > -- > Sergey Beryozkin > > Talend Community Coders > http://coders.talend.com/ > > Blog: http://sberyozkin.blogspot.com >