Re: RFR: 8189441: Define algorithm names for keys derived from KeyAgreement [v10]

2025-01-06 Thread Weijun Wang
> Allow `Generic` as an algorithm in the `KeyAgreement::generateSecret(alg)` > method. Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: only trim secrets when it's for TlsPremasterSecret - Changes: - all: https://git.op

Re: RFR: 8328119: Support HKDF in SunPKCS11 (Preview) [v8]

2025-01-06 Thread Valerie Peng
On Thu, 19 Dec 2024 19:41:23 GMT, Martin Balao wrote: >> We would like to propose an implementation of the HKDF algorithms for >> SunPKCS11, aligned with the KDF API proposed for JDK 24 (see [JEP 478: Key >> Derivation Function API >> (Preview)](https://bugs.openjdk.org/browse/JDK-8189808)). >

Re: RFR: 8346736: Java Security Standard Algorithm Names spec should include key algorithm names [v2]

2025-01-06 Thread Sean Mullan
On Mon, 6 Jan 2025 19:11:12 GMT, Weijun Wang wrote: >> Add links to the new Key Algorithms section in the Java Security Standard >> Algorithm Names Specification. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > add spec lin

Re: RFR: 8346736: Java Security Standard Algorithm Names spec should include key algorithm names [v2]

2025-01-06 Thread Weijun Wang
> Add links to the new Key Algorithms section in the Java Security Standard > Algorithm Names Specification. Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: add spec links - Changes: - all: https://git.openjdk.org/jdk/

Re: RFR: 8189441: Define algorithm names for keys derived from KeyAgreement [v9]

2025-01-06 Thread Weijun Wang
> Allow `Generic` as an algorithm in the `KeyAgreement::generateSecret(alg)` > method. Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: add spec links - Changes: - all: https://git.openjdk.org/jdk/pull/22650/files - n

Re: RFR: 8346736: Java Security Standard Algorithm Names spec should include key algorithm names

2025-01-06 Thread Weijun Wang
On Mon, 6 Jan 2025 18:27:15 GMT, Sean Mullan wrote: >> Add links to the new Key Algorithms section in the Java Security Standard >> Algorithm Names Specification. > > src/java.base/share/classes/javax/crypto/KEM.java line 231: > >> 229: * for information about standard secret

Re: RFR: 8346736: Java Security Standard Algorithm Names spec should include key algorithm names

2025-01-06 Thread Sean Mullan
On Mon, 6 Jan 2025 18:53:09 GMT, Weijun Wang wrote: >> src/java.base/share/classes/javax/crypto/KEM.java line 231: >> >>> 229: * for information about standard secret key >>> algorithm names. >>> 230: * Use "Generic" if the output will be used as the >>> inp

Re: RFR: 8346736: Java Security Standard Algorithm Names spec should include key algorithm names

2025-01-06 Thread Sean Mullan
On Mon, 6 Jan 2025 16:12:36 GMT, Weijun Wang wrote: > Add links to the new Key Algorithms section in the Java Security Standard > Algorithm Names Specification. src/java.base/share/classes/java/security/Key.java line 123: > 121: /** > 122: * Returns the standard algorithm name for thi

Re: RFR: 8346468: SM cleanup of common test library [v3]

2025-01-06 Thread Roger Riggs
On Wed, 18 Dec 2024 21:07:14 GMT, Roger Riggs wrote: >> SM Cleanup of common test library test/lib/...: >> >> Remove unnecessary catches of SecurityException >> Remove AccessController and doPrivileged from SimpleSSLContext and >> ProcessTools. > > Roger Riggs has updated the pull request incre

Re: RFR: 8189441: Define algorithm names for keys derived from KeyAgreement [v7]

2025-01-06 Thread Weijun Wang
On Fri, 3 Jan 2025 22:11:18 GMT, Weijun Wang wrote: >> Allow `Generic` as an algorithm in the `KeyAgreement::generateSecret(alg)` >> method. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > Add KDF and KDFSpi I've reverted

Re: RFR: 8189441: Define algorithm names for keys derived from KeyAgreement [v8]

2025-01-06 Thread Weijun Wang
> Allow `Generic` as an algorithm in the `KeyAgreement::generateSecret(alg)` > method. Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: revert unrelated changes - Changes: - all: https://git.openjdk.org/jdk/pull/22650/f

RFR: 8346736: Java Security Standard Algorithm Names spec should include key algorithm names

2025-01-06 Thread Weijun Wang
Add links to the new Key Algorithms section in the Java Security Standard Algorithm Names Specification. - Commit messages: - the change Changes: https://git.openjdk.org/jdk/pull/22929/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22929&range=00 Issue: https://bugs.ope

Re: RFR: 8189441: Define algorithm names for keys derived from KeyAgreement and KEM [v7]

2025-01-06 Thread Sean Mullan
On Fri, 3 Jan 2025 22:12:12 GMT, Weijun Wang wrote: > I've modified too many files and I think they should belong to > https://bugs.openjdk.org/browse/JDK-8346736. We should only touch KEM and > KeyAgreement here. Makes sense. - PR Comment: https://git.openjdk.org/jdk/pull/22650#