From nobody Wed Dec 27 14:39:10 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 4T0Z5q236hz55l86 for ; Wed, 27 Dec 2023 14:39:11 +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 4T0Z5p68ntz3DxL for ; Wed, 27 Dec 2023 14:39:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703687950; a=rsa-sha256; cv=none; b=Ljzvps+PP0XqMm8JMyRfyjeR4neEPqLQq6cmx2c47+h2IC5nKYl5V0aiLtQLbLO9iKtvIZ eabg66bGNlGRCgVOJeJ+oefGFXOA552mf//H/CjZ1CzcFof3PpuwxlVSjrmy4Uq8lGFj38 CFz+K7/WRJgISe8HdDzdR4/rjriTGAMuIrus9v9Ad2PBMjzysF7LbqpjMs65MhJ0DEfQaU Nsibdy98eqf6w9zl/lsYl84guo5cxRD9ahYwCSptFHxa8HsxWZrl2l3imDzRJUy5EEMin0 sIhdemo6F1qORwl3YYd+1jERon8T5jQwJMFWU6AogR3PPDYKU4kVUwyFj/zsAw== 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=1703687950; 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=mNDYSQPvqNQiFg51aGbcHuFEXH5pNVFOTTksSPvAzWU=; b=wT4Lr9Y6H/p5NF1ECoq2DIDnB+YF7nwcr/7Bg9T5w9FIxWH8sYZBjaMe37MDKkcyFG+XGi mPH64ugS2x13B3yrlb3FJhQKkRe0VotpdzlF5E7uOelg9dd5tDoN72ctChXndfTNiUs45A rD0OIu9ZdHKbM5bRBqe0L6WxF8hw9kuWpSNCIjdGQMxhNoV7fG9JKcXMZ5n4C+cWutOVta nfvCMzFUBQ4B7kOOfHKnTxjN2FlLeZdUl2uKVJ6FwDE/aajteLYgzXdaq9+a4fSj4Mb/bV BMzoW7qR33kKX+BjbqlLL77PGTkJaHMv1dlYxeXmOmi2A+kDAvMDkB0EOQ506A== 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 4T0Z5p563gzj9s for ; Wed, 27 Dec 2023 14:39:10 +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 3BREdA3U052819 for ; Wed, 27 Dec 2023 14:39:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BREdA84052818 for bugs@FreeBSD.org; Wed, 27 Dec 2023 14:39:10 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: Wed, 27 Dec 2023 14:39:10 +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: 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=3D275915 --- Comment #2 from Lexi Winter --- Created attachment 247295 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247295&action= =3Dedit patch well, this patch fixes the crash in kadmin/kadmind by returning an error instead: kadmin> add -r host/test.example.org@EXAMPLE.ORG Max ticket life [1 day]: Max renewable life [1 week]: Principal expiration time [never]: Password expiration time [never]: Attributes []: kadmin: kadm5_create_principal: Cannot create digest kadmin: adding host/test.example.org@EXAMPLE.ORG: Cannot create digest kadmin> it doesn't fix the underlying issue with MD4 not being available. the defau= lt default_keys should probably be updated to remove arcfour-hmac-md5, since almost nothing requires this nowadays (including Windows). --=20 You are receiving this mail because: You are the assignee for the bug.=