-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding X509 PEM support for Provisioning Client (#2229)
* Adding DPS X509 public APIs. Splitting RIOT vs X509 tests. * Adding UT for x509 HSM. * Adding E2E tests. * Adding OpenSSL ENGINE tests for DPS. * Adding DevOps infra. * Doc changes. * Apply suggestions from code review Co-authored-by: Eric Wolz <ericwol@microsoft.com> * Fixing cmake integration issue * Fixing vsts job name. * Fixing Windows build. Removing DPS TPM and SAS for now. * Adding HSM type configurations for all HSMs. * Enabling DPS client by default. * Addressing feedback around const and malloc/free. * Fixing prov service client comment bug. Disabling prov_client on XCode. * Fixing x509 sample when using trusted certificates. * Fixing options test * Adding test result publishing to all VSTS jobs. * Changing test scripts to output ctest Test.xml logs. * Disabling Provisioning Service Client tests failing on OSX. * Fixing build scripts and test yaml definition. * Apply suggestions from code review Co-authored-by: Dane Walton <dawalton@microsoft.com> * Resolving PR comments. * Disabling two SFC tests failing leak checking. Tracked by #2238 Co-authored-by: Eric Wolz <ericwol@microsoft.com> Co-authored-by: Dane Walton <dawalton@microsoft.com>
- Loading branch information
1 parent
7997430
commit 1de399f
Showing
58 changed files
with
2,539 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
# Copyright (c) Microsoft. All rights reserved. | ||
# Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
set -x # Set trace on | ||
set -o errexit # Exit if command failed | ||
set -o nounset # Exit if variable not set | ||
set -o pipefail # Exit if pipe failed | ||
|
||
# Print version | ||
cat /etc/*release | grep VERSION* | ||
gcc --version | ||
openssl version | ||
curl --version | ||
|
||
build_root=$(cd "$(dirname "$0")/.." && pwd) | ||
cd $build_root | ||
|
||
# -- C -- | ||
./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --run-sfc-tests --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmriot --use-edge-modules "$@" #-x | ||
[ $? -eq 0 ] || exit $? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.