Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-17 Thread Sean Mullan
On 4/15/20 8:28 AM, Weijun Wang wrote: On Apr 9, 2020, at 3:46 AM, Sean Mullan wrote: On 4/6/20 11:11 PM, Weijun Wang wrote: Please review the fix at http://cr.openjdk.java.net/~weijun/8242184/webrev.00/ The major change is inside X509CRLImpl.java to allow params setting and reading. I

Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-15 Thread Weijun Wang
> On Apr 9, 2020, at 3:46 AM, Sean Mullan wrote: > > On 4/6/20 11:11 PM, Weijun Wang wrote: >> Please review the fix at >>http://cr.openjdk.java.net/~weijun/8242184/webrev.00/ >> The major change is inside X509CRLImpl.java to allow params setting and >> reading. >> I also take this chance

Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-09 Thread Wang Weijun
Valerie in another reply suggested that the default parameters of the default sigAlg depends on either the size of the key (if RSA) of the params of the key (if RSASSA-PSS). I'll address all of these in another bug. Thanks, Max > 在 2020年4月9日,03:47,Sean Mullan 写道: > > On 4/6/20 11:11 PM,

Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-08 Thread Sean Mullan
On 4/6/20 11:11 PM, Weijun Wang wrote: Please review the fix at http://cr.openjdk.java.net/~weijun/8242184/webrev.00/ The major change is inside X509CRLImpl.java to allow params setting and reading. I also take this chance to: 1. Provide a default -sigalg for "keytool -genkeypair -keyalg

Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-07 Thread Weijun Wang
> On Apr 8, 2020, at 11:46 AM, Valerie Peng wrote: > > Hi Max, > > Not all of the comments are related to the changes in the webrev, just notice > some PSS related inconsistency and thought I will ask: > > > > - For RSASSA-PSS keys, existing code in getDefaultAlgorithmParameterSpec(...)

Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-07 Thread Valerie Peng
Hi Max, Not all of the comments are related to the changes in the webrev, just notice some PSS related inconsistency and thought I will ask: - For RSASSA-PSS keys, existing code in getDefaultAlgorithmParameterSpec(...) (line 1121) decides the default based on key size. I think we should

Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-07 Thread Xuelei Fan
+1. Xuelei On 4/7/2020 5:46 PM, Hai-May Chao wrote: Hi Max, Changes look good to me. Hai-May On Apr 6, 2020, at 8:11 PM, Weijun Wang wrote: Please review the fix at http://cr.openjdk.java.net/~weijun/8242184/webrev.00/ The major change is inside X509CRLImpl.java to allow params

Re: RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-07 Thread Hai-May Chao
Hi Max, Changes look good to me. Hai-May > On Apr 6, 2020, at 8:11 PM, Weijun Wang wrote: > > Please review the fix at > > http://cr.openjdk.java.net/~weijun/8242184/webrev.00/ > > The major change is inside X509CRLImpl.java to allow params setting and > reading. > > I also take this

RFR 8242184: CRL generation error with RSASSA-PSS

2020-04-06 Thread Weijun Wang
Please review the fix at http://cr.openjdk.java.net/~weijun/8242184/webrev.00/ The major change is inside X509CRLImpl.java to allow params setting and reading. I also take this chance to: 1. Provide a default -sigalg for "keytool -genkeypair -keyalg rsassa-pss". 2. Revert a former change