Re: Patch for xml-security-c 1.2.1 compilation with g++ 4.1

2006-06-28 Thread Berin Lautenbach
Russ,

Have you tried RC2 for 1.3?  http://people.apache.org/~blautenb/ - this
should compile under gcc 4.1

Cheers,
Berin

Russ Allbery wrote:

 g++ 4.1 requires the following patch to xml-security-c 1.2.1:
 
 Index: xml-security-c/src/canon/XSECC14n20010315.hpp
 ===
 --- xml-security-c.orig/src/canon/XSECC14n20010315.hpp2006-06-26 
 20:56:03.0 -0700
 +++ xml-security-c/src/canon/XSECC14n20010315.hpp 2006-06-26 
 20:58:16.0 -0700
 @@ -124,7 +124,7 @@ protected:
  
  private:
  
 - void XSECC14n20010315::init();
 + void init();
   bool checkRenderNameSpaceNode(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode 
 *e, 
 
 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *a);
  
 Index: xml-security-c/src/transformers/TXFMXPathFilter.hpp
 ===
 --- xml-security-c.orig/src/transformers/TXFMXPathFilter.hpp  2006-06-26 
 20:56:03.0 -0700
 +++ xml-security-c/src/transformers/TXFMXPathFilter.hpp   2006-06-26 
 20:58:16.0 -0700
 @@ -77,7 +77,7 @@ public:
   // XPathFilter unique
  
   void evaluateExprs(DSIGTransformXPathFilter::exprVectorType * exprs);
 - XSECXPathNodeList * 
 TXFMXPathFilter::evaluateSingleExpr(DSIGXPathFilterExpr *expr);
 + XSECXPathNodeList * evaluateSingleExpr(DSIGXPathFilterExpr *expr);
  
   // Methods to get output data
  
 Index: xml-security-c/src/dsig/DSIGKeyInfoList.hpp
 ===
 --- xml-security-c.orig/src/dsig/DSIGKeyInfoList.hpp  2006-06-26 
 20:56:03.0 -0700
 +++ xml-security-c/src/dsig/DSIGKeyInfoList.hpp   2006-06-26 
 20:58:16.0 -0700
 @@ -232,7 +232,7 @@ public:
