age icon indicating copy to clipboard operation
age copied to clipboard

age subprocess unable to read ssh key password from terminal, when called from vim

Open mosh-hmi opened this issue 2 years ago • 1 comments

Environment

  • OS: win7
  • age version: 1.0.0

What were you trying to do: call age from vim

vi file.age # age encrypted ssh,pem key (pasword protected) " vim command to decrypt input buffer with ssh.pem au BufReadPost *.age |:silent 1,$ ! age -d -i ssh.pem

What happened

vim launches age (and hangs), but there is no terminal to input password for ssh private key file, Other encryption tools when called from vim, will ask for password as needed in a separate terminal.

mosh-hmi avatar May 16 '22 04:05 mosh-hmi

Other encryption tools when called from vim, will ask for password as needed in a separate terminal.

What does the configuration to do that look like?

FiloSottile avatar May 21 '22 12:05 FiloSottile