Re: Read only KeyStores?

2023-05-31 Thread Bernd
If you can open it readonly, why not do it without any special name and only fail the write operation? Or maybe have a truststore mode, which does not have to open keys?GrussBernd-- http://bernd.eckenfels.net  Von: security-dev im Auftrag von Mat Carter Gesendet:

Read only KeyStores?

2023-05-31 Thread Mat Carter
Currently on Windows to access the local machine KeyStores (Windows-MY-LOCALMACHINE and Windows-ROOT-LOCALMACHINE) you need administrator privileges. To reduce the need to grant admin privileges to Java applications, I'm proposing that we allow the application to access readonly versions of the

Re: RFR: 8308592: Update CA interop test certificates [v3]

2023-05-31 Thread Rajan Halade
> The new approach uses test URLs directly to verify interoperability with CA > infrastructure. This would help us avoid having regular test fixes to update > test artifacts as long as CAs keep test domains up to date. Rajan Halade has updated the pull request incrementally with one additional

Re: RFR: 8308592: Update CA interop test certificates [v2]

2023-05-31 Thread Rajan Halade
> The new approach uses test URLs directly to verify interoperability with CA > infrastructure. This would help us avoid having regular test fixes to update > test artifacts as long as CAs keep test domains up to date. Rajan Halade has updated the pull request incrementally with one additional

Re: RFR: 8301553: Support Password-Based Cryptography in SunPKCS11 [v3]

2023-05-31 Thread Francisco Ferrari Bihurriet
On Tue, 23 May 2023 14:00:30 GMT, Sean Mullan wrote: >> We found several more cases of passwords and encoded keys not cleared that >> were addressed in out Iteration # 2 commit. These cases were both in Java >> and native code. We still have doubts about the effectiveness and need for >> these

Re: RFR: 8308592: Update CA interop test certificates

2023-05-31 Thread Rajan Halade
On Wed, 31 May 2023 18:03:57 GMT, Rajan Halade wrote: > The new approach uses test URLs directly to verify interoperability with CA > infrastructure. This would help us avoid having regular test fixes to update > test artifacts as long as CAs keep test domains up to date. Only Actalis and BuyP

RFR: 8308592: Update CA interop test certificates

2023-05-31 Thread Rajan Halade
The new approach uses test URLs directly to verify interoperability with CA infrastructure. This would help us avoid having regular test fixes to update test artifacts as long as CAs keep test domains up to date. - Commit messages: - 8308592: verify inter CA - 8308592: Update CA i

Re: RFR: JDK-8307794 Test for HSS/LMS Signature Verification [v7]

2023-05-31 Thread Hai-May Chao
On Tue, 30 May 2023 16:47:03 GMT, Mark Powers wrote: >> https://bugs.openjdk.org/browse/JDK-8307794 > > Mark Powers has updated the pull request incrementally with one additional > commit since the last revision: > > Sean's additional comments take 2 test/micro/org/openjdk/bench/java/securit

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v25]

2023-05-31 Thread Bradford Wetmore
On Wed, 31 May 2023 07:14:39 GMT, Daniel Jeliński wrote: >> When we put in the debug field into the template, it was to allow folks to >> quickly add debugging output to their test, but in general it won't be >> turned on during regular test runs. > > I'd like to enable this in the test runs as

Integrated: JDK-8308872: enhance logging and some exception in krb5/Config.java

2023-05-31 Thread Matthias Baesken
On Thu, 25 May 2023 14:31:04 GMT, Matthias Baesken wrote: > There exists already some logging in krb5/Config.java (enabled by > -Dsun.security.krb5.debug=true), this could be enhanced for easier analysis > of problems. Additionally some exception(s) might be slightly adjusted. This pull reques

Re: RFR: JDK-8308872: enhance logging and some exception in krb5/Config.java [v2]

2023-05-31 Thread Matthias Baesken
On Fri, 26 May 2023 08:04:58 GMT, Matthias Baesken wrote: >> There exists already some logging in krb5/Config.java (enabled by >> -Dsun.security.krb5.debug=true), this could be enhanced for easier analysis >> of problems. Additionally some exception(s) might be slightly adjusted. > > Matthias B

Re: RFR: JDK-8308872: enhance logging and some exception in krb5/Config.java [v2]

2023-05-31 Thread Weijun Wang
On Fri, 26 May 2023 08:04:58 GMT, Matthias Baesken wrote: >> There exists already some logging in krb5/Config.java (enabled by >> -Dsun.security.krb5.debug=true), this could be enhanced for easier analysis >> of problems. Additionally some exception(s) might be slightly adjusted. > > Matthias B

Re: RFR: 8308286 Fix clang warnings in linux code [v3]

2023-05-31 Thread Weijun Wang
On Wed, 31 May 2023 13:37:06 GMT, Artem Semenov wrote: >> When using the clang compiler to build OpenJDk on Linux, we encounter >> various "warnings as errors". >> They can be fixed with small changes. > > Artem Semenov has updated the pull request incrementally with one additional > commit sin

Re: RFR: 8308286 Fix clang warnings in linux code [v2]

2023-05-31 Thread Artem Semenov
On Tue, 30 May 2023 08:14:59 GMT, Alexey Ushakov wrote: >> Artem Semenov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> update > > src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c line 655: > >> 653: // linker loaded it. We

Re: RFR: 8308286 Fix clang warnings in linux code [v3]

2023-05-31 Thread Artem Semenov
On Sun, 28 May 2023 03:57:40 GMT, Kim Barrett wrote: >> Artem Semenov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> update > > src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c line 1163: > >> 1161: #if defined(__clang__)

Re: RFR: 8308286 Fix clang warnings in linux code [v3]

2023-05-31 Thread Artem Semenov
> When using the clang compiler to build OpenJDk on Linux, we encounter various > "warnings as errors". > They can be fixed with small changes. Artem Semenov has updated the pull request incrementally with one additional commit since the last revision: update - Changes: - all:

Re: RFR: 8308711: Develop additional Tests for KEM implementation [v3]

2023-05-31 Thread Weijun Wang
On Wed, 31 May 2023 06:27:09 GMT, Sibabrata Sahoo wrote: >> Additional Tests for KEM API. > > Sibabrata Sahoo has updated the pull request incrementally with one > additional commit since the last revision: > > 8308711: Comment addressed test/jdk/javax/crypto/KEM/GenLargeNumberOfKeys.java li

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v25]

2023-05-31 Thread Daniel Jeliński
On Wed, 31 May 2023 06:27:41 GMT, Bradford Wetmore wrote: >> test/jdk/sun/security/ssl/SSLEngineImpl/TestBadDNForPeerCA.java line 29: >> >>> 27: * @library /test/lib >>> 28: * @summary SSLEngine throws IAE during parsing of X500Principal >>> 29: * @run main/othervm TestBadDNForPeerCA >> >> S

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v25]

2023-05-31 Thread Daniel Jeliński
On Tue, 30 May 2023 19:24:09 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with two additional > commits since the last revision: > > - undo import changes > - undo import changes test