-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #529 from MattDavis00/feature-sqlite-e2e-tests
Added E2E tests using the SQLiteKIM Runs the current E2E `all_providers::normal` tests. Doesn't run multitenancy etc. Closes #516 Signed-off-by: Matt Davis <matt.davis@arm.com>
- Loading branch information
Showing
4 changed files
with
92 additions
and
7 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
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,53 @@ | ||
[core_settings] | ||
# The CI already timestamps the logs | ||
log_timestamp = false | ||
log_error_details = true | ||
|
||
# The container runs the Parsec service as root, so make sure we disable root | ||
# checks. | ||
allow_root = true | ||
|
||
[listener] | ||
listener_type = "DomainSocket" | ||
timeout = 200 # in milliseconds | ||
socket_path = "/tmp/parsec.sock" | ||
|
||
[authenticator] | ||
auth_type = "Direct" | ||
admins = [ { name = "list_clients test" }, { name = "1000" }, { name = "client1" }, { name = "spiffe://example.org/parsec-client-1" } ] | ||
#workload_endpoint="unix:///tmp/agent.sock" | ||
|
||
[[key_manager]] | ||
name = "sqlite-manager" | ||
manager_type = "SQLite" | ||
database_path = "./kim-mappings/sqlite/sqlite-key-info-manager.sqlite3" | ||
|
||
[[provider]] | ||
provider_type = "MbedCrypto" | ||
key_info_manager = "sqlite-manager" | ||
|
||
[[provider]] | ||
provider_type = "Tpm" | ||
key_info_manager = "sqlite-manager" | ||
tcti = "mssim" | ||
owner_hierarchy_auth = "tpm_pass" | ||
|
||
[[provider]] | ||
provider_type = "Pkcs11" | ||
key_info_manager = "sqlite-manager" | ||
library_path = "/usr/local/lib/softhsm/libsofthsm2.so" | ||
user_pin = "123456" | ||
# The slot_number mandatory field is going to replace the following line with a valid number | ||
# slot_number | ||
|
||
[[provider]] | ||
provider_type = "CryptoAuthLib" | ||
key_info_manager = "sqlite-manager" | ||
device_type = "always-success" | ||
iface_type = "test-interface" | ||
# wake_delay = 1500 | ||
# rx_retries = 20 | ||
# # i2c parameters for i2c-pseudo proxy | ||
# slave_address = 0xc0 | ||
# bus = 1 | ||
# baud = 400000 |
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