Commit Graph

86 Commits

Author SHA1 Message Date
636dd61135 Merge branch 'main' into v3_issue_811-search-feature-on-several-aca-pages-not-working
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-latest) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
2025-04-22 10:17:29 -04:00
41a3d8d44b docker login action v4 does not exist yet (#921)
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-latest) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
2025-04-11 09:21:51 -04:00
1245917fed v3_issue_811: Merged main into local branch
Some checks are pending
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-latest) (push) Waiting to run
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Waiting to run
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Blocked by required conditions
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Waiting to run
HIRS System Tests / DockerTests (push) Waiting to run
2025-04-10 16:21:53 -04:00
cb6c98cafb Upgrade ubuntu image in dotnet provisioner workflow (#918)
Some checks are pending
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-latest) (push) Waiting to run
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Waiting to run
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Blocked by required conditions
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Waiting to run
HIRS System Tests / DockerTests (push) Waiting to run
2025-04-09 11:08:43 -04:00
d9dafb0526 Take only first cert in multi part PEM (#916)
* Take only first cert in multi part PEM, minimize side effects

* Other cases

* Github Actions dropping their ubuntu 20 runner
2025-04-09 10:58:14 -04:00
17802d2b44 v3_issue_811: Got rid of newer bootstrap folder. Will integrate into HIRS in another issue. Figured out where the search issue lies. Need to figure out how to search on columns on the server side. 2025-04-07 15:42:29 -04:00
97204d25db v3_issue_811: Merged main into search feature branch
Some checks are pending
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Waiting to run
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Waiting to run
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Blocked by required conditions
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Waiting to run
HIRS System Tests / DockerTests (push) Waiting to run
2025-04-07 10:26:47 -04:00
0b7a72805a [#896] Add basic Platform Certificate Class Registry support to the ACA (#898)
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
* issue_896: first cut at changing the logic on the validator

* issue_896: Added more javadocs, still going through the process and figuring out places where this will work. Can successfully debug provisioner+aca.

* issue_896: slowly introducing component identifier v2 into multiple spots throughout out the app. Seems like we need to ensure that when we try to parse the pc from the identity claim, it needs to recognize the new kind of identifier.

* issue_896: deleted abstract plat form config class, replaced it with plat config v1 (which already exists), moved attribuutes associated with v2 to the v2 class, when validating the aca will now verify if the platform config associated with the cert is v1 or v2. Made corrections to attributes names to better align with tcg docs.

* issue_896:Added a new property to component info, made some more spelling corrections, deleted unused classes that were being referenced by componentinfo. pretty much done with the aca side of things.

* issue_896:I believe I have finished the issue. Further testing needs to be done. Will put in a WIP PR for now.

* issue_896: Made some more changes after viewing PR

* issue_896: Changed v3 to v4 in the github actions yaml files.

* issue_896: Fixed issues in one of the test classes, can now test other aspects of the SupplyChainCredentialValidator class. Will add more tests as more issues get fixed.

* issue_896: Hopefully GITHUB actions will be more forgiving.

* issue_896: Placed test task in the root build.gradle. Made more fixes to the test classes.

* issue_896: Realized there might be more work needed for the validation part. Started adding more logic to validation.

* issue_896: Last change before the long weekend. Hoping these changes will make github actions happy.

* issue_896: Verifying that this part works. We will need to figure out a smart/efficient way of comparing the components from platform cert and device info report.

* testing

* v3_issue_896: Should work for this PR.

* v3_issue_821: fixed the NPE issue we were getting during provisioning for missing component info.

* v3_issue_896: my copy/paste skills need work. Fixed the issue that was causing the docker tests to fail.

* v3_issue_896: trying to see if reverting the return call null will make a difference.

* v3_issue_896: should fix issues with pc found on certain devices

* v3_issue_896: part ii of should fix issues with pc found on certain devices
2025-04-02 06:29:03 -04:00
b3cc60dd24 Updated some workflows to use upload-artifact@v4 (#899)
* Updated to upload-artifact@v4

* Updated to download-artifact@v4
2025-03-06 07:16:35 -05:00
93b71456e4 issue_811: Replaced var with let in the script tags of the jsp files. I believe the search function is tied to one of the js files. Might need to write some JS.
Some checks are pending
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Waiting to run
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Waiting to run
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Blocked by required conditions
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Waiting to run
HIRS System Tests / DockerTests (push) Waiting to run
2025-02-24 20:27:28 -05:00
6e9e68c1e7 dotnet_provisioner_unit_tests workflow will use newer actions (#840)
* Update dotnet_provisioner_unit_tests to use upload-artifactv4 and checkoutv4
2024-09-18 13:16:38 -04:00
72b37cec61 Merge pull request #815 from SuperPotato27/v3_issue_810
(WIP) Added action to package the RIM tool and the EventLog tool for windows.
2024-09-04 10:30:21 -04:00
1b582dfec6 removed HIRS_Provisioner 2024-08-19 15:09:50 -04:00
a62e45ee2e Merge pull request #816 from nsacyber/v3_issue_794_ci-error-check
Fixes CI test error checking
2024-08-16 15:16:02 -04:00
e8f69ba3af adding a hirstools folder to the ZIP_Files artifact 2024-07-31 16:46:11 -04:00
a41b0f2fe4 Windows Docker images needed some work (#817)
* Use openssl 3.3 in aca windows images [no ci]

* Further attempt to compile the tpm simulator on Windows [no ci]

* Sw tpm vs solution was updated to look for libcrypto in different place
[no ci]

* Similar steps for tss tools [no ci]

* Change workflow ref [no ci]

* REF not connecting [no ci]

* Try accessing through Env [no ci]

* Tried to print build args before selecting image [no ci]

* Different arg access before shell change [no ci]

* Fun with docker args [no ci]

* Fun with docker build args 2 [no ci]

* Adjust for change in package folder structure [no ci]
2024-07-25 19:19:18 -04:00
577880c2f5 save log on failure 2024-07-25 14:25:35 -04:00
df333fa36a save log on failure 2024-07-25 14:16:58 -04:00
89e1aea091 Added check for non typical provisioner status 2024-07-25 13:33:16 -04:00
7753d919d0 minor changes 2024-07-25 13:05:27 -04:00
b03ac63abe Merge branch 'v3_issue_805' into v3_issue_810 2024-07-25 12:56:53 -04:00
c3459b166b Resolved warnings 2024-07-25 12:38:38 -04:00
dfd84b4c90 Update hirs_package_linux.yml 2024-07-25 11:55:50 -04:00
3dcccfa670 Update hirs_package_linux.yml 2024-07-24 15:52:26 -04:00
0737cbce20 Added a README to tcg rim tool win package 2024-07-24 08:40:41 -04:00
8a3478c19e Adding RIM tests action (#806)
* Added Rim test workflow

* bug fixes

* added rim tool setup

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* updates to rim_tests.yml

* updates to rim_tests.yml

* updates to rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* added run all script

* added run all script

* updates to rim_tests.yml

* Updates to paths in composite_rim_create_pass.sh

* Added all passing rim tests

* updates to rim_tests.yml

* switched to gradle-build-action@v3

* switched to setup-gradle@v3

* switched to setup-java@v4

* updates to rim_tests.yml

* testing failed script

* fixed failed test

* testing artifacts

* updates to rim_tests.yml

* Update rim_tests.yml

* updates to rim_tests.yml

* changes to rim_tests.yml

* testing log file

* testing log file

* testing log files

* testing log files

* testing log file

* testing log file

* testing log file

* testing log file

* testing log file

* Update rim_tests.yml

* verbose run

* updated paths and references

* updates to README.md

* deleted rim docker testing directory
2024-07-22 06:03:43 -04:00
7c99b81b10 supplychainvalidationsummary will look up rims by ID (#805)
* Lookup here needed summary id from device object

* Portal linkage issue

* CertificatesUsed not working properly with RIM

* Maybe need to link to base rim

* Rim test 1 needed hw file

* Working on CI

* Connecting new tpm2_common

* Edited the way scripts called in docker exec

* TPM for reset each test

* Defining efi paths in CI env file

* Forgot to close while loops

* Connecting default test files

* Variable was wrong [no ci]

* Added ACA tests using uploaded artifacts

* Trying to chmod rim_setup.sh

* rim_setup chmod issues

* Added aca tests 9 and 10 to workflow

* Added cases 9 and 10 for aca policy tests

* Exit test scripts with error if one test fails

* Attempt to solve uploaded rim linkup

* Try only setting tagId if not null

* updateSupportRimInfo was not setting associated rim on base

* Attempt alternate lookup of rim by device name

* Trouble with event log archived

* Used wrong variable

* Fix spotbugs

* Try again

* Change SupplyChainValidation.message size to MAX_MESSAGE_LENGTH
2024-07-22 06:03:09 -04:00
06a46b1e0a upgraded actions to latest versions 2024-07-17 14:53:47 -04:00
c8ca3ad820 adding eventlog Jar to the package 2024-07-17 11:00:50 -04:00
128e2f90ab adjust paths 2024-07-16 11:48:59 -04:00
298cd3286a working on windows packaging 2024-07-16 09:21:20 -04:00
d0f33119d8 working on windows packaging 2024-07-16 09:12:58 -04:00
9156771291 working on windows packaging 2024-07-16 08:41:44 -04:00
aa8b48f5f3 packaging rimtool for windows 2024-07-15 16:28:54 -04:00
4cc207fc39 packaging rimtool for windows 2024-07-15 16:12:19 -04:00
5ee890e8e9 packaging rimtool for windows 2024-07-15 16:03:00 -04:00
0193612ca5 packaging rimtool for windows 2024-07-15 15:44:29 -04:00
b2158352dc packaging rimtool for windows 2024-07-15 15:36:45 -04:00
ae0529b93a packaging rimtool for windows 2024-07-15 15:22:55 -04:00
13177712ab packaging rimtool for windows 2024-07-15 15:16:57 -04:00
59e2ac65e7 packaging rimtool for windows 2024-07-15 15:05:31 -04:00
dd7b041f9f Adding Platform Cert Tests and RIM System Tests to V3 (#781)
* Adding Platform Cert and RIM Tests to V3 and modifying workflow file to split those tests into individual steps
2024-06-07 13:27:08 -04:00
7a1a6b73b0 [#775] Adding Policy Tests to V3 (#776)
* Adding ACA Policy tests with modifications to related files

* Separating the system tests setup from the tests themselves + Splitting up ACA Policy Tests into different steps in workflow file

* Creating separate script for setting up system tests in workflow, and one script for running system tests locally. Adding details to system test steps.
2024-06-07 06:28:25 -04:00
8d82fce80f Updating GitHub Actions from V3 to V4 uses 2024-05-09 12:12:00 -04:00
144160dbfa Adding system test for provision using Provisioner.NET (#748)
* Adding run script, Dockerfile, and container setup script for provisioning with TPM Simulator and Provisioner.Net

* Replacing Docker container setup script with Docker Compose .yml file with respective configurations in related files

* Adding system_test.yml for GitHub actions to run system tests upon V3 branch pushes. Modifying related files accordingly

* Replacing V2 ACA with V3 ACA built from Rocky 9
2024-05-01 14:20:51 -04:00
24d81b9da2 create_aca_images workflow passes branch ref to dockerfiles (#729)
* Update ACA image workflow to pass ref to dockerfiles [no ci]

* Use GITHUB_REF_NAME instead [no ci]

* Change variable usage [no ci]

* Use build arg instead of env [no ci]
2024-03-06 20:51:13 -05:00
a1087e1fb2 Remove v2 aca image workflow [no ci] 2024-02-01 11:25:35 -05:00
07f86d08c4 GitHub Workflow to create V3 ACA docker images 2024-02-01 11:25:34 -05:00
e9f5d7245c Xfer HIRS_Provisioner.NET to main (#663)
* Moving HIRS_Provisioner.NET and dotnet_provisioner_unit_tests.yml into main branch

* Adding fixed dotnet provisioner workflow

* Updated files to match updated master branch, including hirs.sln, Directory.Build.targets, HIRS_Provisioner.NET.csproj, and hirsTest.csproj
2024-01-22 16:18:01 -05:00
cc84fab5e8 updated github action to copy artifacts for subprojects that now have unit tests 2024-01-17 12:40:29 -05:00