Skip to content

Commit

Permalink
[Backport 1.x] Fix permissions issues while reading keys in PKCS#1 fo…
Browse files Browse the repository at this point in the history
…rmat (#3406)

Backport to 1.x from #3289

We did not do it, while 1.x version has the same problem as 2.x branch.
Moved only permissions.

Signed-off-by: Andrey Pleskach <[email protected]>
  • Loading branch information
willyborankin authored Oct 2, 2023
1 parent 52adfd8 commit 9910bd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin-security.policy
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ grant {
permission java.security.SecurityPermission "insertProvider.BC";
permission java.security.SecurityPermission "removeProviderProperty.BC";
permission java.util.PropertyPermission "jdk.tls.rejectClientInitiatedRenegotiation", "write";
permission java.security.SecurityPermission "getProperty.org.bouncycastle.rsa.max_size";
permission java.security.SecurityPermission "getProperty.org.bouncycastle.rsa.max_mr_tests";

permission java.lang.RuntimePermission "accessUserInformation";

Expand Down

0 comments on commit 9910bd5

Please sign in to comment.