From nobody Thu Jan 18 05:33:57 2024 X-Original-To: ports-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 4TFryZ4P43z57W90 for ; Thu, 18 Jan 2024 05:33:58 +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 4TFryZ1gg6z525m for ; Thu, 18 Jan 2024 05:33:58 +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=1705556038; 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; bh=3ksSKbQTxp8Uw+3d/eYLnwsCoVLp6b7jYPPeXrkcD8k=; b=T5he1u88DxUET2UNM7Kn5+OGxMfov+5PN5rrx7dkDFkjZOfYWumSM42I4m2abbi/POTMu8 doQmrRiuJkOxeLJJJvrEpixhw2WMK3VxyIscPo6/F9hq7T2xZMwZRhCfdWdLfAi0JvHP9A 9eMg5SLjh5kBhwyMK2JjXazPm5lyRzVP1xwobwlrOp+N41XP/y/KiMGJdNwyXbCiTTENlD 3KV/VUyu+YSdj9Pqh+tuUV05/vJMkQz726YWGdhCJTn9tQaRqnSY+iNOK1PaVr+tiWPL3H Xly063AzOty6qhGckwjeHYPXFnOdn059cUnVJ0I1tmMilk9XHmDlw4CLYVBHTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705556038; a=rsa-sha256; cv=none; b=Mw7aegdbdSYLoipfMjisGNDrR/hp108TejkXuoecWiRlcDReoHLZCKJcG0LUc0rnarZP2b 8ssfLTQwFVpXvSGZLtuMV61C6NlupZb142dXOud3Xw+nYwm+vwcZcD6udEBHx78LtzPMWE B9u4xTutSF82f6B/+gdyc0T9CkpUPHh8hu9NWdKbiqRRn/lu1WHR+sTEOflnOfHB9V9I2w agG4hHS75WoIXMXbUvIqlOU9XD86Fb2bD62uUK36WCFNMnoRrVEeIQVJr0GmqdgXDa3fNq drze20yOY87BO+EV9+JDt+uS9ZDtb5YcRi1kn0btE1XSU59fEjvTNw/j4xgw2A== 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 4TFryZ0m0YzvTH for ; Thu, 18 Jan 2024 05:33:58 +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 40I5XwHW002738 for ; Thu, 18 Jan 2024 05:33:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40I5XwxY002737 for ports-bugs@FreeBSD.org; Thu, 18 Jan 2024 05:33:58 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: ports-bugs@FreeBSD.org Subject: [Bug 276415] security/heimdal: kinit FreeBSD 14.0 fails with kinit: rc4 8: EVP_CipherInit_ex einit Date: Thu, 18 Jan 2024 05:33:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jborean93@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hrs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276415 Bug ID: 276415 Summary: security/heimdal: kinit FreeBSD 14.0 fails with kinit: rc4 8: EVP_CipherInit_ex einit Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: hrs@FreeBSD.org Reporter: jborean93@gmail.com Flags: maintainer-feedback?(hrs@FreeBSD.org) Assignee: hrs@FreeBSD.org Created attachment 247736 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247736&action= =3Dedit Rudimentary diff to get this working again Using the security/heimdal port fails on FreeBSD 14.0 when trying to use ki= nit to get a Kerberos ticket for a user. The error message is > kinit: rc4 8: EVP_CipherInit_ex einit I've spent some time trying to track this down as like the issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275915 it's due to Open= SSL policies disabling the RC4 cipher. Unlike issue 275915 you cannot work arou= nd this code as even though the etype used in the Kerberos exchange is based on AES the code itself is doing a basic validation test to see if RC4 is avail= able https://github.com/heimdal/heimdal/blob/366016b1f6ceb760c99231b15033e4dacf5= 060c9/lib/hcrypto/validate.c#L104-L212. The only way to get this working is to remove the tests and recompile the c= ode. Potentially there's a way to re-enable RC4 in OpenSSL but I need to look further into this. I've also submitted an issue report on the upstream Heimdal repo https://github.com/heimdal/heimdal/issues/1224 which contains more details = on the bug. --=20 You are receiving this mail because: You are the assignee for the bug.=