[Rpm-maint] [rpm-software-management/rpm] rpmsign asks for key password twice per file (#150)

Arusekk notifications at github.com
Wed Feb 8 09:18:57 UTC 2017


Because of `makeGPGSignature()` being called separately for header and contents ([sign/rpmgensig.c:403](https://github.com/rpm-software-management/rpm/blob/master/sign/rpmgensig.c#L403)), and that GPG asks for password itself — each time it is called — signing every single rpm requires typing the password twice.

This could be fixed in two ways:
 * by temporarily storing the password in memory and giving it to GPG when it needs to open the key
 * opening the secret key once, and then signing the packet with the key being already opened.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/150
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170208/0d2abe92/attachment.html>


More information about the Rpm-maint mailing list