The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Debian: New openssh packages fix predictable randomness iBot Security Advisories (RSS) 0 05-14-2008 11:00 AM
SSH - Public key rahulrathod UNIX for Advanced & Expert Users 6 05-31-2007 11:37 AM
SSH Public key method roshanjain2 Shell Programming and Scripting 1 02-14-2007 05:47 AM
Apparent logoff’s due to inactivity. gadgetman SCO 0 08-29-2006 11:07 PM
ssh public keys ghost01 UNIX for Dummies Questions & Answers 1 06-30-2006 02:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 4.00 average. Display Modes
  #1 (permalink)  
Old 08-30-2008
morten44's Avatar
morten44 morten44 is offline
Registered User
  
 

Join Date: Apr 2008
Location: Crefeld NRW
Posts: 3
apparent non randomness in a public pgp key

Hello here is what I've seen
inside some public pgp keys.

Code:


gAIAAAAAAAkBAAAAAAoAAAAFAAoArwFI/gkAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAGoYABgBAACATxIA0gAAAOAIAADgCAAABAABAAIABAAAAFI5OAAC


Code:
Ai8d6dNIpI41EtBXwK/Lsm92ulmAgBZFBdFWWYJ8ILp/GY6ju///////////////
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////4hGBBAR
I think a visual inspection of a pgp public key can at least tell me
if all characters are equal. then it must be something wrong.


Here is just a single joke example of a key I constructed for pattern match searching with a perl script.


PHP Code:

-----BEGIN PGP PUBLIC KEY BLOCK-----
CommentDont trust this key.

mQGiBDqgzyMRBAC63IHIDuA+G0pBYRlR0s9FUXlMKiw8f7RaipaqNviEzoOdgFDm
0BnUXWL0FGEkhq6
+aTgvm4a9P7ftraAis7kZzokHej2tzQdbyGcMURrY41COa2iZ
/I+/qMmx4++/u24mIqg1mY1T/AfAJj922mHES0Q6CSee23zqZWz0+qvqQwCg3gfM
19ZwrPBtPVh
+uxnQ+klQKEUD/3PullwjgE1e35qf0ncWHzLm8zJprQPu8yDnqXpu
HGSz6mEBZIFxSm4CZJHulFFBgwB7vKfoa
/ZfJU3KXu7eyvmRk7aS9rlJcu3A0+vA
U0bXO
/OmKr8YYiD88XrTd1gfrawvRAgRWu0VjIEp24yiEYRjjTr1h+XRYijuwLXE
*deleted*
gEkeYk3w5hILkh/EnYeKh4Vurdtel5vOU42SRC9Ni9znuq1/qv167Pp3XzDauDAI
3586lV6iQyl89L0VwajKReV2jOB9NyQapjjL7xeoKbfhn3MqoVAqFSHLrS8u1AJo
BvzVUHXAZgdjtNiITgQYEQIABgUCOqDrHAASCRBo4SUrfaXFOwdlR1BHAAEBvE8A
n3Z
/LhDMOs15ThLnVUAEWVoCmVznAJ4l612mBTj1oOIVOx4pu7YIuLsCpA==
=
-----
END PGP PUBLIC KEY BLOCK----- 
How can I find repeating nonrandom patterns in a pgp public key? Does it exist a PGP key validator?



Please?

Last edited by DukeNuke2; 08-30-2008 at 02:44 AM.. Reason: no jokes about relegion!
  #2 (permalink)  
Old 08-30-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
A good practical test of randomness is: does it compress well? If not, it's random. (Not necessarily truly random, of course; a compressed file doesn't compress well, because the redundancy has been reduced by the compression algorithm, but if you know the input and the compression algorithm, it can be reconstructed at will.)
Closed Thread

Bookmarks

Tags
openpgp public key

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

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




All times are GMT -4. The time now is 09:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0