pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Possible bug in StandardSecurityHandler class?
Date Thu, 05 May 2016 21:53:48 GMT
Am 05.05.2016 um 19:10 schrieb Joe Ye:
> Hi,
>
> 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..
>
> Many thanks,
> Joe

Thanks, your observation is correct, I am fixing this in
https://issues.apache.org/jira/browse/PDFBOX-3341

Tilman



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message