git-annex/templates/configurators/genkeymodal.hamlet
Joey Hess de6a297d36
assistant: When generating a gpg secret key, avoid hardcoding the key algorithm and size
This aims to future-proof gpg key generation. OpenPGP is in flux with a
conflict over standards ongoing. It seems not unlikely that different
systems will have different gpg commands that support different algorithms.

This also simplifies the code by using the --quick-gen-key interface rather
than the experimental batch interface. It seems less likely that
--quick-gen-key will break than an experimental interface (whose
documentation I can no longer find).

--quick-gen-key is supported since gpg 2.1.0 (2014).

Sponsored-by: Graham Spencer on Patreon
2024-01-09 15:31:53 -04:00

15 lines
594 B
Text

<div .modal .fade #genkeymodal>
<div .modal-header>
<div .modal-dialog>
<div .modal-content>
<div .modal-header>
<h3>
<img src="@{StaticR activityicon_gif}" alt=""> #
Generating a GnuPg key.
<div .modal-body>
<p>
Generating a GnuPg key can take a long time. To speed up the process, #
it actually helps to use your computer for other things, which helps #
generate random numbers that keep the GnuPg key secure.
<p>
So if this is taking too long, go play a game or something!