Prepare for adding PAA trust store to chip-tool (#15224)
* Separate DefaultDeviceAttestationVerifier from credentials
- This PR is on the way to resolving #15209.
- This PR does the following:
- Splits DefaultDeviceAttesationVerifier from the main src/credentials target
since it is an optional component that can be overridden by different
commissioners
- Adds the beginning of plumbing to properly select the Trust Store for
the DefaultDeviceAttestationVerifier.
- Moved DefaultDeviceAttestatationVerifier from credentials/examples to
credentials/attestation_verifier
Missing, to come in the follow-up:
- The implementation of a new file-based PAA trust store configured with
the path passed in the plumbing added here.
Testing done: unit tests and cert tests still pass. Commissioning still works
* Restyled by clang-format
* Restyled by gn
* Fix ESP32 Qemu test
* Fix CHIPCommandBridge
Co-authored-by: Restyled.io <commits@restyled.io>
diff --git a/src/controller/python/ChipDeviceController-ScriptBinding.cpp b/src/controller/python/ChipDeviceController-ScriptBinding.cpp
index 09255f4..dd9f45c 100644
--- a/src/controller/python/ChipDeviceController-ScriptBinding.cpp
+++ b/src/controller/python/ChipDeviceController-ScriptBinding.cpp
@@ -55,8 +55,8 @@
#include <controller/CHIPDeviceControllerFactory.h>
#include <controller/CommissioningDelegate.h>
#include <controller/ExampleOperationalCredentialsIssuer.h>
-#include <credentials/DeviceAttestationVerifier.h>
-#include <credentials/examples/DefaultDeviceAttestationVerifier.h>
+#include <credentials/attestation_verifier/DefaultDeviceAttestationVerifier.h>
+#include <credentials/attestation_verifier/DeviceAttestationVerifier.h>
#include <inet/IPAddress.h>
#include <lib/dnssd/Resolver.h>
#include <lib/support/BytesToHex.h>