FreeBSD Bugzilla – Attachment 245206 Details for
Bug 274024
Enable ecdsa-sk and ed25519-sk SSH keys for git@gitrepo.freebsd.org
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to devel/gitolite port
patch-src_triggers_post-compile_ssh-authkeys2 (text/plain), 852 bytes, created by
Philip Paeps
on 2023-09-25 05:49:11 UTC
(
hide
)
Description:
Proposed patch to devel/gitolite port
Filename:
MIME Type:
Creator:
Philip Paeps
Created:
2023-09-25 05:49:11 UTC
Size:
852 bytes
patch
obsolete
>From f4d8704d0a11d6e8aca210ead3e3c53316143499 Mon Sep 17 00:00:00 2001 >From: Philip Paeps <philip@trouble.is> >Date: Mon, 25 Sep 2023 11:58:07 +0800 >Subject: [PATCH] Update the regular expression distinguishing bare keys from > keys with options to support the sk-ssh-*-style keys supported by more recent > versions of OpenSSH. > > >diff --git a/src/triggers/post-compile/ssh-authkeys b/src/triggers/post-compile/ssh-authkeys >index 6325373..c4cb39b 100755 >--- src/triggers/post-compile/ssh-authkeys >+++ src/triggers/post-compile/ssh-authkeys >@@ -138,6 +138,6 @@ sub optionise { > } > chomp(@line); > return "command=\"$glshell $user" . ( $kfn ? " $f" : "" ) . "\",$auth_options" . >- ($line[0] =~ /^(ecdsa|ssh)-/ ? " " : "," ) . $line[0]; >+ ($line[0] =~ /^(ecdsa|(sk-)?ssh)-/ ? " " : "," ) . $line[0]; > } > >-- >2.39.3 (Apple Git-145) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274024
:
245206
|
245214