ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] IA: krb5 1.8 drops single-DES encryption support
Date: Fri, 10 Jul 2020 20:56:37 +0400
Message-ID: <20200710165637.medlrfdki2nnzbbi@titan.localdomain> (raw)


Здравствуйте.

В Сизиф приезжает krb5 1.18.2[1], первый из ветки 1.18[2] добравшийся
до наших репозиториев.

В этой ветке есть один breaking change, на который я хочу особенно
обратить внимание: шифрование по DES там больше не поддерживается.
С одной стороны, и прекрасно, давно пора. С другой стороны, кое-что
может сломаться. Во-первых, если есть какие-то legacy клиенты
(или даже сервера), то ой всё. Во-вторых, если у Вас в krb5.conf
или kdc.conf по каким-то причинам оставались разрешёнными
enctypes начинающиеся с des- (например, des-hmac-sha1:normal,
des-cbc-md5:normal или des-cbc-crc:normal), то что-то может
сломаться. Например, при наличии таких enctypes среди
supported_enctypes домена можно получить такое сообщение
об ошибке в kadmin.local:

# kadmin.local
Authenticating as principal admin/admin@DOMAIN.ALT with password.
kadmin.local: Required parameters in kdc.conf missing while initializing kadmin.local interface

Также можно увидеть что-то такое вот от клиентов, если enctypes
с des- завалялся в krb5.conf:

# kinit administrator
kinit: No supported encryption types (config file error?) while getting initial credentials

В обоих случаях нужно удалить enctypes начинающиеся с des-
из допустимых/поддерживаемых.

Если же поддержка single DES по каким-то причинам критична,
переходите пока на p9, там я надеюсь ещё какое-то время
мы поживём на krb5 1.17.x.

[1] http://git.altlinux.org/tasks/254565/logs/events.4.3.log
[2] https://web.mit.edu/kerberos/krb5-1.18/krb5-1.18.2.html

-- 
  wbr,
    iv m.


             reply	other threads:[~2020-07-10 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 16:56 Ivan A. Melnikov [this message]
2020-07-12 16:54 ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200710165637.medlrfdki2nnzbbi@titan.localdomain \
    --to=iv@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git