Skip to content

Instantly share code, notes, and snippets.

@gotakk
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save gotakk/299fb1dd9dbc232adf9e to your computer and use it in GitHub Desktop.

Select an option

Save gotakk/299fb1dd9dbc232adf9e to your computer and use it in GitHub Desktop.
  1. sudo apt-get install gnupg rng-tools

  2. Ouvrir deux terminals

  3. Dans le premier terminal taper et laisser tourner :

$ sudo rngd -f -r /dev/urandom
  1. Dans le second terminal taper :
$ gpg --gen-key --no-use-agent
  1. Répondre aux différentes questions puis sur l'étape où des octets aléatoires doivent être générés, il suffit d'attendre

6.Faire un Ctrl+C dans le premier terminal pour interrompre le rngd

  1. Enjoy =)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment