-
-
Notifications
You must be signed in to change notification settings - Fork 569
Closed
Milestone
Description
Environment
- OS: Windows 10 Pro (x86_64) Build 19041.804
- age version: v1.0.0-rc.1
What I was trying to do
Not sure if I have the correct cmdline for this but I was trying to password-encrypt some arbitrary words from stdin using
age -p -o out
What happened
Seems like age is trying to open /dev/tty
which does not exist on Windows.
Command line: age -p -o out
Enter passphrase (leave empty to autogenerate a secure one): Error: could not read passphrase: standard input is not available or not a terminal, and opening /dev/tty failed: open /dev/tty: The system cannot find the path specified.
[ Did age not do what you expected? Could an error be more useful? Tell us: https://filippo.io/age/report ]