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

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

Open
mosh-hmi opened this issue May 16, 2022 · 1 comment

Comments

@mosh-hmi
Copy link

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.

@FiloSottile
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants