Go Back   Velocity Reviews > Newsgroups > Computer Security
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Computer Security - Certificates Question

 
Thread Tools Search this Thread
Old 03-27-2007, 07:50 AM   #1
Default Certificates Question


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"?





SecBoy
  Reply With Quote
Old 03-27-2007, 08:26 AM   #2
Sebastian Gottschalk
 
Posts: n/a
Default Re: Certificates Question
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.


Sebastian Gottschalk
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ssl.com now carries all the major brands of SSL certificates jenny General Help Related Topics 0 11-30-2006 09:18 AM
Re: Dial-up Modem Question w_tom A+ Certification 0 09-18-2005 09:12 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good God DVD Video 3 04-25-2005 04:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good Filthy Mcnasty DVD Video 0 04-25-2005 04:29 AM
Re: Safe Mode Question (A+ question) Gordon Findlay A+ Certification 0 06-16-2004 10:48 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46