diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-08-17 00:52:26 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-08-17 01:22:50 -0400 |
commit | da13b26bad886ce68a0356f2b9c8307cf7569de9 (patch) | |
tree | d0b8fcb8236f343063a47b7e8708e62dad5df5f4 /bin | |
parent | 2d0b20ecc8d10bd8c2e3ec1dfd8f9c52e593dd32 (diff) | |
download | conf-da13b26bad886ce68a0356f2b9c8307cf7569de9.tar.gz conf-da13b26bad886ce68a0356f2b9c8307cf7569de9.zip |
convert scripts from pwsafe to pass
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ssh-add-helper | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ssh-add-helper b/bin/ssh-add-helper index bfc2844..cae6f27 100755 --- a/bin/ssh-add-helper +++ b/bin/ssh-add-helper @@ -4,8 +4,7 @@ use warnings; use IO::Pty::Easy; my $hostname = `hostname`; -open STDIN, '<', '/dev/tty'; -my $pass = `pwsafe -pE ssh.$hostname`; +my $pass = `pass search ssh.$hostname`; my $pty = IO::Pty::Easy->new; $pty->spawn("ssh-add -t 1800 $ARGV[0]"); $pty->read; |