How to resolve the error (shown below) while generating RSA key using GPG on RHEL
“Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 278 more bytes)"
Open 3 different SSH Session to the server;
Session 1 - > type watch cat /proc/sys/kernel/random/entropy_avail
[You can watch the entopy pool by observing the appropriate spot in the /proc system with this command. Make sure that you see the count increasing to more than 3000]
Session 2 - > Run the command " ls -R / " from the second session
Session 3 -> Run the Key Generation Command " gpg --gen-key "
[Make sure that you start running the command " ls -R / " in parallel just after typing the Passphrase section.]
Once the test keys are generated please have the test keys remove from the Production Servers:
How to list the available Keys on the Server:
- gpg --list-keys
pub 2048R/D484AB62 2011-12-20
uid AVINASH PILLAI (RSA test) <avinashp25@gmail.com>
- gpg --delete-secret-keys
- gpg --delete-keys
Avinash Pillai
Email: avinashp25[AT]gmail[DOT]com
Comments