]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Update default krb5kdc mkey manual-entry enctype
authorRobbie Harwood <rharwood@redhat.com>
Mon, 20 May 2019 20:52:57 +0000 (16:52 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 21 May 2019 00:07:07 +0000 (20:07 -0400)
Change from the legacy des-cbc-crc to the default for kdb5_util and
kadmind, which is currently aes256-cts-hmac-sha1-96.

doc/admin/admin_commands/krb5kdc.rst
src/kdc/main.c
src/man/krb5kdc.man

index 08d40cc0d838cd8c49f014341ba6c0dfe4165325..631a0de84e505a51e4f031f72aefec5dd6e12a69 100644 (file)
@@ -41,7 +41,7 @@ LDAP database.
 
 The **-k** *keytype* option specifies the key type of the master key
 to be entered manually as a password when **-m** is given; the default
-is ``des-cbc-crc``.
+is |defmkey|.
 
 The **-M** *mkeyname* option specifies the principal name for the
 master key in the database (usually ``K/M`` in the KDC's realm).
index 16235d63a714becd50532e856c91a6fc36b374ed..be54dafcc039bfccfd58e9f075a2195357be9df8 100644 (file)
@@ -777,7 +777,7 @@ initialize_realms(krb5_context kcontext, int argc, char **argv,
         case 'm':                       /* manual type-in of master key */
             manual = TRUE;
             if (menctype == ENCTYPE_UNKNOWN)
-                menctype = ENCTYPE_DES_CBC_CRC;
+                menctype = DEFAULT_KDC_ENCTYPE;
             break;
         case 'M':                       /* master key name in DB */
             mkey_name = optarg;
index 062880c939789ec3f438ed6a3a8f5c31c3ab51ff..e0cc519daf6688754e651b7aed15f48e4f3d3a84 100644 (file)
@@ -61,7 +61,7 @@ LDAP database.
 .sp
 The \fB\-k\fP \fIkeytype\fP option specifies the key type of the master key
 to be entered manually as a password when \fB\-m\fP is given; the default
-is \fBdes\-cbc\-crc\fP\&.
+is \fBaes256\-cts\-hmac\-sha1\-96\fP\&.
 .sp
 The \fB\-M\fP \fImkeyname\fP option specifies the principal name for the
 master key in the database (usually \fBK/M\fP in the KDC\(aqs realm).