Certificates Question

Certificates Question

Secure Home | Search | About
 Computer Software Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Certificates Question SecBoy 03-27-2007
Posted by SecBoy on March 27, 2007, 2:50 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,
I am a total newbie at security, just trying to learn the
basics. So pardon me if my questions are naive.

1) I navigate to mail.yahoo.com using IE6. I see
a golden padlock on the status bar. I click on it to the
see the certificate. In the details tab - I click the public
key field - In the value column I see "RSA (1024 bits)
But if I copy the value from below - 30 81 89 .... 00 01",
I see it's actually 140 bytes (1120 bits) & not 1024 bits.
If I go to the same site using Firefox 2.0.0.3 & look
at the certificate, the subject's public key field shows
"Size: 140 Bytes / 1120 Bits". Why does IE show 1024 instead of 1120.

2) I am looking at a tutorial at
http://www.freesoft.org/CIE/Topics/140.htm
In the paragraph "X.509 Certificates", look at the first
certificate. In the certificate look at the
"Subject Public Key Info:"

RSA Public Key: (1024 bit)
Modulus (1024 bit):
00:b4: ..........
.................
.........7e:41:8f

The key is actually 129 bytes or 1032 bits &
not 1024 as stated. Why the discrepency - is it because
of the leading "00"?




Posted by Sebastian Gottschalk on March 27, 2007, 3:26 am
If you were  Registered and logged in, you could reply and use other advanced thread options
SecBoy wrote:

> Hi,
> I am a total newbie at security, just trying to learn the
> basics. So pardon me if my questions are naive.
>
> 1) I navigate to mail.yahoo.com using IE6.

Why are you abusing MSIE as a webbrowser? Why are you abusing a Webmail
interface?

> I see a golden padlock on the status bar.

So what? Since you're abusing MSIE, this is meaningless.

> I click on it to the
> see the certificate. In the details tab - I click the public
> key field - In the value column I see "RSA (1024 bits)
> But if I copy the value from below - 30 81 89 .... 00 01",
> I see it's actually 140 bytes (1120 bits) & not 1024 bits.
> If I go to the same site using Firefox 2.0.0.3 & look
> at the certificate, the subject's public key field shows
> "Size: 140 Bytes / 1120 Bits". Why does IE show 1024 instead of 1120.

Maybe you should simply read the text on your screen. The size of the
modulus and the size of the public key (containing the modulus) are of
course different, due to encoding.

> 2) I am looking at a tutorial at
> http://www.freesoft.org/CIE/Topics/140.htm
> In the paragraph "X.509 Certificates", look at the first
> certificate. In the certificate look at the
> "Subject Public Key Info:"
>
> RSA Public Key: (1024 bit)
> Modulus (1024 bit):
> 00:b4: ..........
> .................
> .........7e:41:8f
>
> The key is actually 129 bytes or 1032 bits &
> not 1024 as stated. Why the discrepency - is it because
> of the leading "00"?

Obviously. Maybe you should simply read that tutorial first to understand
how encoding is done.

Similar ThreadsPosted
Web Page Certificates January 20, 2007, 8:03 pm
Installing Certificates . Why?? help please August 26, 2007, 8:09 am
BHO Question September 22, 2005, 8:11 am
VPN question February 19, 2006, 8:49 am
SSL question May 5, 2006, 6:41 am
Wi-fi question June 1, 2006, 4:51 am
AVG question July 26, 2006, 7:08 am
Router question June 23, 2005, 3:41 am
Backup question June 28, 2005, 8:46 am
netstat -a question July 19, 2005, 4:39 pm

The site map in XML format XML site map

Contact Us | Privacy Policy