Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] openssh: update ChallengeResponseAuthentication setting.
@ 2022-01-13 20:33 CMB
  2022-01-13 22:13 ` [PR PATCH] [Closed]: " CMB
  0 siblings, 1 reply; 2+ messages in thread
From: CMB @ 2022-01-13 20:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

There is a new pull request by CMB against master on the void-packages repository

https://github.com/CMB/void-packages openssh-auth
https://github.com/void-linux/void-packages/pull/35039

openssh: update ChallengeResponseAuthentication setting.
They renamed it to KbdInteractiveAuthentication, so the sed line
to modify sshd_config is broken.


A patch file from https://github.com/void-linux/void-packages/pull/35039.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openssh-auth-35039.patch --]
[-- Type: text/x-diff, Size: 1186 bytes --]

From 03705ad71cdff1182d68c565766ba48943e8d1b4 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Thu, 13 Jan 2022 12:17:29 -0800
Subject: [PATCH] openssh: update ChallengeResponseAuthentication setting.

They renamed it to KbdInteractiveAuthentication, so the sed line
to modify sshd_config is broken.
---
 srcpkgs/openssh/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/openssh/template b/srcpkgs/openssh/template
index 5b1f4606637c..b8dea41ec5a5 100644
--- a/srcpkgs/openssh/template
+++ b/srcpkgs/openssh/template
@@ -1,7 +1,7 @@
 # Template file for 'openssh'
 pkgname=openssh
 version=8.8p1
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--datadir=/usr/share/openssh
  --sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
@@ -66,7 +66,7 @@ post_install() {
 	# configure to use PAM
 	vsed -i ${DESTDIR}/etc/ssh/sshd_config \
 		-e 's|^#\(UsePAM\) no|\1 yes|g' \
-		-e 's|^#\(ChallengeResponseAuthentication\) yes|\1 no|g' \
+		-e 's|^#\(KbdInteractiveAuthentication\) yes|\1 no|g' \
 		-e 's|^#\(PrintMotd\) yes|\1 no|g'
 
 	vinstall ${FILESDIR}/sshd.pam 644 etc/pam.d sshd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-13 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 20:33 [PR PATCH] openssh: update ChallengeResponseAuthentication setting CMB
2022-01-13 22:13 ` [PR PATCH] [Closed]: " CMB

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).