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

Clear terminal when auth server is in FIPS mode #10095

Merged
merged 10 commits into from
Feb 17, 2022

Conversation

atburke
Copy link
Contributor

@atburke atburke commented Feb 1, 2022

Follow-up to #8850. This PR clears the terminal at the end of a session when the auth server is in FIPS mode, even if tsh isn't.

Resolves #9767.

@github-actions github-actions bot requested review from lxea and timothyb89 February 1, 2022 23:52
@@ -373,6 +373,8 @@ message PingResponse {
Features ServerFeatures = 3 [ (gogoproto.jsontag) = "server_features" ];
// ProxyPublicAddr is the server's public proxy address.
string ProxyPublicAddr = 4 [ (gogoproto.jsontag) = "proxy_public_addr" ];
// IsBoring signals whether or not the server was compiled with BoringCrypto.
bool IsBoring = 5 [ (gogoproto.jsontag) = "is_boring" ];
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not exposed on the public unauth /ping endpoint right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct. This is only exposed on auth's grpc server.

integration/integration_test.go Show resolved Hide resolved
lib/client/session.go Outdated Show resolved Hide resolved
@atburke
Copy link
Contributor Author

atburke commented Feb 17, 2022

@timothyb89 @lxea Can you take another look at this when you have a moment?

Copy link
Contributor

@timothyb89 timothyb89 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 to me!

@atburke atburke merged commit 4e3bd6c into master Feb 17, 2022
@atburke atburke deleted the atburke/mixed-fips-screen-clear branch February 17, 2022 18:16
@russjones
Copy link
Contributor

@atburke Let's backport this to branch/v8 next week.

atburke added a commit that referenced this pull request Feb 23, 2022
This change clears the terminal at the end of a session when the auth server is in FIPS mode, even if tsh isn't.
atburke added a commit that referenced this pull request Mar 2, 2022
This change clears the terminal at the end of a session when the auth server is in FIPS mode, even if tsh isn't.
@webvictim webvictim mentioned this pull request Mar 4, 2022
atburke added a commit that referenced this pull request Sep 14, 2022
This change clears the terminal at the end of a session when the auth server is in FIPS mode, even if tsh isn't.
atburke added a commit that referenced this pull request Sep 14, 2022
This change clears the terminal at the end of a session when the auth server is in FIPS mode, even if tsh isn't.
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.

Add clear screen support for non-FIPS clients connected to FIPS cluster
4 participants