Re: RFR: 8325448: Hybrid Public Key Encryption [v20]

2025-06-27 Thread Sebastian Stenzel
Hi Weijun, I’m probably a bit late to the party but nevertheless I hope this finds attention: To anyone in this mailing list unfamiliar with HPKE: The encapsulation process yields a tuple: A shared secret (the key agreement result, if you will) as well as an encapsulation of said key, that is

Re: RFR: 8325448: Hybrid Public Key Encryption [v22]

2025-06-27 Thread Weijun Wang
> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. > > ![HPKEParameterSpec06-27-2](https://github.com/user-attachments/assets/50667170-8adb-45b4-97bf-ecb92175716e) Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8325448: Hybrid Public Key Encryption [v23]

2025-06-27 Thread Weijun Wang
> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. > > ![HPKEParameterSpec06-27-3](https://github.com/user-attachments/assets/a17e7ea2-86dd-4e2d-9506-210e97ff8ae8) Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

Re: X-Wing KEM

2025-06-27 Thread Wei-Jun Wang
> On Jun 27, 2025, at 15:51, Sebastian Stenzel > wrote: > > Short update on the state of the X-Wing RFC: > > Two weeks ago I contacted the authors, asking if they expect further changes. > Which they don’t: > >> "X-Wing is final and being shipped by Google and Apple presumably in >> hardwa

Re: RFR: 8358451: SunJCE PBEKey impl should throw IllegalStateException when getEncoded() is called [v2]

2025-06-27 Thread Valerie Peng
On Fri, 27 Jun 2025 17:53:46 GMT, Kevin Driver wrote: >> Valerie Peng has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Moved the Key.isDestroyed() check from individual provider SKF impl to >> JCA SecretKeyFactory class. >> Changed to

Re: RFR: 8358451: SunJCE PBEKey impl should throw IllegalStateException when getEncoded() is called [v3]

2025-06-27 Thread Valerie Peng
> Update the `PBEKey` class of the SunJCE provider which override the > `javax.security.auth.Destroyable` interface to > > 1. throw `IllegalStateException` if `getEncoded()` is called after key is > destroyed > 2. serialization of such destroyed `PBEKey` object will lead to exception. > > Al

Re: RFR: 8358451: SunJCE PBEKey impl should throw IllegalStateException when getEncoded() is called [v2]

2025-06-27 Thread Valerie Peng
> Update the `PBEKey` class of the SunJCE provider which override the > `javax.security.auth.Destroyable` interface to > > 1. throw `IllegalStateException` if `getEncoded()` is called after key is > destroyed > 2. serialization of such destroyed `PBEKey` object will lead to exception. > > Al

Re: RFR: 8325448: Hybrid Public Key Encryption [v21]

2025-06-27 Thread Weijun Wang
On Fri, 27 Jun 2025 16:55:59 GMT, Weijun Wang wrote: >> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. >> >> ![HPKEParameterSpec06-27](https://github.com/user-attachments/assets/d0425a10-a312-4a95-8cee-2fbec5d83ddd) > > Weijun Wang has updated the pull request incrementa

Re: Subject class creation performance optimization oportunity

2025-06-27 Thread Wei-Jun Wang
Hi Tigran, Thanks for your interest on OpenJDK. I think the timing difference makes sense as the principals are stored in a special set inside the subject so subjectByPassingSet adds each twice and the subjectByAddingToSet only once. As for why we don't just use the pre-populated set as-is sin

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Jeliński
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Fri, 27 Jun 2025 11:22:51 GMT, Daniel Jeliński wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 525 commits: >> >> - merge latest changes from master branch >> - http3: run H3StreamLimitReachedTest.java

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Jeliński
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8359761: JDK 25 RDP1 L10n resource files update [v8]

2025-06-27 Thread Alexey Ivanov
On Thu, 26 Jun 2025 20:56:39 GMT, Alisen Chung wrote: >> This issue is responsible for updating the translations of all the >> localize(able) resources in the JDK since the previous L10n drop. > > Alisen Chung has updated the pull request incrementally with one additional > commit since the las

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Integrated: 8360539: DTLS handshakes fails due to improper cookie validation logic

2025-06-27 Thread Artur Barashev
On Thu, 26 Jun 2025 21:36:34 GMT, Artur Barashev wrote: > DESCRIPTION OF THE PROBLEM: > There appears to be a bug in the isCookieValid method of HelloCookieManager > that can lead to improper cookie validation results after a new cookieSecret > is generated. The cookie version (cookieVersion) i

Re: RFR: 8358451: SunJCE PBEKey impl should throw IllegalStateException when getEncoded() is called

2025-06-27 Thread Kevin Driver
On Wed, 4 Jun 2025 03:10:29 GMT, Valerie Peng wrote: > Update the `PBEKey` class of the SunJCE provider which override the > `javax.security.auth.Destroyable` interface to > > 1. throw `IllegalStateException` if `getEncoded()` is called after key is > destroyed > 2. serialization of such dest

Re: RFR: 8325448: Hybrid Public Key Encryption [v20]

2025-06-27 Thread Sebastian Stenzel
On Fri, 27 Jun 2025 15:46:24 GMT, Weijun Wang wrote: > Hi Sebastian, the API you suggested is only the KEM step, and it should be > made internal inside HPKE. > > At the end of the day, HPKE is still a cipher. I understand the key > encapsulation message (aka, KEM ciphertext) is different from

[jdk25] Integrated: 8359761: JDK 25 RDP1 L10n resource files update

2025-06-27 Thread Alisen Chung
On Fri, 27 Jun 2025 18:27:15 GMT, Alisen Chung wrote: > 8359761: JDK 25 RDP1 L10n resource files update This pull request has now been integrated. Changeset: 12ffb0c1 Author:Alisen Chung URL: https://git.openjdk.org/jdk/commit/12ffb0c131c5100dc23549b9b7216625bc0dab9e Stats: 1196

Re: X-Wing KEM

2025-06-27 Thread Sebastian Stenzel
Short update on the state of the X-Wing RFC: Two weeks ago I contacted the authors, asking if they expect further changes. Which they don’t: > "X-Wing is final and being shipped by Google and Apple presumably in > hardware." > - Bas Westerbaan and > "No significant changes, no changes planned

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Jeliński
On Thu, 26 Jun 2025 17:43:21 GMT, Daniel Fuchs wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 525 commits: >> >> - merge latest changes from master branch >> - http3: run H3StreamLimitReachedTest.java wit

Integrated: 8359761: JDK 25 RDP1 L10n resource files update

2025-06-27 Thread Alisen Chung
On Tue, 17 Jun 2025 01:22:31 GMT, Alisen Chung wrote: > This issue is responsible for updating the translations of all the > localize(able) resources in the JDK since the previous L10n drop. This pull request has now been integrated. Changeset: da7080ff Author:Alisen Chung URL: htt

[jdk25] RFR: 8359761: JDK 25 RDP1 L10n resource files update

2025-06-27 Thread Alisen Chung
8359761: JDK 25 RDP1 L10n resource files update - Commit messages: - Backport da7080fffb2389465dc9afca6d02e9085fe15302 Changes: https://git.openjdk.org/jdk/pull/26026/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26026&range=00 Issue: https://bugs.openjdk.org/browse/JDK

Re: [jdk25] RFR: 8359761: JDK 25 RDP1 L10n resource files update

2025-06-27 Thread Justin Lu
On Fri, 27 Jun 2025 18:27:15 GMT, Alisen Chung wrote: > 8359761: JDK 25 RDP1 L10n resource files update Marked as reviewed by jlu (Committer). - PR Review: https://git.openjdk.org/jdk/pull/26026#pullrequestreview-2967612181

Re: [jdk25] RFR: 8359761: JDK 25 RDP1 L10n resource files update

2025-06-27 Thread Alexey Ivanov
On Fri, 27 Jun 2025 18:27:15 GMT, Alisen Chung wrote: > 8359761: JDK 25 RDP1 L10n resource files update Marked as reviewed by aivanov (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/26026#pullrequestreview-2967634176

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Fri, 27 Jun 2025 11:37:00 GMT, Daniel Jeliński wrote: >> Daniel Fuchs has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 525 commits: >> >> - merge latest changes from master branch >> - http3: run H3StreamLimitReachedTest.java

Re: RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v9]

2025-06-27 Thread Daniel Fuchs
On Thu, 26 Jun 2025 16:36:40 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the >> HTTP Client API](https://openjdk.org/jeps/517). >> >> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the >> HTTP Client API](htt

Re: RFR: 8325448: Hybrid Public Key Encryption [v20]

2025-06-27 Thread Weijun Wang
On Thu, 26 Jun 2025 22:40:04 GMT, Weijun Wang wrote: >> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. >> >> ![HPKEParameterSpec06-27](https://github.com/user-attachments/assets/d0425a10-a312-4a95-8cee-2fbec5d83ddd) > > Weijun Wang has updated the pull request incrementa

Re: RFR: 8325448: Hybrid Public Key Encryption [v21]

2025-06-27 Thread Weijun Wang
> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. > > ![HPKEParameterSpec06-27](https://github.com/user-attachments/assets/d0425a10-a312-4a95-8cee-2fbec5d83ddd) Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: s