Skip to content

Why not open the user access permissions to PdfFileWriter.encrypt() ? #161

@toumura7

Description

@toumura7

I found that encrypt() has implemented full support to user access permissions P, but it does not allows the caller to assign any permission. I have to change the value of P manually in pdf.py. BTW, The current encrypt() set P = -1 to enable all operations, but it should be P = -4 because the 1st and the 2nd bits have to be 0 according to PDF reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    is-featureA feature requestworkflow-encryptionFrom a users perspective, encryption is the affected feature/workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions