Commit Graph

177 Commits

Author SHA1 Message Date
Martin Regen c23a112411 fix Kestrel https option for netstandard 2.0
tested with Ua Expert against standard and ref server
2017-09-11 14:20:48 +02:00
Martin Regen fa579dd599 fix networking for .Net Core 2.0:
SendAsync and ReceiveAsync now frequently return synchronously even if successful. These cases had not been properly handled yet, previous versions never hit these codepaths.
2017-08-24 18:15:42 +02:00
Martin Regen 6749bad0ac fix projects to allow for netcoreapp 2.0 build 2017-08-24 18:12:42 +02:00
Martin Regen f40b8af4bf switch to net46/netstandard1.3 2017-08-24 09:34:01 +02:00
Martin Regen 3e6b8c606d target multiple frameworks 2017-08-23 19:11:29 +02:00
Martin Regen bad3d976e9 fix for CTT manual test failure: Arrays2D Failed with DataItem/Expand… (#221)
* fix for CTT manual test failure: Arrays2D Failed with DataItem/ExpandedNodeId: Reason array2D fails to clone
Implement Array Clone for any dimensional array, fix random generator which may produce array length 0

* add cr feedback -- expandedNodeId
2017-08-08 12:08:18 +02:00
Martin Regen 26881aab7a Client discovery and cert check improvements (#213)
Client discovery and cert check improvements
2017-08-01 17:04:35 +02:00
Erich Barnstedt 56b32c8df2 Remove some legacy code which created trust between a server and an LDS "on the sly", fixed access permission in log file and fixed security level comparision. 2017-07-17 14:52:35 +02:00
Erich Barnstedt 4e9ad6069f Merge pull request #197 from AlinMoldovean/master
Merged changes from UA-.NET
2017-07-14 10:15:12 +02:00
Martin Regen 3770bc5344 improve comment 2017-07-11 10:36:13 +02:00
Martin Regen 851fcd5fe0 Only test if cert is not issuer 2017-07-10 16:14:42 +02:00
Martin Regen e99745aa41 fix Security Certificyte Validation / test 010
NotSignatureValid is only returned on Windows, add the additional verification to be sure on all platforms.
2017-07-10 15:16:56 +02:00
Softing c05145156c Implemented validations for ArrayDimensions when decoding Variant objects. 2017-07-07 17:15:24 +03:00
Softing 211aa62129 Limit the maximum nesting level foe Encoders and Decoders 2017-07-07 16:56:23 +03:00
Erich Barnstedt aaa53367f4 Merge pull request #185 from mregen/ctt_fixes_2017
CTT 1.3 certification updates
2017-07-04 11:12:57 +02:00
Erich Barnstedt cfd82bd704 Fixed HTTPS for .NetCore and disabled it for .Net due to an issue with LibUV (see https://github.com/aspnet/Hosting/issues/1115) 2017-07-03 16:42:16 +02:00
Martin Regen 2159755068 Merge pull request #16 from mregen/ctt_fixes
Ctt 1.3 latest fixes
2017-06-29 09:25:55 +02:00
Martin Regen 787b49db09 fix Attribute Read: 017 return BadDataEncodingInvalid, unsupported not allowed 2017-06-28 17:05:12 +02:00
Martin Regen 3f21d1a0ab merge 2017 changes 2017-06-26 17:22:26 +02:00
Erich Barnstedt deb3f120ca Small cleanup of cert factory I/F, removing implicit default parameters. 2017-06-23 15:52:41 +02:00
Martin Regen 1db918c0cc set local=null if unspecified
Give ApplicationName default locale
remove locality in cert
remove unfinished node test in ref server
2017-06-20 16:59:58 +02:00
Martin Regen eace0012da fix 'cert signed with wrog key' / sec / cert valid / 010 2017-06-20 16:11:20 +02:00
Martin Regen ca9a17dd77 add ServerProfileArray to Base Info Server Caps 2017-06-20 14:47:26 +02:00
Erich Barnstedt e6f0ca9420 Upgrade to VS2017/.Net1.1 2017-06-09 17:50:23 +02:00
Martin Regen 6a749d63ff Add two dummy views to ref server
not always return ContainsNoLoop attribute
2017-06-09 14:24:49 +02:00
Martin Regen abcd5b9918 fix attribute Read / ContainsNoLoops 2017-06-08 17:01:34 +02:00
Martin Regen 6fc036b3ea fix for [CTT] Response.Servers[0].ApplicationName.Locale is empty
by default set all LocalizedText to InvariantCulture two letter iso code
2017-06-01 12:36:29 +02:00
Erich Barnstedt 1f99f4cdeb Added support for passing public key to CreateCert. 2017-05-19 17:05:51 +02:00
Erich Barnstedt b167c2a0e6 Bug fixing. 2017-05-19 09:51:25 +02:00
Erich Barnstedt 298fcb1ff0 More PR feedback. 2017-05-17 09:11:35 +02:00
Erich Barnstedt ff75521be5 PR feedback. 2017-05-17 08:39:26 +02:00
Erich Barnstedt 1365b58a9c Merge branch 'prototyping' 2017-05-16 09:46:15 +02:00
Erich Barnstedt 928c2a1083 Implemented signing a cert with the private key of the CA's root. 2017-05-11 23:01:08 +02:00
Erich Barnstedt ef8fe340b6 1. Removed SecurityLevel from server config, it is now automatically calculated for each endpoint description.
2. Fixed spelling/grammar in a few places.
2017-05-08 12:29:57 +02:00
Erich Barnstedt 45afb7e9ec Merge branch 'master' 2017-05-07 20:10:58 +02:00
Erich Barnstedt 6be44c7aec Got GDS compiling and running again. 2017-05-07 00:17:59 +02:00
Martin Regen 732e7c7a42 issues found in testing 2017-05-02 13:32:41 +02:00
Martin Regen 232f554636 - regressions found during UACTT pass.
- add secure RNG for BC create cert function
2017-05-01 20:20:32 +02:00
Martin Regen 52af9fdeab Merge branch 'martin_certs' of https://github.com/mregen/UA-.NetStandardLibrary.git 2017-04-29 08:22:10 +02:00
Martin Regen 8053c14468 clean up nonce calls 2017-04-29 08:22:03 +02:00
Martin Regen 86e9714d6c Fix hang1 (#15)
* correctly terminate when remote side closes

* Fix build issue
2017-04-29 08:19:18 +02:00
Martin Regen e391c6b14b remove default values, caused an exception... 2017-04-28 14:48:26 +02:00
Martin Regen 02023cc94d Use secure PRNG 2017-04-28 14:04:09 +02:00
Martin Regen 1ae6d63461 check for SHA1 and key length 2017-04-27 17:28:54 +02:00
Martin Regen 3c52cf7761 - allow subjectnames with CN=xxx, O= etc.
- misc. bugfixes
- pen: set default security to highest
- pen: cert default lifetime 12 month
2017-04-27 14:21:47 +02:00
Marc Schier 2af2a4dd75 Add visual studio 2017 solution file to allow building .net Standard … (#150)
* Add visual studio 2017 solution file to allow building .net Standard stack and console samples

* Enable VS 2015 when VS 2017 is installed

* Update readme
2017-03-23 11:17:39 +01:00
Erich Barnstedt 3cfcd9e361 Revved NuGet package version and a small bug fix. 2017-03-22 14:45:34 +01:00
Erich Barnstedt d3266d5cd8 Swap cert creation flags order to work around an Azure issue. 2017-03-09 10:49:04 +01:00
Erich Barnstedt 9fb49f7730 Remove persist keyset flag from directory cert store as it doesn't make sense (we always store .pfx files) and rev nuget package numbers. 2017-03-09 00:01:27 +01:00
Erich Barnstedt aa1e32407e Added the password in the wrong place!
Also removed two unused classes.
2017-03-01 08:15:38 +01:00