*/
  
   XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * 
 - DSIGKeyInfoList::createKeyInfo(void);
 + createKeyInfo(void);
  
   /**
* \brief Append a DSA KeyValue element 
 Index: xml-security-c/src/dsig/DSIGKeyInfoValue.hpp
 ===
 --- xml-security-c.orig/src/dsig/DSIGKeyInfoValue.hpp 2006-06-26 
 20:56:03.0 -0700
 +++ xml-security-c/src/dsig/DSIGKeyInfoValue.hpp  2006-06-26 
 20:58:16.0 -0700
 @@ -232,7 +232,7 @@ public:
*/
   
   XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * 
 - DSIGKeyInfoValue::createBlankRSAKeyValue(const XMLCh * modulus,
 + createBlankRSAKeyValue(const XMLCh * modulus,
   const XMLCh * exponent);
  
   /**
 @@ -243,7 +243,7 @@ public:
* @param modulus Base64 encoded value to set
*/
  
 - void DSIGKeyInfoValue::setRSAModulus(const XMLCh * modulus);
 + void setRSAModulus(const XMLCh * modulus);
  
   /**
* \brief Set the exponent
 @@ -253,7 +253,7 @@ public:
* @param exponent Base64 encoded value to set
*/
  
 - void DSIGKeyInfoValue::setRSAExponent(const XMLCh * exponent);
 + void setRSAExponent(const XMLCh * exponent);
  
   //@}
  
 Index: xml-security-c/src/dsig/DSIGReference.hpp
 ===
 --- xml-security-c.orig/src/dsig/DSIGReference.hpp2006-06-26 
 20:56:03.0 -0700
 +++ xml-security-c/src/dsig/DSIGReference.hpp 2006-06-26 20:58:16.0 
 -0700
 @@ -385,7 +385,7 @@ public:
* transforms.
*/
  
 - static TXFMChain * DSIGReference::createTXFMChainFromList(TXFMBase * 
 input, 
 + static TXFMChain * createTXFMChainFromList(TXFMBase * input, 
   DSIGTransformList * 
 lst);
  
   /**
 Index: xml-security-c/src/dsig/DSIGTransformC14n.hpp
 ===
 --- xml-security-c.orig/src/dsig/DSIGTransformC14n.hpp2006-06-26 
 20:56:03.0 -0700
 +++ xml-security-c/src/dsig/DSIGTransformC14n.hpp 2006-06-26 
 20:58:16.0 -0700
 @@ -187,7 +187,7 @@ public:
* @param ns The (space separated) list of prefixes to set.
*/
  
 - void DSIGTransformC14n::setInclusiveNamespaces(XMLCh * ns);
 + void setInclusiveNamespaces(XMLCh * ns);
   
   /**
* \brief Get the string containing the inclusive namespaces.
 Index: xml-security-c/src/xkms/impl/XKMSResultTypeImpl.hpp
 ===
 --- xml-security-c.orig/src/xkms/impl/XKMSResultTypeImpl.hpp  2006-06-26 
 20:58:32.0 -0700
 +++ xml-security-c/src/xkms/impl/XKMSResultTypeImpl.hpp   2006-06-26 
 20:58:44.0 -0700
 @@ -53,7 +53,7 @@ public:
   void load(void);
  
   XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * 
 - XKMSResultTypeImpl::createBlankResultType(
 + createBlankResultType(
   const XMLCh * tag,
  

We are now a TLP

2006-06-28 Thread Berin Lautenbach
Hi all,

The board met yesterday and the resolution to make xml-security (now
known as Santuario) a TLP.  The scope is limited to the xml-security
piece, so not the broad security project.

I'll put some thoughts together about where to from here over the next
few days.

Cheers,
Berin



Re: We are now a TLP

2006-06-28 Thread Raul Benito
Great Berin. Good job. On 6/28/06, Berin Lautenbach [EMAIL PROTECTED] wrote:
Hi all,The board met yesterday and the resolution to make xml-security (nowknown as Santuario) a TLP.The scope is limited to the xml-securitypiece, so not the broad security project.I'll put some thoughts together about where to from here over the next
few days.Cheers,Berin-- http://r-bg.com


Re: CanonicalizerSpi

2006-06-28 Thread Sean Mullan

You can download the code using subversion:

svn co https://svn.apache.org/repos/asf/xml/security/trunk xml-security

--Sean

Michael McIntosh wrote:

Raul,

That would be good. Since I am going to be building a transform and 
canonicalization algorithm, I was also hoping to get access to the source 
code, but I'll take what I can get.


Thanks,
Mike

[EMAIL PROTECTED] wrote on 06/28/2006 03:35:06 AM:


Hi Mike,

Due to a problem in the ant build scripts the 1.4 beta0 does NOT 
have include JSR105 API but this weekend I will do a new release. 
With new funcionality and I can create a zip with the javadoc if you 

want.

That will be ok for you?

Regards,

Raul


On 6/28/06, Michael McIntosh [EMAIL PROTECTED] wrote: 
[EMAIL PROTECTED] wrote on 06/26/2006 10:09:31 AM: 


Can you be more specific about what the problem is?

Also, the next release of Apache XML Security (1.4) will include JSR 

105
(Java XML DSig API). The JSR 105 API allows you to implement your own 
Canonicalization (or Transform) algorithms (with support for input

parameters) by subclassing the javax.xml.crypto.dsig.TransformService
class. An initial beta of XMLSec 1.4 is now available for testing: 
http://xml.apache.org/security/dist/java-library/xmlsec-1.4.Beta0.jar
Is the source code for the 1.4 beta available? Is there API 
documentation? 

Thanks,
Mike



--
http://r-bg.com 




Re: We are now a TLP

2006-06-28 Thread Davanum Srinivas

woohoo

On 6/28/06, Raul Benito [EMAIL PROTECTED] wrote:

Great Berin. Good job.


On 6/28/06, Berin Lautenbach [EMAIL PROTECTED] wrote:
 Hi all,

 The board met yesterday and the resolution to make xml-security (now
 known as Santuario) a TLP.  The scope is limited to the xml-security
 piece, so not the broad security project.

 I'll put some thoughts together about where to from here over the next
 few days.

 Cheers,
 Berin





--
http://r-bg.com



--
Davanum Srinivas : http://people.apache.org/~dims/


Re: Patch for xml-security-c 1.2.1 compilation with g++ 4.1

2006-06-28 Thread Russ Allbery
Berin Lautenbach [EMAIL PROTECTED] writes:

 Have you tried RC2 for 1.3?  http://people.apache.org/~blautenb/ - this
 should compile under gcc 4.1

I haven't yet -- I've been working on packaging xml-security-c for Debian,
so I've been preferring to use the released branch.  I had a feeling that
this may have already been fixed in development; it's good to know that's
true.  I expect I'll be able to drop the patch as soon as 1.3 is released.

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/