]> git.ipfire.org Git - thirdparty/krb5.git/commit
Set reasonable supportedCMSTypes in PKINIT 1254/head
authorJulien Rische <jrische@redhat.com>
Wed, 1 Jun 2022 16:02:04 +0000 (18:02 +0200)
committerGreg Hudson <ghudson@mit.edu>
Thu, 7 Jul 2022 21:15:41 +0000 (17:15 -0400)
commit1417c64807e8f618c0c8b230246668a50425ec0c
tree6dc95ed820e2430b969d797e9003c71c13dd275d
parent05c83221ec30b8c416226cbbde45ad395e1c6f14
Set reasonable supportedCMSTypes in PKINIT

The PKINIT client uses AuthPack.supportedCMSTypes to let the KDC know
the algorithms it supports for verification of the CMS data signature.
(The MIT krb5 KDC currently ignores this list, but other
implementations use it.)

Replace 3DES with sha512WithRSAEncryption and sha256WithRSAEncryption.

[ghudson@mit.edu: simplified code and used appropriate helpers; edited
commit message]

ticket: 9066 (new)
src/plugins/preauth/pkinit/pkinit_constants.c
src/plugins/preauth/pkinit/pkinit_crypto.h
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c