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

Tilman Hausherr updated PDFBOX-6181:
------------------------------------
    Description: 
Last year I played with findbugs and one of the findings was that SecureRandom 
should be used statically and not create a new instance for every file. For 
now, I'll do this only in the StandardSecurityHandler.

(Update: it turns out that Sonar had flagged this as well, rule L429)

  was:Last year I played with findbugs and one of the findings was that 
SecureRandom should be used statically and not create a new instance for every 
file. For now, I'll do this only in the StandardSecurityHandler.


> Create SecureRandom object only once
> ------------------------------------
>
>                 Key: PDFBOX-6181
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6181
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Crypto
>    Affects Versions: 2.0.36, 3.0.7 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.37, 3.0.8 PDFBox, 4.0.0
>
>
> Last year I played with findbugs and one of the findings was that 
> SecureRandom should be used statically and not create a new instance for 
> every file. For now, I'll do this only in the StandardSecurityHandler.
> (Update: it turns out that Sonar had flagged this as well, rule L429)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to