Commit Graph

57 Commits

Author SHA1 Message Date
Martin Regen 20aeb22989 Fix bytestring JSON array encoding, add code coverage (#943)
- more random Variant encoding tests, incl. arrays
- fix bytestring JSON array encoding, null or empty bytestring difference is now preserved
- add solution builds to Azure pipeline build, appveyor can be retired after a brief test period
- add code coverage to linux tests, artifact is published in pipeline build results
2020-04-14 15:55:22 +02:00
Karl Deiretsbacher d6aa3f6300 Update ServerDiagnosticsCtrl.xaml.cs
Replaced the dual license with MIT to make it consistent with all other sample source files.
2020-01-22 09:49:51 +01:00
Karl Deiretsbacher 1ccd0f2880 Update ServerPage.xaml.cs
Replaced dual license with MIT. Only stack files have dual license.
2020-01-22 09:41:25 +01:00
Martin Regen 73d91d6e97 Bump up dependencies of UWP apps to use netstandard2.0 (#873)
- this is part of an effort to deprecate netstandard1.3 support (#761)
- as a result Windows 10 minimal version is now >= 16299 (Fall Creators Update 2017)
2020-01-07 17:34:38 +01:00
Martin Regen 550ed0a45f renew Universal Windows package certs (#810)
* renew certs
* update csproj with new hash
2019-09-30 08:35:34 +02:00
AlinMoldovean 8b374a7448 Copyright year set to 2019 in license notices. 2019-02-14 12:34:33 +02:00
Martin Regen d007a41d15 Add Aes profile support (#574)
* add the Aes128 and Aes256 profiles
* Aes profies were tested on IoP workshop against Ascolab, Softing, Matrikon, Milo, ProSys and others
* Pss padding is not supported on all platforms, so autodetect if it is supported and filter out Aes256 if not
* not a breaking change: not specifying the SecurityProfileUri in the config xml will automatically add all supported profiles but not deprecated profiles (e.g. Basic256Sha256, Aes128, Aes256). Aes256 is only added if the platform supports Pss padding. This will simplify the maintenance of config xml, since automatically all supported and secure profiles are exposed.
2018-10-29 09:58:45 +01:00
AlinMoldovean 9ff7f61fa1 Certificate stores renamed according to Part 12 specification recommendation. #383 2018-08-07 17:54:14 +03:00
Martin Regen ebe2330c8f Appveyor build fix (#507)
* replace outdated certs
* fix universal windows test build until 7/31/19
2018-07-31 09:58:53 +02:00
Martin Regen e6916f31be License info in V1.04 is not quite right (#503)
* Use OPC REDISTRIBUTABLES Agreement of Use in nuget packages (#424)

* Security policy Basic128Rsa15 removed from default server configurations.
2018-07-17 17:31:59 +03:00
Martin Regen 28e3e12cef make client tests configurable to use external GDS/push servers 2017-11-17 10:51:13 +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 0dce164b6c Improvements to GDS server (#224)
* project fix

* resolve a circular dependency with opc.ua.sample

* fix dependency on HeaderBranding

* Stack updates for GDS server, to handle app cert signing and crl creation for CA

* GDS server / client fixes.
Supports signing of certs, app registration/unregistration, cert revocation
Build fails until sql db files are manually created
2017-08-10 10:45:31 +02:00
Martin Regen d4e38a84ae fix AppVeyor build (#18)
* update UWP APP certs

* fix UWP release build

* fix solution path

* unify the nuget package location for all projects

* fix some package refs

* new restore test

* remove comiop project from appveyor build
2017-07-03 20:31:30 +02:00
Martin Regen 80ef672487 delete outdated certs 2017-07-03 11:46:59 +02:00
Martin Regen 3f21d1a0ab merge 2017 changes 2017-06-26 17:22:26 +02:00
Martin Regen ae0159c24d schema 2017-06-26 17:21:33 +02:00
Martin Regen 56bf36b1de cleanup, CTT recommends either L or DC in distinguished name 2017-06-22 16:38:40 +02:00
Erich Barnstedt e6f0ca9420 Upgrade to VS2017/.Net1.1 2017-06-09 17:50:23 +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
Martin Regen fd5c9369fc Update all subject names 2017-04-27 17:49:43 +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 8074adbac1 Added description. 2017-02-20 09:07:16 +01:00
Erich Barnstedt e768b359e6 Remove security mode 0 (no security) from all configurations as it is a secrity risk. 2017-02-19 18:12:40 +01:00
Erich Barnstedt a332f659e5 Adressed code review feedback. 2017-02-16 15:41:26 +01:00
Erich Barnstedt 2c16ee53d8 Merge from master. 2017-01-23 09:03:38 +01:00
Martin Regen a7ce895f7c -Move all uanodes and txt resources into dlls
-delete the obsolete uanodes/txt files in project folders

note: clean build required, make sure all dll are updated in bin folders or resources in dll may not be found
2016-12-16 16:00:17 +01:00
Martin Regen 5c370bd742 cert creation fixes
- certs were not created on Linux w. Openssl if a passcode was missing from the pkcs12 store
- stabilize the creation on windows where UWP is picky about the storage keys to use
- CR feedback
2016-12-08 18:35:31 +01:00
Martin Regen 2148d65084 improve cert handling of sample apps
- create self signed cert on first start (kudos to bouncy castle)
- fix path handling in many areas,
- ./ or ../ is treated as rooted dir
- special %LocalFolder% for UWP apps to allow to write certs in app temp storage
- all batch helpers to create certs removed
2016-12-07 18:29:24 +01:00
Martin Regen 29c5519dae - use latest generated and schema files from UA Nodeset (10/19/16) (https://github.com/OPCFoundation/UA-Nodeset)
- remove some yet unsupported functionality for GDS/Pubsub
2016-12-05 14:52:51 +01:00
Martin Regen d72724e80c update known working security policies, disable auto accept 2016-11-12 09:00:09 +01:00
Martin Regen 8b8c2f034f URI should contain hostname not localhost 2016-11-11 10:02:07 +01:00
Martin Regen b8b818e1ef fix the cr feedback
- missing " in CreateCert batches
- NET46 dependency removed
- all TODO removed
2016-11-09 11:51:14 +01:00
Martin Regen 44b8fa50e9 default to 2048bit public keys in certs 2016-11-03 10:53:13 +01:00
Martin Regen 057912c825 - Fixes found during a CTT test pass. Many fixes also due to sync with .Net codebase.
- Sync codebase of Opc.Ua libraries to UA.Net 1.03.340 source on github.
-CTT stress failures and exceptions all fixed.
-Roughly 2 dozen CTT tests are still with red bubbles. Mainly very special cases.
2016-10-07 16:20:25 +02:00
Erich Barnstedt 869b69f6e8 1. Allign init code across all UWP samples.
2. Fix for Windows Activate() call being executed too late on slower systems like RasPi2.
2016-09-19 08:57:43 +02:00
Martin Regen 2f0d3095b8 simplify use of batch created certificates by supplying post build copy method where applicable 2016-09-01 12:40:42 +02:00
Martin Regen ede936d590 windows helper batch CreateAllCerts.cmd to create all certs in one shot. 2016-08-30 19:23:11 +02:00
Erich Barnstedt d8dfeec434 Disable sample server registration with the LDS for now. Can revisit once we have LDS up and running. 2016-08-08 08:54:57 +02:00
Erich Barnstedt bfecd8bc8b 1. Removed "TestPackage" from NuGet configuration.
2. Added generate cert script to project files.
3. Made "\\" platform independent, even for .Net4 samples (apart from GDS samples).
4. Fixed cert validation popups (yes/no was reversed!).
5. Got GDS server and client samples running (no connection yet).
6. Fixed configuration and popups in GDS client.
2016-08-05 10:58:51 +02:00
Erich Barnstedt 70137cd963 Added CertificateGenerator.exe for creating certs with scripts for all samples. 2016-07-31 11:14:32 +02:00
Erich Barnstedt 303614b9f8 Updating to 5.2.2 of the UWP libs. 2016-07-25 11:39:06 +02:00
Erich Barnstedt 78fffac3f9 1. Turn off UAC as this is no longer required.
2. Fix path to certificate store.
3. Update to UWP 5.2.1 and AMQP.NetLite 1.2.
4. Small exception handlers cleanup.
2016-07-12 10:00:26 +02:00
Erich Barnstedt 2901d8e5bb 1. Added definition of supported frameworks into project jason to get compiletime issues on missing classes.
2. Removed client cert validation from HTTPS client and server as this is not supported on all platforms, e.g. .Net4.6.
3. Reverted back to XmlDocument from XDocument as this is now supported via a NuGet package on UWP and XDocument is not supported on .Net4.6.
4. Baseline .Net4.6 samples and assoc. controls project check-in, not working yet.
5. Moved UWP client controls from SDK to Samples directly.
2016-07-10 23:27:41 +02:00
Erich Barnstedt ec9b6efab8 Fixed small build issue. 2016-07-01 18:03:55 +02:00
Erich Barnstedt ce9b34bea7 Fixed 2 path seperators.
Added missing runtimes definitions.
Removed unneeded platform definitions.
Removed unneeded dependent assemblies.
Re-enabled cert chain checks.
Got the HTTPS client working.
2016-07-01 17:44:06 +02:00
Erich Barnstedt d827c0c6ec Added temp key files. 2016-06-29 15:40:43 +02:00
Erich Barnstedt b7f91aaf9c 1. Added UWP SampleClient back in.
2. Added missing default constructors now required.
3. trace and endpoint file now written to temp directory as application directory not accessible from UWP apps.
2016-06-29 14:56:20 +02:00
Erich Barnstedt 1ac35fdec0 .Net Core 1.0 Release Upgrade (VS2015 Update3 is now required!):
1. Upgraded from UWP 5.1.0 to 5.2.0
2. Upgraded all assemblies from RC to RTM bits
3. Renamed Common directory to Opc.Ua.Sample
4. Reimplemented HTTP transport due to removed classes in .Net Standard
5. Small UWP XML class cleanup due to changes in UWP 5.2.0
2016-06-29 10:09:34 +02:00
Erich Barnstedt 738ae1545a Added Console Server sample project.
Added Sample project (needed for server).
Fixed copyright info.
Fixed all "easy" TODOs (or removed if not applicable anymore).
Removed HTTP transport settings (HTTP not supported anymore, only HTTPS).
Added option to load embedded resources from app directory as embedded resources not supported in .Net Standard.
2016-06-21 14:51:06 +02:00