diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2017-11-30 19:51:55 +0100 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2017-11-30 10:51:55 -0800 |
commit | 23b11084515b49656ab10f517f51a7f6f00884cc (patch) | |
tree | 5c2fe2e6c56d75db3dc9448111348e06064282d8 | |
parent | f7c0e24f0a554c4e5a68d6c2671fcb1102b1219c (diff) | |
download | spack-23b11084515b49656ab10f517f51a7f6f00884cc.tar.gz spack-23b11084515b49656ab10f517f51a7f6f00884cc.tar.bz2 spack-23b11084515b49656ab10f517f51a7f6f00884cc.tar.xz spack-23b11084515b49656ab10f517f51a7f6f00884cc.zip |
gpg creation: added suggestion on how to set-up rngd (#6483)
-rw-r--r-- | lib/spack/docs/getting_started.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst index 9e59b28dac..186bff9ad1 100644 --- a/lib/spack/docs/getting_started.rst +++ b/lib/spack/docs/getting_started.rst @@ -1096,6 +1096,22 @@ they may use packages you have signed using the ``--export <keyfile>`` flag. Secret keys may also be later exported using the ``spack gpg export <location> [<key>...]`` command. +.. note:: + + Key creation speed + The creation of a new GPG key requires generating a lot of random numbers. + Depending on the entropy produced on your system, the entire process may + take a long time (even a few minutes). To speed it up you may install + tools like ``rngd``, which is usually available as a package in the host OS. + On e.g. an Ubuntu machine you need to give the following commands: + + .. code-block:: console + + $ sudo apt-get install rng-tools + $ sudo rngd -r /dev/urandom + + before generating the keys. + ^^^^^^^^^^^^ Listing keys ^^^^^^^^^^^^ |