From 72900aa239248dccda1342478afc5a1320c7ff39 Mon Sep 17 00:00:00 2001 From: Robin Davies Date: Wed, 9 Oct 2024 13:50:20 -0400 Subject: [PATCH] signPackage: prompt for PIN on tty. --- src/makeReleaseMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makeReleaseMain.cpp b/src/makeReleaseMain.cpp index 5d4e629..ad00bbb 100644 --- a/src/makeReleaseMain.cpp +++ b/src/makeReleaseMain.cpp @@ -72,7 +72,7 @@ void SignPackage() cout << "--------------------------------------------------------------" << endl; 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" << " --detach-sign " << packagePath.c_str()); int result = system(signCmd.c_str());