Skip to content

Commit 5d9d14d

Browse files
committed
Add apollo case for tls exchange with single signature scheme
1 parent e975270 commit 5d9d14d

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

client/bftclient/include/bftclient/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct ClientConfig {
7070
bool use_unified_certs = false;
7171
std::optional<std::string> transaction_signing_private_key_file_path = std::nullopt;
7272
std::optional<concord::secretsmanager::SecretData> secrets_manager_config = std::nullopt;
73-
std::optional<std::string> replicas_master_key_folder_path = "./replicas_rsa_keys";
73+
std::optional<std::string> replicas_master_key_folder_path = "./replicas_main_keys";
7474
concord::crypto::SignatureAlgorithm message_sigs_algorithm = concord::crypto::SignatureAlgorithm::EdDSA;
7575
};
7676

tests/apollo/test_skvbc_reconfiguration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ async def wait_until_cre_gets_replicas_master_keys(self, bft_network, replicas):
22142214
while succ is False:
22152215
succ = True
22162216
for r in replicas:
2217-
master_key_path = os.path.join(bft_network.testdir, "replicas_rsa_keys", str(r), "pub_key")
2217+
master_key_path = os.path.join(bft_network.testdir, "replicas_main_keys", str(r), "pub_key")
22182218
if os.path.isfile(master_key_path) is False:
22192219
succ = False
22202220
break

tests/apollo/util/eliot_logging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ def set_file_destination():
5656
latest_shortcut.unlink()
5757
latest_shortcut.symlink_to(target=Path(f'../{relative_current_run_logs}'), target_is_directory=True)
5858

59+
# Set the log file path
60+
to_file(open(test_log, "a+"))
5961

6062
test_log_file = open(test_log, "a+")
6163
to_file(test_log_file)
6264
atexit.register(lambda: test_log_file.close())
6365

64-
6566
def format_eliot_message(message):
6667
if message.get("action_status", "") == "succeeded":
6768
return

tests/simpleKVBC/TesterCRE/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ creParams setupCreParams(int argc, char** argv) {
5353
{"use-unified-certs", optional_argument, 0, 'U'},
5454
{0, 0, 0, 0}};
5555
creParams cre_param;
56-
cre_param.replicasKeysFolder = "./replicas_rsa_keys";
56+
cre_param.replicasKeysFolder = "./replicas_main_keys";
5757
ClientConfig& client_config = cre_param.bftConfig;
5858
int o = 0;
5959
int optionIndex = 0;

0 commit comments

Comments
 (0)