You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/05/05 22:30:13 UTC

[jira] [Updated] (PDFBOX-3341) currentAccessPermission.setReadOnly() not set in StandardSecurityHandler

     [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org