Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 44435 invoked from network); 1 Sep 2005 19:45:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2005 19:45:01 -0000 Received: (qmail 73979 invoked by uid 500); 1 Sep 2005 19:44:57 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 73944 invoked by uid 500); 1 Sep 2005 19:44:56 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 73931 invoked by uid 99); 1 Sep 2005 19:44:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 12:44:56 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RISK_FREE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [128.241.244.71] (HELO chi.mobile-health-diary.com) (128.241.244.71) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Sep 2005 12:45:09 -0700 Received: (qmail 19185 invoked from network); 1 Sep 2005 19:44:51 -0000 Received: from ool-43560634.dyn.optonline.net (HELO ?10.0.1.172?) (geir@67.86.6.52) by b014.internal.mobile-health-diary.com with SMTP; 1 Sep 2005 19:44:51 -0000 Mime-Version: 1.0 (Apple Message framework v733) In-Reply-To: <43173C11.4030403@gmail.com> References: <1AB1C8BD-B886-43C3-8D54-47B558B6DD66@apache.org> <7b3355cb050830163815d4f2ea@mail.gmail.com> <3B680DC6-346C-4F33-905D-84406866FC32@apache.org> <43173C11.4030403@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Geir Magnusson Jr." Subject: Re: IDEA block cipher inclusion via the "bouncy castle" JCE provider Date: Thu, 1 Sep 2005 15:45:13 -0400 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.733) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I was talking to Alan and mentioned this. He had another suggestion - lets just (for now) get the ASN1 code from BC and package it ourselves. Coupled with the suggestion about removing the IDEA algorithm as a possibility, we remove the dep on BC in OpenEJB. Then, we don't ship BC w/ geronimo, but let the console detect if BC is present and then show a message and warning where appropriate where to get the jar and how to install if not. Then Geronimo is clean, the functionality is optional, and users have no risk of encountering a problem, unless they can't read. geir On Sep 1, 2005, at 1:36 PM, Rick McGuire wrote: > I found an interesting example of the inadverent problems that can > be caused by Geronimo's current usage of bouncycastle. The openejb > SunOrb codes specifies a list of supported cipher suites to be used > with SSL connections in the class SSLCipherSuiteDatabase. The > supported list includes the IDEA algorithms. The Sun default JCE > implemenation does not include IDEA, so this will not be used > unless additional JCE provides are installed which include IDEA > support. So far, so good. The IDEA code, even though listed as an > option, will not get used without explicit knowledge of the > Gernonmo administrator. > > However, the current console code uses the bouncycastle code to > implement its keystore. This usage is in a manner that requires > the BC provider code to be installed programmatically, which the > console code does. Unfortunately, once this is done, the IDEA > algorithms are now available for use for SSL connections as well. > This server is now potentially a royalty collection target by the > IDEA patent holders, since they can demonstrate usage by having a > client connect with this server using the IDEA ciphers. We might > even want to consider allowing these algorithms to be controlled by > the server config rather than just hard coding them in the class. > > One way to fix this is just remove the IDEA algorithms from the > SSLCipherSuiteDatabase, so these will not be used for SSL > connections. Another potential solution (yet to be verified) is to > use the BC APIs that allow the default JCE provider to be used for > encryption services rather than defaulting to the BC provider. > > Rick > > -- Geir Magnusson Jr +1-203-665-6437 geirm@apache.org