[ 
https://issues.apache.org/jira/browse/PDFBOX-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-3341:
------------------------------------
    Affects Version/s: 1.8.13
                       1.8.12

> currentAccessPermission.setReadOnly() not set in StandardSecurityHandler
> ------------------------------------------------------------------------
>
>                 Key: PDFBOX-3341
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3341
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Crypto
>    Affects Versions: 1.8.12, 1.8.13, 2.0.1, 2.0.2, 2.1.0
>            Reporter: Tilman Hausherr
>             Fix For: 1.8.13, 2.0.2, 2.1.0
>
>
> Reported by Joe Ye in the mailing list
> {quote}
> While troubleshooting an encryption related issue, I discovered that
> currentAccessPermission.setReadOnly() is called in method
> pdfbox.pdmodel.encryption.PublicKeySecurityHandler#prepareForDecryption but
> NOT in
> pdfbox.pdmodel.encryption.StandardSecurityHandler#prepareForDecryption.
> Could you please explain why there is the difference? As we're using
> StandardSecurityHandler, it appears ReadOnly is never set..
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to