-
Notifications
You must be signed in to change notification settings - Fork 71
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 #621 from mohamedasaker-arm/fix/615-match-trimmed-…
…serial_number-pkcs11 Compare trimmed token serial numbers (PKCS11 provider)
- Loading branch information
Showing
5 changed files
with
78 additions
and
1 deletion.
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
31 changes: 31 additions & 0 deletions
31
e2e_tests/tests/all_providers/config/tomls/serial_number_padding.toml
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,31 @@ | ||
[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" | ||
# The timeout needs to be smaller than the test client timeout (five seconds) as it is testing | ||
# that the service does not hang for very big values of body or authentication length. | ||
timeout = 3000 # in milliseconds | ||
socket_path = "/tmp/parsec.sock" | ||
|
||
[authenticator] | ||
auth_type = "Direct" | ||
|
||
[[key_manager]] | ||
name = "sqlite-manager" | ||
manager_type = "SQLite" | ||
database_path = "./kim-mappings/sqlite/sqlite-key-info-manager.sqlite3" | ||
|
||
[[provider]] | ||
provider_type = "Pkcs11" | ||
key_info_manager = "sqlite-manager" | ||
library_path = "/usr/local/lib/softhsm/libsofthsm2.so" | ||
user_pin = "123456" | ||
# The serial number optional field is going to replace the following line with a valid number | ||
# serial_number |
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