Comment 7 for bug 1360582

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Colin for your input on this.

I looked into this and attached is a patch to the click plugin that implements setting the PK_ERROR_ENUM_MISSING_GPG_SIGNATURE, and honoring PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED. However this will not work for us as it requires the user to answer a interactive question which seems to be inelegant.

The alternative approach would be to add code to pkcon to honor either a environment variable or a commandline swtich and pass that directly in the task to avoid the interactive prompt. I will work on this next and attach code for that.