Inability to encrypt and sign at the same time
Lvl4Sword opened this issue · 2 comments
Unlike what the project was forked from ( https://bitbucket.org/vinay.sajip/python-gnupg ), this fork doesn't have the ability to encrypt and sign at the same time.
Is there a plan or roadmap for this?
Answering for others in the future who may face this issue, like I did this week :).
According to the encrypt function code, when the default_key
argument is passed to the encrypt
function. The gpg encrypt command is called with the --sign
argument in the shell. This also means the --default-key
argument is also set as well (based on the value passed as the default_key
arg in the encrypt
function), which could be a fingerprint or a keyid.
I completely forgot I even made this issue. I've been using the version in my original post, as this one doesn't seem to be updated.