projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
81035f9f2a4234526db7ccdc8da4a342e86586a6
[freeside.git]
/
rpm
/
build
/
expect-signrepo
1
#!/usr/bin/expect
2
set password "not our actual passphrase"
3
set key [lindex $argv 0]
4
set output [lindex $argv 1]
5
set input [lindex $argv 2]
6
spawn gpg -sab --yes -u "$key" -o $output $input
7
expect "Enter passphrase:"
8
send -- "$password\r"
9
expect eof