You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by George I Matkovits <ma...@uswest.net> on 2001/01/12 08:09:50 UTC

Re: Secure Soap V2A with extended SSL, authentication and (limited) encryptionsupport

Sorry, I missed this note. Yes, you are completely correct. PKI is  used only, with
SSL or anywhere, to exchange symmetric session keys. Its overhead prohibits its use
in any other situations. With a 'routable' encryption solution (like Soap over
MQSeries) PKI IMHO would be useless. That is what I have been trying to say.
Thank you - George

nathan wray wrote:

> SSL uses PKI to swap a symetric session key.  So the communication isn't PKI at
> all.
>
> George I Matkovits wrote:
>
> > PKI performance is a CPU cycles and not connection time issue. IMHO the
> > 'apparent' soap response time will 'always' be governed by connection times but
> > CPU overhead will suffer greatly with PKI WITHOUT any extra security benefit
> > (100 additional CPUs with 10% symmetric key overhead :-). I hope that I have
> > shown that already.  Client PKI certificate support is just extra server code
> > and the proposed SecureSoap approach can easily support it (even in its server
> > ACL) may be V2A-3?. I am not in favor of tilting  at wind-mills. There is too
> > much commercial (not really security) momentum in favor of full PKI, I am just
> > trying to warn the community. You always get what yo pay for, let the customer
> > be aware!  My interest in Soap is really indirect, I would like to start to
> > work with IBM's WSTK and my company's application integration ASAP. I would
> > also like to have an efficient and secure java WSTK with a generic Java Secure
> > Soap.
> > Regards - George
> >
> > Darrel Drake wrote:
> >
> > > I'd like to address a concern that you brought up, namely the performance
> > > loss associated with PKI. First, it's possible to specify symmetric
> > > encryption methods under the existing W3C XML Encryption standards. Also,
> > > you have to consider the slowness of SOAP processing itself when thinking
> > > about performance loss. Just processing the SOAP message is at least on the
> > > order of 100 times slower than the fastest possible associated encryption
> > > operations. So for the total SOAP transaction, you would lose just one
> > > order of magnitude by choosing PKI over tripleDES. Some might consider that
> > > a bearable cost of the extra security.
> > >
> > > Darrell Drake*
> > > IBM Japan, TRL
> > > +81-46-215-4175
> > > EB92401@jp.ibm.com
> > > * - Notes ID has a misspelling of my name
> > >
> > > From: "George I Matkovits" <ma...@uswest.net> on 2000-12-08 12:45
> > >
> > > Please respond to soap-dev@xml.apache.org
> > >
> > > To:   soap-dev@xml.apache.org, george.matkovits@lawson.com,
> > >       leon.johnson@lawson.com
> > > cc:
> > > Subject:  Re: Secure Soap V2A with extended SSL, authentication and
> > >       (limited) encryptionsupport
> > >
> > > I can not do anything else but hold since the latest CVS tree from 12/6
> > > does
> > > not seem to work correctly for me. Thank you for your comments, I fully
> > > agree
> > > with the 'review' process and I will attempt to defend the proposed
> > > solution
> > > here later. Unfortunately, here and everywhere, any and all of the current
> > > solutions are based on a PKI infrastructure which mandates the use of the
> > > very
> > > inefficient  Public/Private Key technology which is around 1000 times less
> > > efficient then traditional symmetric keys like tripleDES (DEsade) What
> > > would
> > > this mean for performance? If the overhead of symmetric key encryption on
> > > a
> > > UDDI  Server is 10% then you would need additional 100 CPU's (YES
> > > additional
> > > ONE HUNDRED CPUs! :-) to get equivalent performance. This kind of
> > > performance
> > > is NOT acceptable in a commercial environment. While the cryptographic
> > > characteristics of the PKI environment are well understood its performance
> > > implications  are NOT, due to the so called Security Community's heavy
> > > commercial involvement. I am happy that we started the discussion about
> > > PKI's
> > > commercial promise  as far as its 'performance' issues go. Any sane person
> > > (one
> > > who can count on his/her own fingers :-) will understand that the
> > > Publiv/Private keys can only be used for a session key definition which
> > > unfortunately does not work for 'routed' XML documents (someone from IBM
> > > pointed this out when I first posted the current SSL mods to Soap)  between
> > > UDDI Processing Stations.
> > > I hope someone will have the best of both worlds ASAP because we need it
> > > NOW.
> > > SSL does not stop someone from connecting to an UDDI server and deploying a
> > > 'malicious Trojan' Java program. Only secure one-per-user (encrypted?)
> > > passwords and an automated methodology for generating the Server's ACL
> > > could
> > > provide the foundation for that.
> > > Thank you again for your comments. I will post another update as soon as
> > > the
> > > code in the CVS tree works again, currently sequential applications die
> > > eventually with an 'Connection aborted by peer: JVM_recv in socket input
> > > stream.' IMHO the problem is with both Servlets new context management
> > > code.
> > > Someone from IBM made the last commit. Could you please use your influence
> > > within IBM to either undo it or fix the problem (The next, more
> > > comprehensive
> > > version of SecureSoap, works only against the 9-18 CVS tree :-).
> > > Regards - George
> > >
> > > Darrel Drake wrote:
> > >
> > > > George,
> > > >
> > > > I was able to more thoroughly review the design points of SecureSoap 2A
> > > > over the weekend (my Monday), especially as it related to digital
> > > signature
> > > > and encryption -- as I was not so familiar with this aspect. So I'd like
> > > to
> > > > elaborate on the concerns that I voiced last week.
> > > >
> > > > Client side SSL support for Apache SOAP is a definite need. We all hope
> > > > that people will use SOAP for real B2B applications, and this development
> > > > is a step toward SOAP's maturity in that sense. In addition to the
> > > > transport level confidentiality and integrity that are provided by SSL,
> > > > SOAP-level security is necessary. However, we may want to consider a
> > > > different approach than you are currently proposing (at that level).
> > > >
> > > > When it comes to XML security, I believe we should take advantage of the
> > > > current W3C/IETF discussion on XML Signature and XML Encryption as much
> > > as
> > > > possible. Please see the SOAP signature implementation in IBM's Web
> > > > Services Toolkit (http://www.alphaworks.ibm.com/tech/webservicestoolkit)
> > > > for our current progress on this issue.  Also see
> > > > http://www.trl.ibm.co.jp/projects/xml/soap/ for related discussions.
> > > Since
> > > > there is no way to mathematically prove the security of a protocol, the
> > > > only way to achieve a reasonable level of security is thorough review by
> > > > security experts. Thus, using existing standards will greatly reduce the
> > > > risk of introducing additional security vulnerabilities.
> > > >
> > > > My view, simply put, is that SOAP should leverage existing technologies,
> > > > not create new ones. Especially in security, since many people believe
> > > that
> > > > designing a security protocol that is in fact secure is very difficult.
> > > > Your efforts to improve SOAP security are greatly appreciated by the SOAP
> > > > user and developer communities. But considering the concerns put forward
> > > > above, could you hold committing the code beyond beyond the client side
> > > SSL
> > > > support?
> > > >
> > > > Darrell Drake*
> > > > IBM Japan, TRL
> > > > +81-46-215-4175
> > > > EB92401@jp.ibm.com
> > > > * - Notes ID has a misspelling of my name
> > > >
> > > > From: "George I Matkovits" <ma...@uswest.net> on 2000-11-29 20:56
> > > >
> > > > Please respond to soap-dev@xml.apache.org
> > > >
> > > > To:   soap-dev@xml.apache.org, matkovitsg@uswest.net,
> > > >       sanjiva@watson.ibm.com, cnelson@synchrony.net
> > > > cc:
> > > > Subject:  Secure Soap V2A with extended SSL, authentication and (limited)
> > > >       encryption support.
> > > >
> > > > Please find attached the latest version of the SecureSoap work. This
> > > > version is
> > > > based on the ApacheSoap2_0 CVS tree from 9-18-2K. It supports:
> > > > 1.) fully configurable SSL transport.
> > > > 2.) UDDI compliant Encrypted Password, signed Distinguished Name
> > > > Authentication
> > > > Header.
> > > > 3.) Diffie-Hellman based triple DESade symmetric encryption environment.
> > > > (Symmetric encryption is around 1000 times more efficient then a PKI
> > > based
> > > > one).
> > > >
> > > > 4. Scripts are provided  for both Windows and Linux to build the
> > > Encryption
> > > > Keys
> > > > and the Server ACL.
> > > > 5. ALL features are configurable by information within Soap.configuration
> > > > files.
>
> --
> Nathan Wray
> nathan@nwray.plus.com
> --
> If you lend someone $20, and never see that
> person again, it was probably worth it.