Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Prabath Siriwardana
On Thu, Mar 3, 2011 at 4:09 PM, Paul Fremantle wrote: > Actually, I think the secure vault is ok as-is for this use. > > I'm also wondering if it would be better to use Client certs for this? > In this scenario CSG Agent --> ESB Server - so if we are going to use client certs [Mutual SSL] we nee

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Paul Fremantle
Actually, I think the secure vault is ok as-is for this use. I'm also wondering if it would be better to use Client certs for this? Paul On 3 March 2011 10:37, Paul Fremantle wrote: > Ok... I can see the Registry is a good place for this. Can we do a hybrid > Registry-based secure vault? > >

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Paul Fremantle
Ok... I can see the Registry is a good place for this. Can we do a hybrid Registry-based secure vault? Paul On 3 March 2011 08:44, Rajika Kumarasiri wrote: > > > On Thu, Mar 3, 2011 at 1:44 PM, Paul Fremantle wrote: > >> What are you storing? > > > When CSG agent component adds a CSG server (

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Rajika Kumarasiri
On Thu, Mar 3, 2011 at 1:44 PM, Paul Fremantle wrote: > What are you storing? When CSG agent component adds a CSG server ( i.e. the ESB server) I need to keep track the user name and the password so that I can publish a proxy to ESB later. Rajika > > Paul > > On 28 February 2011 04:35, Raji

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Thilina Buddhika
On Thu, Mar 3, 2011 at 1:54 PM, Prabath Siriwardana wrote: > > > On Mon, Feb 28, 2011 at 10:05 AM, Rajika Kumarasiri wrote: > >> I need to store some passwords in GREG. Is there a way to achieve this ? >> > > I guess anything that needs to be stored in GREG securely - need to declare > it's media

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Prabath Siriwardana
On Mon, Feb 28, 2011 at 10:05 AM, Rajika Kumarasiri wrote: > I need to store some passwords in GREG. Is there a way to achieve this ? > I guess anything that needs to be stored in GREG securely - need to declare it's media type accordingly and should be handled via a registry handler... There

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Paul Fremantle
What are you storing? Paul On 28 February 2011 04:35, Rajika Kumarasiri wrote: > I need to store some passwords in GREG. Is there a way to achieve this ? > > Rajika > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-03 Thread Asela Pathberiya
On Thu, Mar 3, 2011 at 12:24 PM, Srinath Perera wrote: > Can we use secure vault here? is that only for passowords in config > files? --Srinath > Yes we can. But In secure vault also it is not straight, same as above, by using an encrypt() method in EncryptionProvider class.. There is separate t

Re: [Carbon-dev] Store some encrypted data in GREG

2011-03-02 Thread Srinath Perera
Can we use secure vault here? is that only for passowords in config files? --Srinath On Mon, Feb 28, 2011 at 10:26 AM, Rajika Kumarasiri wrote: > Thanks that helped. > > Rajika > > On Mon, Feb 28, 2011 at 10:19 AM, Thilina Buddhika > wrote: >> >> Yes, In Carbon-Core/CryptoUtil class, there are t

Re: [Carbon-dev] Store some encrypted data in GREG

2011-02-27 Thread Rajika Kumarasiri
Thanks that helped. Rajika On Mon, Feb 28, 2011 at 10:19 AM, Thilina Buddhika wrote: > Yes, In Carbon-Core/CryptoUtil class, there are two methods called > encrypt() and decrypt(). You can invoke the encrypt method passing the plain > text password and get it encrypted before storing it in the r

Re: [Carbon-dev] Store some encrypted data in GREG

2011-02-27 Thread Thilina Buddhika
Yes, In Carbon-Core/CryptoUtil class, there are two methods called encrypt() and decrypt(). You can invoke the encrypt method passing the plain text password and get it encrypted before storing it in the registry. These methods use the primary key pair for encryption/decryption. Hope this helps.

[Carbon-dev] Store some encrypted data in GREG

2011-02-27 Thread Rajika Kumarasiri
I need to store some passwords in GREG. Is there a way to achieve this ? Rajika ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev