GPG algorithms and key strengths
While GPG supports many algorithms, for best practices consider the following:
GPG key type | Algorithm | Reason |
---|---|---|
Master key | RSA | For compatibility reasons, consider using RSA as the master key. Some tools don't handle ECC keys properly. Master keys aren't used often; therefore, the speed and size considerations of RSA are irrelevant. |
Subkeys | ECC (ECDSA or EdDSA) | Subkeys are used more often. As a result, consider ECC (ECDSA or EdDSA) for its speed; the resulting signatures will be dramatically smaller than using RSA. |