continue to implement 4880 exports and stuff...

This commit is contained in:
TLINDEN
2014-02-13 00:06:55 +01:00
parent bf2500b335
commit 75cdbbe835
9 changed files with 328 additions and 277 deletions

View File

@@ -379,12 +379,12 @@ int main (int argc, char **argv) {
if(useid) {
id = pcp_normalize_id(keyid);
if(id != NULL) {
pcp_exportsecret(id, useid, outfile, armor);
pcp_exportsecret(id, useid, outfile, armor, xpass);
free(id);
}
}
else {
pcp_exportsecret(NULL, useid, outfile, armor);
pcp_exportsecret(NULL, useid, outfile, armor, xpass);
}
break;
@@ -424,7 +424,7 @@ int main (int argc, char **argv) {
break;
}
}
pcp_importsecret(vault, in);
pcp_importsecret(vault, in, xpass);
break;
case PCP_MODE_DELETE_KEY: