vapor-ware / sctl

SCTL is not End2End encryption, instead SCTL is more of an envelope, in which you store secrets until they are needed, and those secrets should only remain available in plain text while the operation that needs them is active.
GNU General Public License v3.0
8 stars 2 forks source link

userInput does not work on Windows #21

Closed marcoceppi closed 4 years ago

marcoceppi commented 4 years ago

I've tested this in three different shell environments on Windows 10

In all of those, passing ^D (Ctrl + D) do not result in an EOF, sending the same signal and pressing return do not send an EOF signal as well (Instead its ^D and the return key stroke. The documentation on this is a bit lite, with conflicting reports from other users saying that Ctrl+D will work on Windows and Windows GOlang users saying it doesn't.

marcoceppi commented 4 years ago

I even went so far as to do this in PowerShell in an attempt to get something working, with no tangible result.

lazypower commented 4 years ago

The EOF character in windows is CTRL-Z, I'll cycle on a PR to update the help message, as well as the documentation.