Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

tlsConfig passed via launcherConfig #359

Merged
merged 3 commits into from
Apr 1, 2020
Merged

tlsConfig passed via launcherConfig #359

merged 3 commits into from
Apr 1, 2020

Conversation

disassembler
Copy link
Contributor

This PR changes tlsConfig to be an attribute in the launcher config instead of being a separate configuration file. We've tested it with daedalus flight and can confirm tls certificates are generated. This probably breaks tests.

@@ -77,7 +72,7 @@ main = silence $ do

-- This function either stubs out the wallet exit code or
-- returns the "real" function.
let walletExecutionFunction =
let walletExectionFunction =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you want to rename this function?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a revert of the entire commit that's failing to work on windows. Fully agree that the other name is better, but I don't have the time or expertise to fix the failures we were getting on windows with this commit. I did a bisect and found this was the culprit.

Copy link
Contributor

@ksaric ksaric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing I can do for now is disable these tests, since the way it was reconfigured it to run sort of makes the whole certificate test unnecessary.
At this stage, this is the best we can do - the confirmation that it actually runs correctly on the system.
If this is going to be used in the future, the tests should be re-enabled and re-written correctly.

@disassembler
Copy link
Contributor Author

bors r+

@ksaric ksaric merged commit 8387be2 into master Apr 1, 2020
@ksaric ksaric deleted the tls-launcher-config branch April 1, 2020 05:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants