Re: New switch suggestion for keytool

2014-12-17 Thread Wang Weijun
> On Dec 17, 2014, at 07:32, Matthew Hall wrote: > >>> Many StackOverflows exist of people doing it manually to "work around" this >>> limitation. >> >> In fact, I searched for "create empty keystore" on stackoverflow and didn't >> notice such a requirement. > > The ones I ran across were fo

Re: New switch suggestion for keytool

2014-12-16 Thread Matthew Hall
On Tue, Dec 16, 2014 at 08:50:24AM +0800, Wang Weijun wrote: > For a program? It's super easy for a program to create an empty keystore. Why have to do it separately, when it could be added to keytool for all? > > Many StackOverflows exist of people doing it manually to "work around" this > > li

Re: New switch suggestion for keytool

2014-12-15 Thread Wang Weijun
> On Dec 16, 2014, at 04:19, Matthew Hall wrote: > > It's really useful for things like bootstrapping keystores for symmetric keys. For a program? It's super easy for a program to create an empty keystore. > > Many StackOverflows exist of people doing it manually to "work around" this > limi

Re: New switch suggestion for keytool

2014-12-15 Thread Matthew Hall
It's really useful for things like bootstrapping keystores for symmetric keys. Many StackOverflows exist of people doing it manually to "work around" this limitation. I've done it myself especially when working on an identity management appliance. Matthew. On Mon, Dec 15, 2014 at 09:54:53AM +

Re: New switch suggestion for keytool

2014-12-14 Thread Wang Weijun
How is this useful? On the other hand, you can always import a cert and remove it to get an empty keystore. --Max > On Dec 15, 2014, at 04:24, Rich Midwinter wrote: > > Hi > > I'd like to see a new switch added to keytool to initialise an empty > keystore, for which I've attached a first sh

New switch suggestion for keytool

2014-12-14 Thread Rich Midwinter
Hi I'd like to see a new switch added to keytool to initialise an empty keystore, for which I've attached a first shot at a patch. Could someone point me in the right direction (a sponsor?) to see if this can be included. Thanks Rich diff --git a/src/java.base/share/classes/sun/security/tools/ke