Security/Guidelines/Key Management: Difference between revisions

Jump to navigation Jump to search
Updated gpg options to stronger defaults
(Updated gpg options to stronger defaults)
Line 168: Line 168:
=== GnuPG settings ===
=== GnuPG settings ===
By default, GnuPG may use deprecated hashing algorithms such as SHA1 when used for signing. These settings ensure a more modern selection of hashing algorithms.
By default, GnuPG may use deprecated hashing algorithms such as SHA1 when used for signing. These settings ensure a more modern selection of hashing algorithms.
Using long key ids over the default short key ids is also recommended. If possible, using complete fingerprints is even better.


File: ~/.gnupg/gpg.conf
File: ~/.gnupg/gpg.conf
<source>
<source>
personal-digest-preferences SHA256
personal-digest-preferences SHA512 SHA384 SHA256
cert-digest-algo SHA256
cert-digest-algo SHA256
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
keyid-format 0xlong
</source>
</source>


Confirmed users
502

edits

Navigation menu