pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Ye <yuanzhou...@gmail.com>
Subject Re: Possible bug in StandardSecurityHandler class?
Date Fri, 06 May 2016 13:17:27 GMT
Thanks Tilman!

On Thu, May 5, 2016 at 10:53 PM, Tilman Hausherr <THausherr@t-online.de>
wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message