ChangeLog 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. 2010-07-28 Atsushi Enomoto <[email protected]>
  2. * SecurityTokenParameters.cs, SupportingTokenParameters.cs,
  3. SslSecurityTokenParameters.cs, IssuedSecurityTokenParameters.cs,
  4. SspiSecurityTokenParameters.cs,
  5. SecureConversationSecurityTokenParameters.cs :
  6. implement ToString().
  7. 2010-07-15 Atsushi Enomoto <[email protected]>
  8. * SslSecurityTokenProvider.cs : verify mismatch. We don't have
  9. correct verification code yet, but ignoring this only brings
  10. further mismatch error.
  11. * TlsClientSession.cs : add some commented code.
  12. 2010-07-15 Atsushi Enomoto <[email protected]>
  13. * SslSecurityTokenProvider.cs : pass X509 auth credential, which
  14. contains X509 validation information.
  15. * TlsClientSession.cs : use x509 auth settings to validate service
  16. certificate.
  17. 2010-07-15 Atsushi Enomoto <[email protected]>
  18. * TlsServerSession.cs : SendRecord() somehow doesn't work, so
  19. use separate stream instread.
  20. 2010-07-15 Atsushi Enomoto <[email protected]>
  21. * BinarySecretSecurityToken.cs : add KeySize.
  22. * SslSecurityTokenAuthenticator.cs : add some comments.
  23. 2010-07-15 Atsushi Enomoto <[email protected]>
  24. * ServiceModelSecurityTokenRequirement.cs :
  25. add ExtendedProtectionPolicy.
  26. 2010-07-12 Atsushi Enomoto <[email protected]>
  27. * SslSecurityTokenAuthenticator.cs,
  28. AuthenticatorCommunicationObject.cs,
  29. SecureConversationSecurityTokenAuthenticator.cs :
  30. add timeout argument to negotication requests.
  31. 2008-02-27 Eyal Alaluf <[email protected]>
  32. * InternalEncryptedKeyIdentifierClause.cs IssuedTokenCommunicationObject.cs:
  33. Fix compilation warnings.
  34. 2007-04-17 Atsushi Enomoto <[email protected]>
  35. * IssuedSecurityTokenParameters.cs :
  36. implemented CreateRequestParameters().
  37. 2007-04-02 Atsushi Enomoto <[email protected]>
  38. * TlsClientSession.cs, TlsServerSession.cs,
  39. SslSecurityTokenProvider.cs : support mutual sslnego.
  40. * SslnegoCookieResolver.cs : .net seems to include X509Certificate
  41. information in the cookie.
  42. 2007-04-02 Atsushi Enomoto <[email protected]>
  43. * SecurityContextSecurityToken.cs : Cookie needs a setter.
  44. * SslnegoCookieResolver.cs : set Cookie so that it can be serialized.
  45. * SslSecurityTokenProvider.cs, SslSecurityTokenAuthenticator.cs :
  46. (At provider) check contextId returned by the server.
  47. Reverted ProofToken value (see comments).
  48. * CommunicationSecurityTokenAuthenticator.cs : it now implements
  49. IIssuanceSecurityTokenAuthenticator.
  50. 2007-03-30 Atsushi Enomoto <[email protected]>
  51. * AuthenticatorCommunicationObject.cs : added SecurityBindingElement.
  52. * SslSecurityTokenProvider.cs : a few updates, key is now from
  53. proof token.
  54. * SslSecurityTokenAuthenticator.cs :
  55. use LocalServiceSecuritySettings.IssuedCookieLifetime.
  56. * SpnegoSecurityTokenProvider.cs, SpnegoSecurityTokenAuthenticator.cs,
  57. SspiSession.cs : some ongoing updates
  58. as well as spnego (kerberos) negotiation handling.
  59. * TlsClientSession.cs : by specification it is P_SHA, not PRF
  60. (though not sure, as CombinedHash is for PRF).
  61. 2007-03-30 Atsushi Enomoto <[email protected]>
  62. * SslnegoCookieResolver.cs : ResolveCookie() should simply return
  63. entire SecurityContextToken parsed by dnse:Cookie binary.
  64. 2007-03-27 Atsushi Enomoto <[email protected]>
  65. * SslSecurityTokenAuthenticator.cs, SslSecurityTokenProvider.cs :
  66. Ongoing implementation. Applied some changes for SSPI support.
  67. WSSecurityTokenSerializer is implemented to return binary-secret-
  68. aware token, so just return it. Fixed some CK-HASH usage.
  69. * IssuedTokenCommunicationObject.cs :
  70. Applied some changes for SSPI support.
  71. * SpnegoSecurityTokenAuthenticator.cs, SpnegoSecurityTokenProvider.cs,
  72. SspiSession.cs : new ongoing implementation for SSPI negotiation.
  73. * SspiClientSecurityTokenAuthenticator.cs : spnego authenticator
  74. will go here (it is just a stub. Created when opening a channel).
  75. 2007-03-22 Atsushi Enomoto <[email protected]>
  76. * TlsClientSession.cs, SslSecurityTokenProvider.cs,
  77. SslSecurityTokenAuthenticator.cs : added hash calculation support,
  78. not working yet though (probably at service side).
  79. 2007-03-20 Atsushi Enomoto <[email protected]>
  80. * SslSecurityTokenAuthenticator.cs : don't reuse ContextId for SCT.
  81. Process ServerFinished before ApplicationData exchange.
  82. * TlsServerSession.cs : Fixed ClientKeyExchange stream processing.
  83. 2007-03-20 Atsushi Enomoto <[email protected]>
  84. * TlsClientSession.cs, TlsServerSession.cs :
  85. added ProcessApplicationData()
  86. * SslSecurityTokenAuthenticator.cs, SslSecurityTokenProvider.cs :
  87. process RequestedProofToken as raw TLS negotiation data.
  88. * SslnegoCookieResolver.cs : add comments on data format.
  89. 2007-03-19 Atsushi Enomoto <[email protected]>
  90. * TlsClientSession.cs : added CreateAuthHash(), used by authenticator.
  91. * SecurityContextSecurityToken.cs : support "probably correct" rawdata
  92. creation for cookie. It is not the secret key but some binary xml
  93. data.
  94. * SslnegoCookieResolver.cs : added CreateData() for creating
  95. binary-xmlized token cookie info.
  96. * SslSecurityTokenAuthenticator.cs : create session key (dummy for
  97. now) and use it instead of MasterSecret. Support t:Authenticator.
  98. 2007-03-13 Atsushi Enomoto <[email protected]>
  99. * SslSecurityTokenAuthenticator.cs, SslSecurityTokenProvider.cs :
  100. (The build should be fixed at this state.)
  101. Implemented RSTR consumption and RSTR collection creation (as the
  102. final stage at sslnego phase).
  103. Note that it is still not working, as our binary XmlDictionaryReader
  104. is not working fine (and still not sure if it will work when they
  105. are working fine, as currently there is no way to check if the
  106. byte array binary-serialized and encrypted in the dnse:Cookie is
  107. the actual symmetric key).
  108. 2007-03-13 Atsushi Enomoto <[email protected]>
  109. * SslSecurityTokenParameters.cs : support SecurityContextSecurityToken
  110. in CreateKeyIdentifierClause(). Comment out generic xml token
  111. support until we need it for sure.
  112. 2007-03-13 Atsushi Enomoto <[email protected]>
  113. * SecurityContextSecurityToken.cs : implemented almost all members.
  114. * X509SecurityTokenParameters.cs : added comment on wrong documentation.
  115. 2007-03-13 Atsushi Enomoto <[email protected]>
  116. * SslnegoCookieResolver.cs : new file. It contains the resolver for
  117. MS's non-standard encrypted sslnego shared key (dnse:Cookie), and
  118. more importantly, the description on its data format (which was
  119. almost unabled to be guessed, until I use non-protecting
  120. SecurityStateEncoder and dug in depth to Binary XmlDictionaryReader).
  121. 2007-03-13 Atsushi Enomoto <[email protected]>
  122. * TlsServerSession.cs, TlsClientSession.cs : complete every operations
  123. that depends on ReceiveRecord(). Added accessor to MasterSecret.
  124. 2007-03-09 Atsushi Enomoto <[email protected]>
  125. * TlsServerSession.cs : now ssl negotiation is functional enough to
  126. implement SecurityContextToken(Collection) transmit.
  127. * TlsClientSession.cs : cosmetic code consistency fix.
  128. 2007-03-09 Atsushi Enomoto <[email protected]>
  129. * TlsClientSession.cs, TlsServerSession.cs :
  130. okay, there is RecordProtocol, which makes things much easier and
  131. correct. Now client seems to be interoperable with .net.
  132. 2007-03-08 Atsushi Enomoto <[email protected]>
  133. * TlsClientSession.cs, TlsServerSession.cs :
  134. several fixes; Fixed content type processing (Handshake and
  135. ChangeCipherSpec). Fixed chunk output of handshake messages.
  136. Set server side key verifier.
  137. * SslSecurityTokenProvider.cs : use IssueReply for RSTR (fixed SOAP
  138. action mismatch).
  139. * SslSecurityTokenAuthenticator.cs : implemented most of TLS
  140. negotiation support, except for the final stage (still not clear
  141. what to do here).
  142. 2007-03-07 Atsushi Enomoto <[email protected]>
  143. * AuthenticatorCommunicationObject.cs,
  144. CommunicationSecurityTokenAuthenticator.cs,
  145. SecureConversationSecurityTokenAuthenticator.cs :
  146. new classes for negotiation-based token authenticators.
  147. * SslSecurityTokenAuthenticator.cs : now it is based on
  148. CommunicationSecurityTokenAuthenticator (like corresponding
  149. provider class).
  150. 2007-03-06 Atsushi Enomoto <[email protected]>
  151. * SecureConversationSecurityTokenParameters.cs :
  152. implemented protected properties.
  153. * X509SecurityTokenParameters.cs : added missing ToString().
  154. 2007-03-05 Atsushi Enomoto <[email protected]>
  155. * SslSecurityTokenProvider.cs : implemented some client negotiation
  156. based on Mono.Security.Protocols.Tls.* and WSTrust contracts.
  157. * TlsServerSession.cs, TlsClientSession.cs : session state transition
  158. manager (controls Tls Context).
  159. 2007-03-05 Atsushi Enomoto <[email protected]>
  160. * UserNameSecurityTokenParameters.cs,
  161. RsaSecurityTokenParameters.cs,
  162. IssuedSecurityTokenParameters.cs,
  163. SslSecurityTokenParameters.cs
  164. SspiSecurityTokenParameters.cs,
  165. KerberosSecurityTokenParameters.cs,
  166. SecureConversationSecurityTokenParameters.cs : updated
  167. InitializeSecurityTokenRequirement() based on updated MSDN docs.
  168. Implemented Ssl CreateKeyIdentifierClause().
  169. Implemented IssuedToken copy .ctor().
  170. 2007-03-01 Atsushi Enomoto <[email protected]>
  171. * ServiceModelSecurityTokenRequirement.cs,
  172. RecipientServiceModelSecurityTokenRequirement.cs,
  173. InitiatorServiceModelSecurityTokenRequirement.cs :
  174. implemented ToString().
  175. 2007-03-01 Atsushi Enomoto <[email protected]>
  176. * SslSecurityTokenParameters.cs : more initialization of requirement.
  177. * SslSecurityTokenAuthenticator.cs : new file.
  178. 2007-02-27 Atsushi Enomoto <[email protected]>
  179. * WrappedKeySecurityToken.cs : okkk, HMAC is extra. Just use SHA1,
  180. and not for raw key but for wrapped key.
  181. 2007-02-27 Atsushi Enomoto <[email protected]>
  182. * WrappedKeySecurityToken.cs :
  183. create HMACSHA1 always with the key to compute hash (I'm not sure
  184. it is correct; it is rather to adjust all hash consistent.)
  185. 2007-02-21 Atsushi Enomoto <[email protected]>
  186. * DerivedKeySecurityToken.cs : added ReferenceList for corresponding
  187. references to this key.
  188. 2007-02-21 Atsushi Enomoto <[email protected]>
  189. * DerivedKeySecurityToken.cs : new internal class to represent
  190. wssc:DerivedKeyToken.
  191. 2007-02-16 Atsushi Enomoto <[email protected]>
  192. * WrappedKeySecurityToken.cs : reverted previous change. Key hash
  193. could not be identical for the same key, but EncryptedKeySHA1 is
  194. based on the wrapped key. So, there is an issue that .NET returns
  195. different key than the one in the request message.
  196. 2007-02-15 Atsushi Enomoto <[email protected]>
  197. * WrappedKeySecurityToken.cs : SecurityKey should hold raw key, not
  198. wrapped one.
  199. 2007-02-06 Atsushi Enomoto <[email protected]>
  200. * WrappedKeySecurityToken.cs : it cannot resolve clauses from its
  201. .ctor() argument identifier clauses. Match EncrypedKeySHA1 clause
  202. if the hash values match.
  203. * InternalEncryptedKeyIdentifierClause.cs :
  204. derive from Binary clause.
  205. 2007-02-05 Atsushi Enomoto <[email protected]>
  206. * InternalEncryptedKeyIdentifierClause.cs : new file. It might not be
  207. required, but for now it is used to write embedded EncryptedKey in
  208. o:SecurityTokenReference.
  209. 2007-01-11 Atsushi Enomoto <[email protected]>
  210. * WrappedKeySecurityToken.cs : added internal ReferenceList, to
  211. output e:ReferenceList (kind of compromised solution; see comments).
  212. 2007-01-09 Atsushi Enomoto <[email protected]>
  213. * WrappedKeySecurityToken.cs : GetWrappedKey() return value should
  214. be the encrypted value of argument keyToWrap. Added several argument
  215. check.
  216. 2006-12-09 Atsushi Enomoto <[email protected]>
  217. * WrappedKeySecurityToken.cs : implemented missing members, except for
  218. incomplete MatchKeyIdentifierClause().
  219. * SecureConversationSecurityTokenParameters.cs : default
  220. ChannelProtectionRequirements should cover all body parts i.e.
  221. IsBodyIncluded should be true.
  222. 2006-12-06 Atsushi Enomoto <[email protected]>
  223. * SupportingTokenParameters.cs : implemented SetKeyDerivation().
  224. 2006-10-05 Atsushi Enomoto <[email protected]>
  225. * X509SecurityTokenParameters.cs : additional constructors.
  226. 2006-10-03 Atsushi Enomoto <[email protected]>
  227. * BinarySecretSecurityToken.cs : it does not seem that it uses
  228. urn:uuid:blah ("urn:" is extraneous).
  229. 2006-09-27 Atsushi Enomoto <[email protected]>
  230. * SecurityTokenParameters.cs : added internal properties to access
  231. protected properties.
  232. * UserNameSecurityTokenParameters.cs : it's done now.
  233. 2006-09-19 Atsushi Enomoto <[email protected]>
  234. * SecurityTokenParameters.cs : removed MonoTODOs.
  235. * X509SecurityTokenParameters.cs :
  236. InitializeSecurityTokenRequirement() is done.
  237. 2006-09-17 Atsushi Enomoto <[email protected]>
  238. * ProviderCommunicationObject.cs, IssuedTokenCommunicationObject.cs,
  239. SslSecurityTokenProvider.cs : both of issued token and ssl requires
  240. connection requirement, so commonize the check.
  241. 2006-09-15 Atsushi Enomoto <[email protected]>
  242. * X509SecurityTokenParameters.cs,
  243. SspiSecurityTokenParameters.cs,
  244. UserNameSecurityTokenParameters.cs,
  245. RsaSecurityTokenParameters.cs,
  246. IssuedSecurityTokenParameters.cs,
  247. SslSecurityTokenParameters.cs : implemented security feature
  248. declaration properties (HasAsymmetricKey etc.) and implemented
  249. some members.
  250. 2006-09-15 Atsushi Enomoto <[email protected]>
  251. * RsaSecurityTokenParameters.cs : TokenType fix.
  252. * ProviderCommunicationObject.cs,
  253. CommunicationSecurityTokenProvider.cs : an abstract token provider
  254. that implements ICommunicationObject, and the abstract communication
  255. object that is used in the provider.
  256. * SslSecurityTokenProvider.cs : a practical example of the above,
  257. not done yet though.
  258. * IssuedTokenCommunicationObject.cs, IssuedSecurityTokenProvider.cs :
  259. it is also significantly refactored like the above.
  260. The ICommunicationObject part of this provider class now just wraps
  261. the intermediate object.
  262. 2006-09-12 Atsushi Enomoto <[email protected]>
  263. * X509SecurityTokenParameters.cs : when token reference style is
  264. Internal, use LocalIdKeyIdentifierClause. The default for this type
  265. should be "Any".
  266. 2006-09-05 Atsushi Enomoto <[email protected]>
  267. * ServiceModelSecurityTokenRequirement.cs : implemented IsInitiator.
  268. * InitiatorServiceModelSecurityTokenRequirement.cs :
  269. initialize IsInitiator as true.
  270. 2006-09-05 Atsushi Enomoto <[email protected]>
  271. * SecurityContextSecurityTokenAuthenticator.cs,
  272. SspiSecurityToken.cs : new files.
  273. * SupportingTokenParameters.cs : copy ctor became private.
  274. 2006-08-30 Atsushi Enomoto <[email protected]>
  275. * X509SecurityTokenParameters.cs,
  276. UserNameSecurityTokenParameters.cs : implemented properties.
  277. * RsaSecurityTokenParameters.cs : new file.
  278. 2006-08-28 Atsushi Enomoto <[email protected]>
  279. * IssuedSecurityTokenProvider.cs : (GetToken) partly implemented
  280. response message consumption.
  281. 2006-08-28 Atsushi Enomoto <[email protected]>
  282. * X509SecurityTokenParameters.cs :
  283. implemented CreateKeyIdentifierClause().
  284. 2006-08-28 Atsushi Enomoto <[email protected]>
  285. * SupportingTokenParameters.cs : added some missing members.
  286. 2006-08-25 Atsushi Enomoto <[email protected]>
  287. * BinarySecretSecurityToken.cs : some .ctor() are protected.
  288. 2006-08-25 Atsushi Enomoto <[email protected]>
  289. * KerberosSecurityTokenParameters.cs : new test.
  290. 2006-08-25 Atsushi Enomoto <[email protected]>
  291. * InitiatorServiceModelSecurityTokenRequirement.cs,
  292. RecipientServiceModelSecurityTokenRequirement.cs :
  293. just use Properties to set and get each property.
  294. * SslSecurityTokenParameters.cs : fix ctor chain.
  295. hacky InitializeSecurityTokenRequirement implementation.
  296. 2006-08-24 Atsushi Enomoto <[email protected]>
  297. * SecureConversationSecurityTokenParameters.cs :
  298. fill SecurityAlgorithmSuite to the requirement.
  299. * SecurityTokenParameters.cs :
  300. added internal IssuerBindingContext property for
  301. SecurityBindingElement.SetIssuerBindingContextIfRequired().
  302. Use this context in CallInitializeSecurityTokenParameters().
  303. 2006-08-23 Atsushi Enomoto <[email protected]>
  304. * IssuedSecurityTokenParameters.cs : oops, oops. fix build.
  305. 2006-08-23 Atsushi Enomoto <[email protected]>
  306. * IssuedSecurityTokenParameters.cs : added missing members.
  307. * IssuedSecurityTokenProvider.cs : replacing broken data contract
  308. based contracts with message based contract.
  309. Support IssuerChannelBehaviors.
  310. * SecureConversationSecurityTokenParameters.cs :
  311. more InitializeSerurityTokenRequirement().
  312. 2006-08-23 Atsushi Enomoto <[email protected]>
  313. * SecurityContextSecurityTokenResolver.cs
  314. ISecurityContextSecurityTokenCache.cs
  315. SecurityContextSecurityToken.cs : new files.
  316. 2006-08-22 Atsushi Enomoto <[email protected]>
  317. * SecureConversationSecurityTokenParameters.cs :
  318. partially implemented InitializeSecurityTokenRequirement().
  319. * X509SecurityTokenParameters.cs : added X509ReferenceStyle.
  320. * SspiSecurityTokenParameters.cs : new file.
  321. 2006-08-22 Atsushi Enomoto <[email protected]>
  322. * SslSecurityTokenParameters.cs,
  323. SecureConversationSecurityTokenParameters.cs : new files.
  324. * SecurityTokenParameters.cs : added internal invoker for
  325. InitializeSecurityTokenRequirement().
  326. * IssuedSecurityTokenParameters.cs, X509SecurityTokenParameters.cs :
  327. implement InitializeSecurityTokenRequirement() (incomplete).
  328. * ServiceModelSecurityTokenRequirement.cs :
  329. MessageSecurityVersion is of type SecurityTokenVersion.
  330. 2006-08-17 Atsushi Enomoto <[email protected]>
  331. * ServiceModelSecurityTokenTypes.cs : new file.
  332. 2006-08-16 Atsushi Enomoto <[email protected]>
  333. * IssuedSecurityTokenProvider.cs :
  334. WST request and response types are renamed.
  335. 2006-08-14 Atsushi Enomoto <[email protected]>
  336. * IssuedSecurityTokenProvider.cs : use new WSTrust proxy (ClientBase)
  337. instead of ChannelFactory.
  338. * SecurityTokenParameters.cs : added internal helper method for
  339. CreateKeyIdentifierClause().
  340. * ServiceModelSecurityTokenRequirement.cs : in several properties,
  341. use TryGetProperty<T>() instead of having direct fields (so that
  342. only setting items to "Properties" also affects on those props).
  343. 2006-08-11 Atsushi Enomoto <[email protected]>
  344. * InitiatorServiceModelSecurityTokenRequirement.cs,
  345. RecipientServiceModelSecurityTokenRequirement.cs,
  346. ServiceModelSecurityTokenRequirement.cs : new files.
  347. 2006-08-07 Atsushi Enomoto <[email protected]>
  348. * IssuedSecurityTokenProvider.cs : moved some premise checks from
  349. GetTokenCore() to Open().
  350. 2006-08-04 Atsushi Enomoto <[email protected]>
  351. * WrappedKeySecurityToken.cs : new file.
  352. 2006-08-04 Atsushi Enomoto <[email protected]>
  353. * BinarySecretSecurityToken.cs : new file.
  354. 2006-08-03 Atsushi Enomoto <[email protected]>
  355. * UserNameSecurityTokenParameters.cs,
  356. X509SecurityTokenParameters.cs : new files.
  357. 2006-08-02 Atsushi Enomoto <[email protected]>
  358. * IssuedSecurityTokenProvider.cs : (GetTokenCore) some premise check.
  359. 2006-08-01 Atsushi Enomoto <[email protected]>
  360. * IssuedSecurityTokenProvider.cs : implemented some properties.
  361. * RenewedSecurityTokenHandler.cs, IssuedSecurityTokenHandler.cs,
  362. IIssuanceSecurityTokenAuthenticator.cs : new files.
  363. 2006-08-01 Atsushi Enomoto <[email protected]>
  364. * IssuedSecurityTokenProvider.cs, ClaimTypeRequirement.cs : new files.
  365. * IssuedSecurityTokenParameters.cs : added some missing members.
  366. 2006-07-21 Atsushi Enomoto <[email protected]>
  367. * SecurityTokenReferenceStyle.cs : moved from S.SM.Security namespace.
  368. 2006-07-21 Atsushi Enomoto <[email protected]>
  369. * IssuedSecurityTokenParameters.cs, SecurityTokenParameters.cs :
  370. new files.
  371. 2006-07-10 Atsushi Enomoto <[email protected]>
  372. * SupportingTokenParameters.cs : new file.