JMule project forum

JMule - Java file sharing client
 

It is currently Tue Sep 26, 2017 9:02 am

Your Ad Here


Post new topic Reply to topic  [ 6 posts ] 
Author Message
Offline
 Post subject: Secure Identification in jmule
PostPosted: Sat Mar 13, 2010 6:02 pm 
 Profile

Joined: Sat Mar 13, 2010 8:03 am
Posts: 4
Hi everyone,
I would be interested to know if jmule implements secure identification, and if that's the case, in which classes can I find the relative source code. I'm a computer science student and I'm writing a thesis on security and the secure identification would be a perfect example of implementation of the RSA protocol.

thank you in advance


Top
 

Offline
 Post subject: Re: Secure Identification in jmule
PostPosted: Sat Mar 13, 2010 6:31 pm 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
We reused some code from Bouncy Castle project(http://www.bouncycastle.org/), BC code is located in org.jmule.core.bccrypto package.
Security identification is implemented in PeerManagerImpl(some code in PeerCredit and ClientsMet). Key generation is implemented in ConfigurationManagerImp.genSecurityKeys().

Currently this code is available in CVS only.


Top
 

Offline
 Post subject: Re: Secure Identification in jmule
PostPosted: Sat Mar 13, 2010 8:07 pm 
 Profile

Joined: Sat Mar 13, 2010 8:03 am
Posts: 4
Thank you very much!


Top
 

Offline
 Post subject: Re: Secure Identification in jmule
PostPosted: Wed Mar 17, 2010 4:35 pm 
 Profile

Joined: Sat Mar 13, 2010 8:03 am
Posts: 4
I've studied the code and I have a question: why do you use bouncy castle to implement secure identification? you could also use classes from java.security to generate the private and public key-pair for the RSA encryption method. Am I wrong?


Top
 

Offline
 Post subject: Re: Secure Identification in jmule
PostPosted: Wed Mar 17, 2010 6:49 pm 
JMule staff member
JMule staff member
User avatar
 Profile

Joined: Fri Jul 11, 2008 4:10 pm
Posts: 33
JCE can use keys with size at least 512 bits, secure identification is based on RSA keys with 384 bits length.


Top
 

Offline
 Post subject: Re: Secure Identification in jmule
PostPosted: Wed Mar 17, 2010 8:26 pm 
 Profile

Joined: Sat Mar 13, 2010 8:03 am
Posts: 4
I made some jUnit tests and it's actually as you say, the minimum key size JCE can handle is 512 bit. I'll see BC's code to see how it generates the 384 bit key.
Thanks a lot for your help.


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Contact : jmule [at] jmule.org
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group