signPackage: prompt for PIN on tty.
This commit is contained in:
@@ -72,7 +72,7 @@ void SignPackage()
|
|||||||
cout << "--------------------------------------------------------------" << endl;
|
cout << "--------------------------------------------------------------" << endl;
|
||||||
|
|
||||||
std::string signCmd =
|
std::string signCmd =
|
||||||
SS("/usr/bin/gpg --yes --default-key " << UPDATE_GPG_FINGERPRINT2
|
SS("/usr/bin/gpg --pinentry-mode loopback --yes --default-key " << UPDATE_GPG_FINGERPRINT2
|
||||||
<< " --armor --output " << packagePath << ".asc"
|
<< " --armor --output " << packagePath << ".asc"
|
||||||
<< " --detach-sign " << packagePath.c_str());
|
<< " --detach-sign " << packagePath.c_str());
|
||||||
int result = system(signCmd.c_str());
|
int result = system(signCmd.c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user