14
02/11
GnuPG Create key’s over 4096 bit – stronger encryption
GnuPG Create key’s over 4096 bit – stronger encryption ? – want to break this limit ? — read here!
Hi there, first of all if you don’t know this gpg have set the limit when creating keypairs up to 4096 (max) and even those who use gpg can’t create keys with more encryption.
If you are wondering why you should use key’s with *more* stronge encryption than 4096 bit’s I’m wondering if you made the question why GPG is limiting (or in my opionion) forced to limit the key pair up to 4096 bit?
Answer:
Because it’s hackable!!
Another question, why in some states it’s illegal to use keypairs with more than 2024 or 4096 bits?
Answer:
THEY 0WN YOU!!
Ok so it’s clear enough, if not please hang your self
1 – Download the source code
ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.11.tar.bz2
2 – Extract
bunzip2 gnupg-1.4.11.tar.bz2
tar -xvf gnupg-1.4.11.tar.bz2
3 – Edit the source code
In dir g10 edit keygen.c in line 1580 you will find:
[cc lang="C"]
unsigned nbits, min, def=2048, max=4096;
[/cc]
Change the max value to your desired value, i.e 8192 or 16384 and save.
4 – Install
./configure && make && make install
5 – Generate your keypair:
[cc lang="C"]
$ gpg –gen-key -vi
gpg (GnuPG) 1.4.11; Copyright (C) 2010 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Please select what kind of key you want:
(1) RSA and RSA (default)
(2) DSA and Elgamal
(3) DSA (sign only)
(4) RSA (sign only)
Your selection? 1
RSA keys may be between 1024 and 32768 bits long.
What keysize do you want? (2048) 16384
Requested keysize is 16384 bits
Please specify how long the key should be valid.
0 = key does not expire
= key expires in n days
w = key expires in n weeks
m = key expires in n months
y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct? (y/N) y
[/cc]
Follow the steps and you should hit hard your keyboard, also move the mouse, download something, archive and extract stuff in order to get the thing done.
What after I got the .gnupg/pubring.gpg?
gpg --armor --export mymail@mail.com > my-public-key.asc
Now you can exchange your key with your firends.
ENJOY!
Tweets that mention GnuPG Create key's over 4096 bit - stronger encryption | AlbanianWizard -- Topsy.com
February 15, 2011
12:31 am
[...] This post was mentioned on Twitter by Ardian Haxha, AlbanianWizard.org. AlbanianWizard.org said: GnuPG Create key’s over 4096 bit – stronger encryption: GnuPG Create key’s over 4096 bit – stronger encryption ?… http://bit.ly/hTCpVi [...]
Blerim
March 10, 2011
10:47 am
السلام عليكم
My brother
When you said “Because it’s hackable!”…
If I say OK it is, but how can I prove it if my professor says that 1024 bit key had not been cracked yet?!
I just thought to tell my professor that you have to make a stronger key ’cause I wanted to make a presentation of GnuPG in my University.
May Allah reward you!
arditi
March 10, 2011
2:06 pm
و علىكم سلام
Well to prove this to your professor you need first a PC with quantum processor
and than ask some gov guy to teach you how
Here we don’t teach anymore “how to break things” , except things that can bring good
Blerim
March 13, 2011
5:26 am
I think you misunderstood me, it wasn’t my point ‘how to’ crack it, but anyway thanks
also thanks about this lesson it’s interesting
Compiling GnuPG 1.x on Linux for Windows – PCR's notepad
October 29, 2011
2:38 pm
[...] too large, but this way you can be sure you won’t need to edit that again in a big while ^^) (source 1, source [...]
Anthony Papillion
January 7, 2012
1:58 am
BLERIM:
Looks like your professor might be wrong and you don’t need a quantum computer to crack 1024 bit encryption. Looks like a group out of Michigan USA have done it in under 100 hours. Here’s the link.
http://www.hardmac.com/news/2010/03/08/rsa-1024-bits-key-encryption-cracked