From nobody Tue Nov 21 09:24:54 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 4SZJqp3r1Bz51Fcj for ; Tue, 21 Nov 2023 09:24:54 +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 4SZJqp1tkRz4cHr for ; Tue, 21 Nov 2023 09:24:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700558694; 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=H+zaVhPIJDALWy7pbocuUe6Vpq1hQAKCHh6oYgGJa7M=; b=kpsg0WiBi5WFVpQk5QOvJXL3fNg1PUKG25iGXCnbX1ff0aH4i9pYjNQCudnOrlOZGRrzPn tP00r3r8EVjf1BoK2jedtBryFd9jDrZbV2L1Ku+J4VGCosJ4fx7S9GjQSreDCqtKSjfuZp rU9JEUqp5KcD9e1PtG12T2rcda5CoEbHpWD4vFyvsFRYcJra+KQqcFOeX9/1swg7R8NUgm 18FkdSiG8b1LUFVcZr6Xpj4zvp/JhSRG03PFZsSXEyPvHXXQ7aw8wneI7czGFmFv0dD8P3 DT0VWnU4f22jbbnYM5TzKh78cHjqID1ih+N4eNBn/lGBJL3XvXRLz+IEX3UDYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700558694; a=rsa-sha256; cv=none; b=thJdYF87XyCE2fpsLZg0svGuQVZxYTtBNcVWR58dEMrG6t8YAHpjZ4W23UTy29pIASbQtw 9zWWb1q/0V5EVCavh45fghl5rq/RZ+fWnzPdNw/mFuGmaNFY8DQTMiwY+e/lYCDYZkBxuH mB7nG+ZC6LOlRBxHLpTBO4PD2KMukkQlOUJq+wdTfw6QYDSMktRDCItc3UTB22BTxGaWFA HyCpAT7d0Rtp27LiA8xTH0No9hdpvYSHGclWxII8LbtJjmRul0ZC8m+r81ARezC4/SfYBn 7yCrqVe9c4P5JgylAxzPKCWhqX4pDhq4ZxyzhjbQrSgnPxdqRUsdDGlmKvCpyA== 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 4SZJqp0yP3zVcS for ; Tue, 21 Nov 2023 09:24:54 +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 3AL9OsKe078875 for ; Tue, 21 Nov 2023 09:24:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AL9OsgT078874 for bugs@FreeBSD.org; Tue, 21 Nov 2023 09:24:54 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 272835] kinit(8) segmentation fault with openssl-3.0 in CURRENT Date: Tue, 21 Nov 2023 09:24:54 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Joerg.Pulz@frm2.tum.de X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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=3D272835 Joerg Pulz changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #246375|0 |1 is obsolete| | --- Comment #3 from Joerg Pulz --- Created attachment 246458 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246458&action= =3Dedit patch to fix base heimdal and weak enctypes with base openssl-3.0.x v2 After thinking some more about this I propose we should fix this. If we ship heimdal with weak enctypes enabled (what we do) it should work o= ut of the box. This can be achieved in two ways: 1) Modify the code so heimdal is loading the required OpenSSL legacy providers= by itself - see the attached patch. 2) Modify the default OpenSSL configuration (/etc/ssl/openssl.cnf) we ship as mentioned in my previous comment. New versions of heimdal make use of heimdal's own md4/rc4 implementations in lib/hcrypto. As this is not in our tree (see crypto/heimdal/FREEBSD-Xlist) = it's not an option. --=20 You are receiving this mail because: You are the assignee for the bug.=