Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
Encryption
Why can I not create keys with gpg with a key length longer than 4096 bits long? Is this due to government laws? I know the government has attempted and still is the use of encryption.
Who's government? American laws only apply to Americans, thankyou. A 4096 bit key is massively secure, no risk of it being broken for many decades, and I'd imagine there is just no benefit in using anything longer, or rather, the computational cost of doing the encryption with any regularity would outweigh the benefits.
Probably because 2^4096 represents a number (10^1252) larger than the number of electrons in the galaxy. ( A guess on my part )
You wouldn't need to use a larger key, and so the programmers don't bother since it would just decrease speed unnecessarily. And they want to use standard key lengths for the program to be useful.
Around 1024 bits, you are relying on how long an attack would take using current technology. However, around 4096 bits (10^1252), the number of electrons needed by a computer to crack a cypher are impossible to obtain, and the number of atoms needed to store rainbow tables for example is impossible as well. Even if you only needed one electron or photon per guess.
The original DES standard was crackable by some agencies, but the 8086 in use at the time wasn't powerful enough for anything stronger. The DES standard was by design a stop gap 5 year standard, since it was known that processors would be more powerful in the near future.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.