Powershell and command line used in the pipe "|" inconsistent results #17175

Open
opened 2026-01-31 05:34:23 +00:00 by claunia · 0 comments
Owner

Originally created by @ljxqc on GitHub (Apr 7, 2022).

Windows Terminal version

1.12.10733.0

Windows build number

10.0.22593.1

Other Software

openssl 3.0.1

Steps to reproduce

Run the openssl command to obtain the web remote certificate(use pipe "|"):

openssl s_client -connect www.baidu.com:443 -servername www.baidu.com | openssl x509 -pubkey -nout | openssl rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64

Expected Behavior

image

Actual Behavior

image

Originally created by @ljxqc on GitHub (Apr 7, 2022). ### Windows Terminal version 1.12.10733.0 ### Windows build number 10.0.22593.1 ### Other Software openssl 3.0.1 ### Steps to reproduce Run the openssl command to obtain the web remote certificate(use pipe "|"): > openssl s_client -connect www.baidu.com:443 -servername www.baidu.com | openssl x509 -pubkey -nout | openssl rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 ### Expected Behavior ![image](https://user-images.githubusercontent.com/72794384/162246162-37f98b43-0333-473c-bb9d-89583e12f9eb.png) ### Actual Behavior ![image](https://user-images.githubusercontent.com/72794384/162246229-65e8068d-d672-456f-ba91-4a57fe5e6f7a.png)
claunia added the Issue-BugResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 05:34:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17175