Bug 1636699 - PIUS fails to sign keys due to unrecognized ENCRYPTION_COMPLIANCE_MODE
Summary: PIUS fails to sign keys due to unrecognized ENCRYPTION_COMPLIANCE_MODE
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pius
Version: 28
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Praveen Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-06 22:27 UTC by Ján Tomko
Modified: 2023-09-14 04:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 23:00:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/jaymzh pius issues 95 0 None None None 2018-10-06 22:27:55 UTC
Red Hat Bugzilla 1507152 0 unspecified CLOSED pius fails with error "libpius.exceptions.EncryptionUnknownError: [GNUPG:] ENCRYPTION_COMPLIANCE_MODE 23" 2021-02-22 00:41:40 UTC

Internal Links: 1507152

Description Ján Tomko 2018-10-06 22:27:55 UTC
Description of problem:
PIUS cannot sing keys.

Version-Release number of selected component (if applicable):
pius-2.2.4-3.fc28.noarch
gnupg2-2.2.8-1.fc28.x86_64

How reproducible:
100 %

Steps to Reproduce:
1. pius -s <signing_key> -e -H <my smtp server> -m jtomko <key id>

Actual results:
  File "/usr/bin/pius", line 326, in main
    if signer.sign_all_uids(key, retval):
  File "/usr/lib/python2.7/site-packages/libpius/signer.py", line 788, in sign_all_uids
    self.encrypt_signed_uid(key, uid['file'])
  File "/usr/lib/python2.7/site-packages/libpius/signer.py", line 444, in encrypt_signed_uid
    raise EncryptionUnknownError(line)
libpius.exceptions.EncryptionUnknownError: [GNUPG:] ENCRYPTION_COMPLIANCE_MODE 23


Expected results:
The key is signed.

Additional info:
Fixed upstream by:
commit 4dba0bf75ab351969622f7b9c38484657411a528
Author:     Martin Kletzander <nert.pinx+github>
CommitDate: 2018-05-17 08:55:27 -0700

    Don't fail on ENCRYPTION_COMPLIANCE_MODE line from too new GnuPG (#96)
    
    GnuPG started printing information about encryption compliance in [commit
    f31dc2540acf](https://dev.gnupg.org/rGf31dc2540acf7cd7f09fd94658e815822222bfcb)
    and since then signing with pius fails.
    
    Closes #95
    
    Signed-off-by: Martin Kletzander <nert.pinx>

git describe: v2.2.6-10-g4dba0bf

Comment 1 Pavel Hrdina 2018-10-25 10:27:39 UTC
Hi, can you please provide some update on when the patch can be backported into fedora package?

Comment 2 Ben Cotton 2019-05-02 20:34:46 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2019-05-28 23:00:44 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Red Hat Bugzilla 2023-09-14 04:39:31 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.