Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cert and key reading for broflake on lantern cloud #626

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

AGMETEOR
Copy link
Contributor

@AGMETEOR AGMETEOR commented Sep 6, 2024

No description provided.

@AGMETEOR AGMETEOR self-assigned this Sep 6, 2024
Copy link
Contributor

@WendelHime WendelHime left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@hwh33 hwh33 left a comment

Choose a reason for hiding this comment

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

Looks good, but I think we should remove the dead code.

Comment on lines 474 to 476
// TODO (allan): Remove BroflakeCert and BroflakeKey once broflake is working properly on LC
BroflakeCert: os.Getenv("BROFLAKE_CERT"),
BroflakeKey: os.Getenv("BROFLAKE_KEY"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I don't understand why we would want to leave these around. The fields are not referenced anymore and there will never be anything in those environment variables at this point.

Comment on lines 11 to 12
// TODO: update the Broflake library to accept cert and key as PEM encoded strings
// TODO (allan): update the Broflake library to accept cert and key as PEM encoded strings
// Maybe it's already done. Investigate!
Copy link
Contributor

Choose a reason for hiding this comment

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

@AGMETEOR AGMETEOR merged commit 99f7b62 into main Sep 6, 2024
1 check passed
@Crosse Crosse deleted the fix-broflake-cert-key-LC branch September 6, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants