[xmlsec] Re: Invalid certificate (and new todo)

Aleksey Sanin aleksey@aleksey.com
Thu, 25 Sep 2003 23:18:42 -0700


This is a multi-part message in MIME format.
--------------060002080906090302040007
Content-Type: multipart/alternative;
 boundary="------------060309090001010106010501"


--------------060309090001010106010501
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


> 1) Run API docs generator to find out how bad is the situation. Fix as 
> much
> as possible (Wouter, I would probably need you help with this). 

Done. It turns out that we are in a pretty good shape! Less than a 
couple dozens
functions are not documented. Wouter, I would appreciate if you can take 
a look
at these functions (see list bellow) and comment them while everything 
is still
fresh in memory :)

> 2) Create "Cert" key type for public keys.

Done for OpenSSL, NSS and MSCrypto. The patch and new der certificate 
are attached
(the new cert should go into tests/merlin-xmldsig-twenty-three/certs/ 
folder). Everything is
checked in the trunk.

Also I have added a new docs/authors.html page. The content is copied 
from AUTHORS
file in the distribution with obscured email addresses. If you are 
listed there and would
like to change something then do not hesitate to send me an email :)

Aleksey


Not documented functions:
--------------------------------------

xmlSecMSCryptoAppDefaultKeysMngrAdoptKey
xmlSecMSCryptoAppDefaultKeysMngrInit
xmlSecMSCryptoAppDefaultKeysMngrLoad
xmlSecMSCryptoAppDefaultKeysMngrSave
xmlSecMSCryptoAppKeyCertLoadMemory
xmlSecMSCryptoAppKeysMngrCertLoadMemory
xmlSecMSCryptoAppPkcs12LoadMemory
xmlSecMSCryptoKeyDataDesId
xmlSecMSCryptoKeyDataDesSet
xmlSecMSCryptoKeyDataDuplicate
xmlSecMSCryptoKeyDataGetCert
xmlSecMSCryptoKeyDataGetKey
xmlSecMSCryptoKeyDataHmacGetKlass
xmlSecMSCryptoKeyDataHmacSet
xmlSecMSCryptoTransformHmacMd5GetKlass
xmlSecMSCryptoTransformHmacSha1GetKlass


--------------060309090001010106010501
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<br>
<blockquote type="cite" cite="mid3F723305.80207@aleksey.com">1) Run API
docs generator to find out how bad is the situation. Fix as much
  <br>
as possible (Wouter, I would probably need you help with this).
</blockquote>
Done. It turns out that we are in a pretty good shape! Less than a
couple dozens<br>
functions are not documented. Wouter, I would appreciate if you can
take a look<br>
at these functions (see list bellow) and comment them while everything
is still<br>
fresh in memory :)<br>
<br>
<blockquote type="cite" cite="mid3F723305.80207@aleksey.com">2) Create
"Cert" key type for public keys.
  <br>
</blockquote>
Done for OpenSSL, NSS and MSCrypto. The patch and new der certificate
are
attached <br>
(the new cert should go into tests/merlin-xmldsig-twenty-three/certs/
folder). Everything is <br>
checked in the trunk.<br>
<br>
Also I have added a new docs/authors.html page. The content is copied
from AUTHORS<br>
file in the distribution with obscured email addresses. If you are
listed there and would<br>
like to change something then do not hesitate to send me an email :)<br>
<br>
Aleksey<br>
<br>
<br>
Not documented functions:<br>
--------------------------------------<br>
<br>
xmlSecMSCryptoAppDefaultKeysMngrAdoptKey<br>
xmlSecMSCryptoAppDefaultKeysMngrInit<br>
xmlSecMSCryptoAppDefaultKeysMngrLoad<br>
xmlSecMSCryptoAppDefaultKeysMngrSave<br>
xmlSecMSCryptoAppKeyCertLoadMemory<br>
xmlSecMSCryptoAppKeysMngrCertLoadMemory<br>
xmlSecMSCryptoAppPkcs12LoadMemory<br>
xmlSecMSCryptoKeyDataDesId<br>
xmlSecMSCryptoKeyDataDesSet<br>
xmlSecMSCryptoKeyDataDuplicate<br>
xmlSecMSCryptoKeyDataGetCert<br>
xmlSecMSCryptoKeyDataGetKey<br>
xmlSecMSCryptoKeyDataHmacGetKlass<br>
xmlSecMSCryptoKeyDataHmacSet<br>
xmlSecMSCryptoTransformHmacMd5GetKlass<br>
xmlSecMSCryptoTransformHmacSha1GetKlass<br>
<br>
</body>
</html>

--------------060309090001010106010501--

--------------060002080906090302040007
Content-Type: application/gzip;
 name="lugh-cert.der.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="lugh-cert.der.gz"

H4sICBC2cz8AA2x1Z2gtY2VydC5kZXIAM2hi9jdoYuZbwMzEyMTExvDmp+KRZQacbOxabR7n
LFiYDcoMuYFc5lAWNmEmT1dDfgNeEIdDmM2lNCknM89QxUAJJMAlLO2UmFOSmZtflKoQkpqc
kZefk5+emVqs4FOSomcoaMAPUsUtzBGhH5yaXFqUaihrIA0SYhYWcczLL8lILVIIKUrMK85M
zStRcHY0kBPnNTAyMDEwNgACI8MocV5DENfIyMjU0sQsyiCNVu7iNeCGuIvFpzQ9w6CJcRsQ
a8MChBHIkWNqbGRo6drgpd5zcYHc+Xft7yO0OD+kH8i9a/fuJINn9PXCJQdLCr6Kn293zVWM
eMgz7ZMGk94ZTcv182QKJTZmH7lw6+vUQ+0BX1+9e2eqMofdbG0gQ/jMTr8N2W9d9au//rXN
ZuK5tzTuo3fHrHo7/aMXz0z9o6D5y0jz1y5V3+KFwfZZQpZHEw4ziTLM8P5V0ZTN3tR78fNF
BuGPdy7eKIpkamxQbXsm+Yfn/NZ1/3L8nBxXq3nG3Pn02L760dk3DKmCNQJufhNqJ8TEH7ld
8dnl48T05lb57V+MGZ4aMmwUfufUUOXHWa2defaseIKa0Y4kB7881q/TTJcwVZ7knDKb+3Di
zaiUeaolOef+ylUL/Xww/+OObSseL9LVOV7x6u2Z9/zsbnKVRheYG1sYgM7wKIsweDJl5+GA
HdlzLoS9LLnbdNTPbfpLmWjfbuaisi/e6gvWHprwXO9M4/JmX1ePM+q7nEN7+758rdkjNltD
0zRUxHJSi6rty4kKdZ//nViTbKeYKnzMp+PgaoVNWRfmxt/6oTJRNOBzKlOnuLks57c0bZ+N
7cnZNicmLGJesK41uWHXU+HFVgYWBnzAqJTlZ2T8z8LCzMTeYCAI4vOxcLFw9ETy7VP69zbA
QBgkpMzCY8DVwNElE2YQZSRUi5QBmA0YDHSBgd3yPqflzuy4S9H+y2umLX38yWiuoBqTSIn8
bOcJxckbt9/P7OdQ/F1ybWuyCwCGOxs+UwMAAA==
--------------060002080906090302040007
Content-Type: application/gzip;
 name="key-from-cert.diff.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="key-from-cert.diff.gz"

H4sICM25cz8AA2tleS1mcm9tLWNlcnQuZGlmZgDtHGtT20jys/gVc97dnMEyWMKAMctWiHH2
OAhQNkll63LlEvYYdLEllyTzuDv++3XPQxpJI9kJhr2Xk7KN1NPd09Ov6Wn5xBvRhzZxZrNw
62E6Celwc7h2+PzXWq/TJ2N3Qttka3gXbt14/pQKClspaubdWkCjwKV3rndDAvgIXd8j1ub+
7trIHY9JfU7qAf5JYgbr9XqaZcPeJX06I3ajsU0ajfbOXnvHIvUGvAyGqVarlY3Ybje3YRAf
sfb2LalvWy1zl9TwY4+8fbtG8HX+8exsjTwdrJG12hr5wR2D9Mbk84ezfrczOL8YHHX7CLZG
wsiJ3CEy3KfDo9msMx2duR69dAJnShwafqWP/Psh+QfhuLOwV/7MHZ7Sx/CDdxOYjKddax95
2rUbpt3SMlVKdza/BrodGkQK7doStBlMpV7nCOpDwFCf0WlFe0d/FeH/0v7Zc6b0l7+Sn1Ez
fqkIwC/el2jiOyNkcALcwxgyDvwpuex+IDiYKZLEq53b1eOM9kGJvJszN4zKIN9PnBv25RxY
+eRM5pT8sxjyw3wSubMJBwwFXibwGgi8trTAj2mwApmPaFBReCgE+mZBH3d7/+aCLreoKJiH
ER0tZVKfdxr7uCRAhAjxieFCp9HS9pp7aGl7ew0zMbQ3s3tOwtTZPuKVcF+HoWUL0Bq/lLa9
/GWpIYKrN+qU5LW5p7sqriUIcAK2tWvhDGyrtWs2G2wOhpEIBRTt2IkcXM4rPn6d/Ewa6+Qf
AIdg4xkscjSuhhEoVGCSSjcI/KBNxg6oyIhEPmGaJIgL7UFd+lL5KfxS2fzigSgFyTtc1Pov
YRSw5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