Commit Graph
303 Commits
Author SHA1 Message Date
Martin Regen 394f5baacf Implement cert update, more tests 2017-11-19 01:47:54 +01:00
Martin Regen 28e3e12cef make client tests configurable to use external GDS/push servers 2017-11-17 10:51:13 +01:00
Martin Regen 5a1ba07619 enable server configuration for reference server and more. 2017-11-16 23:13:04 +01:00
Martin Regen 5b4bfbeac4 Mark GDS template in lib as 'sample' server 2017-11-16 23:10:12 +01:00
Martin Regen e2f23e6d6e Linux/macOS catch bad padding mode 2017-11-16 16:17:52 +01:00
Martin Regen 5de112d59b macOS: cannot verify public/private key with crypto op when keyUsage doesn't allow dataencipherment 2017-11-16 15:14:41 +01:00
Martin Regen e156a3c3da PEM support (#33) 2017-11-15 21:08:43 +01:00
Martin Regen 09fbb05752 Gds work travis (#32)
fix appveyor and travis builds
2017-11-15 09:45:28 +01:00
Martin Regen 36e99a2e09 travis build linux 2017-11-12 22:43:55 +01:00
Martin Regen c87c3f04a6 server configuration
- implement trust list control write
- more test cases
2017-11-12 19:49:15 +01:00
Martin Regen d2356df0fb fix warnings 2017-11-12 19:44:05 +01:00
Martin Regen 35f737d5af implement UpdateCertificate and self signed test case 2017-11-11 00:40:34 +01:00
Martin Regen bfeee65f8a enable server push in gds client, add a few test cases 2017-11-09 12:17:28 +01:00
Martin Regen b7da5d2ad6 remove duplicate implementation of TrustList 2017-11-07 17:17:15 +01:00
Martin Regen a5bb127089 Merge remote-tracking branch 'mregen/pushserver' into gds_work_certs 2017-11-07 16:37:16 +01:00
Martin Regen 89646d04c5 small fixes, typos 2017-11-07 16:36:42 +01:00
Martin Regen 915ad5b87c - add cert configuration nodes
- Update cert and sign request is still missing
- no security!
2017-11-07 16:33:15 +01:00
Martin Regen 2ceaec4ab0 Implement GetCertStatus
add signing request test and more
fix QueryServers
2017-11-02 17:50:29 +01:00
Martin Regen e245446445 start key pair cert tests 2017-10-27 00:04:20 +02:00
Martin Regen f5f5cf2ecf implement more tests and missing server methods 2017-10-25 23:51:24 +02:00
Martin Regen 39939759c0 fix test namespace, rename client classes 2017-10-25 15:04:41 +02:00
Martin Regen edc8c89838 - add unit test client with nunit framework
- implement RegisterServer test case
2017-10-25 11:59:49 +02:00
Martin Regen beaab50040 lower API surface to netstandard1.3/net46 2017-10-24 14:01:43 +02:00
Martin Regen 74cc967eee fix a few compiler messages 2017-10-24 14:00:32 +02:00
Martin Regen e277a48c91 Merge branch 'gds_work_certs' of https://github.com/mregen/UA-.NETStandardLibrary into gds_work_certs 2017-10-23 22:22:11 +02:00
Martin Regen 3efbbc4c5a use list instead of fixed size array, or domainnames cannot be added 2017-10-23 22:21:47 +02:00
Martin Regen da26c04d76 add json as db storage 2017-10-23 22:20:20 +02:00
Martin Regen 9f9db285fb fix QueryServer 2017-10-20 22:40:27 +02:00
Martin Regen c1a0ba2aa1 fix client Query Server dialog 2017-10-20 22:37:52 +02:00
Martin Regen 3bb6be4899 move client lib to clientcommon folder 2017-10-20 13:28:23 +02:00
Martin Regen 6ba1778ec8 refactor GDS project: split common code into client and server class libraries.
Adjust the namespaces.
2017-10-20 13:19:34 +02:00
Martin Regen ecc1fac4e6 client fixes 2017-10-19 20:54:31 +02:00
Martin Regen 230f424810 Binary db with Linq is working 2017-10-19 20:52:45 +02:00
Martin Regen a2548cc12a GDS console server is working with memory db, but tables are not quite right yet 2017-10-18 16:21:40 +02:00
Martin Regen bcb07a6199 Simplify database class inheritance 2017-10-17 16:58:13 +02:00
Martin Regen 373f8bb5d9 refactor app database interface 2017-10-17 15:01:08 +02:00
Martin Regen 4d0b607860 GDS Library is now net46/netstandard2.0 2017-10-17 11:26:58 +02:00
Martin Regen f694e6aefb Merge remote-tracking branch 'origin/master' into gds_work_certs 2017-10-12 13:42:13 +02:00
Martin Regen d2566c60bd X509store mac fix and travis improvements (#264)
* X509store mac os (#31)

* Fix problem when X509Store CurrentUser\\UA_MachineDefault cannot be created on macOS with .NetStandard2.0
Fix: Use CurrentUser\My instead for all machine certs to make console apps portable.

* prep console sample apps for smoke test
* update travis image
* run sample server and client as smoke test


* ignore travis osx build failure until travis is fixed
2017-10-12 11:16:09 +02:00
Martin Regen 9b0bc9987e remove defualt credentials 2017-10-06 08:33:16 +02:00
Martin Regen f63f7e7e21 CR feedback 2017-10-05 23:09:24 +02:00
Martin Regen 41e33f6c5d remove dependency on Cannoli Services
dialog improvements
2017-10-02 17:57:13 +02:00
Martin Regen 28744c7e8a remove History Client 2017-09-26 18:59:40 +02:00
Martin Regen 8658f5b655 Merge branch 'gds_server2' of https://github.com/mregen/UA-.NetStandardLibrary into gds_server2 2017-09-21 11:12:09 +02:00
Martin Regen 8917e1160f Merge updates from master 2017-09-21 11:11:46 +02:00
Martin Regen bbe8e72d3a fix case when there is no pfx and der cert yet 2017-09-19 07:27:49 +02:00
Martin Regen d850f64f81 Support .netstandard2.0 (#237)
* add missing ref for build in VSO hosted VS 2017 build

* project to just build Dlls

* target multiple frameworks

* switch to net46/netstandard1.3

* fix projects to allow for netcoreapp 2.0 build

* 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.

* fix travis build / nugets

* change travis build target

* fix Kestrel https option for netstandard 2.0
tested with Ua Expert against standard and ref server

* Handle special case correctly, when zero bytes are received its ok, or BadTimeout will occur

* simplify connect, reduce DiscoverEndpoint calls
2017-09-15 09:37:32 +02:00
Martin Regen 0eedd12993 GDS client fixes 2017-09-14 14:39:01 +02:00
Martin Regen b54d369432 implicit definition of CertificateGroup causes 'false' return of TryGetValue, even if value exists 2017-09-04 08:09:58 +02:00
Martin Regen 519c46d758 -disable server push
-handle 'own' cert store + subject to create cert
-handle seperate cert (der+pem) + (pfx+pem) combination to sign cert
2017-08-29 13:31:38 +02:00