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

bws.exe on Windows prints ANSI escape characters #1212

Open
1 task done
mcx808 opened this issue Jan 28, 2025 · 0 comments
Open
1 task done

bws.exe on Windows prints ANSI escape characters #1212

mcx808 opened this issue Jan 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mcx808
Copy link

mcx808 commented Jan 28, 2025

Steps To Reproduce

  1. Download and expand on Windows Server 2022: https://github.com/bitwarden/sdk-sm/releases/download/bws-v1.0.0/bws-x86_64-pc-windows-msvc-1.0.0.zip (0.5 also tested)
  2. In either a Windows Powershell, PWSH or CMD terminal, run bws.exe.

Expected Result

Console output should be human-readable.

Actual Result

ANSI escape characters are printed all over the output. This includes getting projects or secrets (but I won't paste that here)
3. Strangely, bws.exe with either --version or --help look ok. I've tried every option for --output and --color but it's the same.

Luckily I can still parse this json in pwsh so won't affect scripting but it's an unreadable mess.

Screenshots or Videos

Image

Additional Context

No response

Operating System

Windows

Operating System Version

No response

Shell

PowerShell

Build Version

1.0.0

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@mcx808 mcx808 added the bug Something isn't working label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant