Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-24-2002, 02:54 PM
|
#1
|
Member
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498
Rep:
|
Which is better RSA or DSA public key?
I FINALLY got public key authentification to work. But Which is better? RSA or DSA?
Thanks in advance.
|
|
|
01-24-2002, 04:02 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Define "better"?
|
|
|
01-24-2002, 04:07 PM
|
#3
|
Newbie
Registered: Jan 2002
Location: Burnaby British Columbia
Distribution: Redhat 7.1
Posts: 25
Rep:
|
At the risk of a newbie leading a newbie...
I've read that RSA is less secure than DSA but authenticates faster.
Sonny.
|
|
|
01-24-2002, 06:00 PM
|
#4
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by Sonny
At the risk of a newbie leading a newbie...
I've read that RSA is less secure than DSA but authenticates faster.
Sonny.
|
That's correct. But the speed difference in authentication is so small (if you talk about ssh'ing into a system with a regular size password of say 8 characters (or a few more if you use MD5) that you will not notice a difference.
So go with DSA. May as well go for more security and it pretty much doesn't come with a price.
|
|
|
01-25-2002, 01:29 AM
|
#5
|
Moderator
Registered: May 2001
Posts: 29,415
|
DSA is faster in *signing*, but slower in *verifying*.
A DSA key of the same strength as RSA (1024 bits) generates a smaller signature.
An RSA 512 bit key has been cracked, but only a 280 DSA key.
It doesn't matter because with Ssh only authentication is done using RSA or DSA algorithm, and then the "rest" is encoded using a (uh, was it block?) cipher like IDEA, DES, Blowfish, etc, etc after the authentication is done.
While Ssh2 can use either DSA or RSA keys, Ssh1 cannot. Ssh2 will also not use patented cypers like IDEA.
More info here and here (the latter bein a wee bit old).
|
|
|
06-08-2006, 03:55 PM
|
#6
|
Member
Registered: Sep 2005
Location: Aachen
Distribution: Fedora Core 4 , Suse , Xp , win98
Posts: 46
Rep:
|
hey,
speaking of RSA and DSA, what is the information that is encoded?
in other terms , whats the information in the DSA? a password encoded? a random number?
Thanxs
|
|
|
10-31-2006, 10:26 AM
|
#7
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Rep: 
|
***BUMP***
I found this thread because I am confused. It is because I'm looking for ssh-keygen howtos on the web.
One shows
http://thinkhole.org/wp/2006/10/30/f...re-secure-ssh/
Code:
ssh-keygen -v -t rsa
http://www.suso.org/docs/shell/ssh.sdf
The other one shows
So for a basic user like me who wants to get access to his network from a remote location, which would work better?
thanks
|
|
|
10-31-2006, 10:30 AM
|
#8
|
Member
Registered: Jun 2003
Distribution: Fedora Core 5
Posts: 100
Rep:
|
DSA is something that is actively pushed by the government, btw, because DSA cannot be used to encrypt stuff, only to sign it. RSA can be used to both encrypt AND sign.
That said, DSA is faster at signing. RSA is faster at verifying.
Really.. who cares. I use RSA just because I like to stick it to the G-man.
|
|
|
02-02-2009, 01:44 AM
|
#10
|
Member
Registered: Nov 2008
Posts: 32
Rep:
|
Quote:
Originally Posted by unSpawn
An RSA 512 bit key has been cracked, but only a 280 DSA key.
|
What kind of bullshit is this?.
Please, read about first. "A fellow by the name of Leo de Velez from the Phillipines had thought he had broken RSA, and a reporter colleague wrote up this story and published it. This is probably what you have heard about. " (Ron Rivers, the 'R' of RSA)
Here you can read the original mail between both:
http://www.seedmuse.com/rsa_edit.htm
Cheers
|
|
|
02-02-2009, 05:49 AM
|
#11
|
Senior Member
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135
|
Hey, thanks for drudging up a 2 year old dead thread. I was having trouble sleeping at night because of what you deem to be faulty information.
I think I may actually be able to die now, and rest in peace, because you have provided such useful input. And done it so eloquently, too.
Thanks again!
cheers,
|
|
|
02-02-2009, 12:50 PM
|
#12
|
Member
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 782
Rep: 
|
nice
|
|
|
02-03-2009, 06:15 AM
|
#13
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
I agree that resurrecting a two year old dead thread for this is ridiculous. Furthermore, I find the language and tone of morphynoman's post to be objectionable. I'm closing this thread. If anyone has a desire to start another RSA/DSA discussion, start a new thread and use references as necessary.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 03:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|