RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2213761 - If a PDF is deflate encoded, it does not mean it's password protected
Summary: If a PDF is deflate encoded, it does not mean it's password protected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: file
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Vincent Mihalkovič
QA Contact: Karel Volný
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-09 08:33 UTC by Ville-Pekka Vainio
Modified: 2023-11-07 11:38 UTC (History)
6 users (show)

Fixed In Version: file-5.39-14.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:55:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-159373 0 None None None 2023-06-09 10:40:19 UTC
Red Hat Product Errata RHBA-2023:6693 0 None None None 2023-11-07 08:56:00 UTC

Description Ville-Pekka Vainio 2023-06-09 08:33:52 UTC
Description of problem:
I'm running tests for our project https://github.com/Digital-Preservation-Finland/file-scraper against EL9. At this point I'm using Alma 9. It seems C9S and Alma 9 have the same package version of file.

This is what I get when I run file against https://github.com/Digital-Preservation-Finland/file-scraper/blob/master/tests/data/application_pdf/valid_A-1a.pdf

$ file tests/data/application_pdf/valid_A-1a.pdf
tests/data/application_pdf/valid_A-1a.pdf: PDF document, version 1.4 (password protected)

However, the file is not password protected. This commit upstream fixes the bug: https://github.com/file/file/commit/239852073ad3a5ba5cf62b21e95565f122869f6a

I'll make a merge request adding the patch.

Version-Release number of selected component (if applicable):
file-5.39-12.el9.x86_64

Comment 1 Ville-Pekka Vainio 2023-06-09 09:26:56 UTC
Here's my merge request: https://gitlab.com/redhat/centos-stream/rpms/file/-/merge_requests/10

In case it's needed, my FAS/CAS account is vpv.

BTW, you may want to update the MR template. It says something about Red Hat Jira, but the documentation in https://docs.centos.org/en-US/stream-contrib/quickstart/ says nothing about a Jira.

Comment 2 Josh Boyer 2023-06-09 10:39:01 UTC
(In reply to Ville-Pekka Vainio from comment #1)
> BTW, you may want to update the MR template. It says something about Red Hat
> Jira, but the documentation in
> https://docs.centos.org/en-US/stream-contrib/quickstart/ says nothing about
> a Jira.

Thanks for this note.  In this case the Quick Start guide needs to be updated.

Comment 9 errata-xmlrpc 2023-11-07 08:55:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (file bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6693


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