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

Screen clear is added to batch-mode SSH commands if FIPS-mode is active #42065

Closed
kvecheraw opened this issue May 28, 2024 · 0 comments
Closed
Labels

Comments

@kvecheraw
Copy link

kvecheraw commented May 28, 2024

Expected behavior:

When a remote command is executed without a terminal in FIPS-mode, nothing is added to output

Current behavior:

A clear screen sequence "ESC[3JESCc" is added for a non-terminal command in FIPS-mode

Bug details:

  • Teleport version
    Server: Teleport Enterprise v15.3.0 git:v15.3.0-0-g0a192a4 go1.21.9 X:boringcrypto
    Client: Teleport v15.3.0 git:v15.3.0-0-g0a192a4 go1.21.9 X:boringcrypto

  • Recreation steps

$ tsh ssh --no-tty root@proxy echo 'a' </dev/null 2>/dev/null | od -a test
0000000   a  nl esc   [   3   J esc   c  nl
0000011
@kvecheraw kvecheraw added the bug label May 28, 2024
@zmb3 zmb3 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants