From nobody Sun Dec 24 16:53:43 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SynDR72ZCz54syw for ; Sun, 24 Dec 2023 16:53:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SynDR4T2wz4ZQt for ; Sun, 24 Dec 2023 16:53:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703436823; a=rsa-sha256; cv=none; b=Wgqlo/ztrYGhmpB7OKR+Bj0u6iblcX5zE9TZybGjMj1RN9xaPgiJW09ODwGFE83eiNvIHd yZAy3wnkMPQpwOZtmQKY3scAAuDa89Xh/X/mFcWDYuh2lDgI2BSYn//VcH6sq4BNbR4DuI I5JS4oVQ9vFY1jlK23c+vMnrjFG8SaMCHoFY7TbsPWQEKUEgUS1I6zW1tBqj5vA6tyntB5 3K/C4f760j2owY97P0/67gjj/ZSC+2BnLeQC5fxNx02+/uMHnz+Nk52JQ36qtVMo7SEbN6 6Z80zj8V9XtYQWYUUV0bz2gwzLqeTbr7YKw1kUencKxS99rDNNHh4YrE7m4pDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703436823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fiH9qBESnQtH9//keSHB1Vyi9LP9kJcBYEnwEzmEdvE=; b=qYJvC+bUCianSf6tlf9oGkGZ3ORED9LpXJoJnXHg8cPOodeWz6qJr6BjQ0BZnYsL6YF6ti a4SWVjJ8WF06xNuqrZU9P9w/5t6J1Yxn7EkdKN/f79Ef7D7lKXSKgt3w56yCNQJm1q7Chz XCoPegiTtDEkGv9v04GZRzZqucGAbClswL/LOOBjNQGtmvgNlSy3U9w07h+4FCB0GYhLDm 5tC+UL4wb6u3zIn5x8f8Zjef+xj+seRHQlyb94qtRoqJKQIJXhlKtVOnBnHsVXOytpbJJY ukwtPnAe0Ah6XyeovT+w2k+DkvEb/g2YNbME9Uxvxw0mXdqW1JvT5TMW4EjD6w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SynDR3WMxzc7J for ; Sun, 24 Dec 2023 16:53:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BOGrhKQ003154 for ; Sun, 24 Dec 2023 16:53:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BOGrh7X003152 for bugs@FreeBSD.org; Sun, 24 Dec 2023 16:53:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275915] kadmin(d): adding principal crashes in ARCFOUR_string_to_key Date: Sun, 24 Dec 2023 16:53:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275915 --- Comment #1 from Lexi --- this seems to be caused by having arcfour-hmac-md5 in the kadmin default_ke= ys list, which is present by default, along with OpenSSL's MD4 not working for some reason: # openssl md4 Error setting digest 00206156FE410000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:/data/src/releng/14.0/crypto/o= penssl/crypto/evp/evp_fetch.c:373:Global default library context, Algorithm (MD4 : 72), Properties () 00206156FE410000:error:03000086:digital envelope routines:evp_md_init_internal:initialization error:/data/src/releng/14.0/crypto/openssl/crypto/evp/digest.c:254: i fixed the problem by setting 'default_keys =3D aes256-cts-hmac-sha1-96:pw= -salt' in krb5.conf, but this should probably report a useful error instead of crashing. is a patch to fix the error reporting useful, or does this need to go to heimdal upstream first? --=20 You are receiving this mail because: You are the assignee for the bug.=