repo.or.cz
/
pwmd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix return value of str_vasprintf().
[pwmd.git]
/
tests
/
import-common.sh
blob
eafda84316f105042549ff619add8f9d26168961
1
KEYID
=
"0xE1E740F6"
2
3
do_import
() {
4
FILE
=
"
$1
"
5
6
#echo Importing with pinentry ...
7
#$PWMD --homedir $WDIR --import datafile.xml -o data/datafile $@
8
#echo Result is $?
9
10
echo
"Importing ..."
11
$PWMD
--homedir
$WDIR
--import
$FILE
.xml
--keyid
$KEYID
-o
data
/
$FILE
\
12
--passphrase-file
passphrase.key
13
}