From nobody Sun Jan 22 01:45:04 2023 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 4Nzwz46gMfz32Jm2 for ; Sun, 22 Jan 2023 01:45:04 +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 4Nzwz45fkBz3qhs for ; Sun, 22 Jan 2023 01:45:04 +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=1674351904; 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=pf4loSzGsNTEvjl9OBUmfZtoswUV/l3P1yPCevKSiz8=; b=Z0nc6hTsS2frtmZkqjBt1/l2ikNtaChqKsR37TlIzUL/9R8zWlcIAwjHHqFe1pD5ZVCT+H Ni+f/qZR1+OshJIVTxdP48nUDjfZwkhLFy2x20LbuF69i/R4d7+ZEBX5Ve9hqmHW7Z2j4R Ikwv4w2wgJSVasf79raua1m8lpsnX9ODDu0gSv6w4Q9cOn5qK5t/jk5oHHI4Na/knFWp78 tbYtKsVzKLPwD5X6I8hTAp45OY5aMEB8LKn2a4gPTqE0r6p1PglWdRshZhC5lzFZqTYs4R WmfLg3mOpkh/3yRvTRcckpZj1u+MjiwbWprx8JE0IIeKI4NxlEFvJUU1auhCtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674351904; a=rsa-sha256; cv=none; b=dOW5hGT786ezzfBwuym03z2HXT79ZhgG5Rds6WDePUDMyAowa/KXuo42CfCIiEc5QGJqiD N9i/l0AsSQwebIiVgyzJbG8Xgtt/ItQ/otIzI+qY3+DgFBkJWZ21NGdAxbSgfTNWT2uIQL wHpFX1/c+bQfhDlkEJS6xuwtY0BIO1uCWQ/s9HORLND+nT6oqqpNs2jryawqBi2RNem3Nr RUip79WcKKW30OGXp/TyhdZ4tU5oPR1JxoQU8HfuE9cnnnZbDDQmGfIgyEArhUShTwgDbO B3Ph3f+z+VUSttZl9JcGuiBpkX13m/GlFNnc2B3YDqszNHr7UqGY76E9HB7WIQ== 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 4Nzwz44fbVzX83 for ; Sun, 22 Jan 2023 01:45:04 +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 30M1j4Kg001199 for ; Sun, 22 Jan 2023 01:45:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30M1j4YW001198 for ports-bugs@FreeBSD.org; Sun, 22 Jan 2023 01:45:04 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 269088] devel/gitolite: Unable to add ecdsa-sk or ed25519-sk keys Date: Sun, 22 Jan 2023 01:45:04 +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: nate1010smith+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mat@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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269088 Bug ID: 269088 Summary: devel/gitolite: Unable to add ecdsa-sk or ed25519-sk keys Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: nate1010smith+freebsd@gmail.com Flags: maintainer-feedback?(mat@FreeBSD.org) Assignee: mat@FreeBSD.org The FreeBSD port of Gitolite currently does not work with SSH keys of type ecdsa-sk and ed25519-sk. The root cause appears to be a regex added by "patch-src_triggers_post-compile_ssh-authkeys" which is applied to "src/triggers/post-compile/ssh-authkeys". The regex contains "^(ecdsa|ssh)-" which excludes the "sk-ecdsa" and "sk-ssh-ed25519" prefixes. That exclusion causes the space between the opti= ons and the key to be omitted which then causes authentication to fail for those keys. A possible solution would be to use "^(sk-)?(ecdsa|ssh)-" but that will sti= ll break when other key types are added. I'm not sure if there's a way to implement a more robust fix without fully parsing the SSH key file format. --=20 You are receiving this mail because: You are the assignee for the bug.=