14

02/11

GnuPG Create key’s over 4096 bit – stronger encryption

11:37 pm by Admir. Postuar tek: antiSecurity,Linux

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. :D

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!

Komentet e temes

Ler nje koment