mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
Revert "openssh: Add FIDO2 hardware token support"
This reverts commit 855db864b0.
The reverted commit doesn't make sense since the component
(ssh-sk-helper) that uses libfido2, which is mentioned in
the commit message, isn't packaged.
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
This commit is contained in:
committed by
Tianling Shen
parent
daa3161704
commit
0a3ef8cbf4
@@ -1,12 +0,0 @@
|
|||||||
if PACKAGE_openssh-server
|
|
||||||
|
|
||||||
config OPENSSH_LIBFIDO2
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
prompt "Include libfido2 support in openssh-server"
|
|
||||||
help
|
|
||||||
OpenSSH version 8.2 added two new ssh authentication methods,
|
|
||||||
namely `ecdsa_sk` and `ed25519_sk`. These two methods make use
|
|
||||||
of hardware keys that implement the FIDO and FIDO2 protocols.
|
|
||||||
In order to use these two types, libfido2 is required.
|
|
||||||
endif
|
|
||||||
@@ -25,10 +25,6 @@ PKG_CPE_ID:=cpe:/a:openssh:openssh
|
|||||||
#While bumping new version, make sure that it works without it, so it can be removed.
|
#While bumping new version, make sure that it works without it, so it can be removed.
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_REMOVE_FILES:=
|
PKG_REMOVE_FILES:=
|
||||||
PKG_CONFIG_DEPENDS := \
|
|
||||||
CONFIG_OPENSSH_LIBFIDO2
|
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS += OPENSSH_LIBFIDO2:libfido2
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@@ -92,16 +88,12 @@ endef
|
|||||||
|
|
||||||
define Package/openssh-server
|
define Package/openssh-server
|
||||||
$(call Package/openssh/Default)
|
$(call Package/openssh/Default)
|
||||||
DEPENDS+= +libopenssl +zlib +openssh-keygen +OPENSSH_LIBFIDO2:libfido2
|
DEPENDS+= +libopenssl +zlib +openssh-keygen
|
||||||
TITLE+= server
|
TITLE+= server
|
||||||
USERID:=sshd=22:sshd=22
|
USERID:=sshd=22:sshd=22
|
||||||
VARIANT:=without-pam
|
VARIANT:=without-pam
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/openssh-server/config
|
|
||||||
source "$(SOURCE)/Config.in"
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/openssh-server/description
|
define Package/openssh-server/description
|
||||||
OpenSSH server.
|
OpenSSH server.
|
||||||
endef
|
endef
|
||||||
@@ -182,7 +174,6 @@ CONFIGURE_ARGS += \
|
|||||||
--without-kerberos5 \
|
--without-kerberos5 \
|
||||||
--with-stackprotect \
|
--with-stackprotect \
|
||||||
--with$(if $(CONFIG_OPENSSL_ENGINE),,out)-ssl-engine \
|
--with$(if $(CONFIG_OPENSSL_ENGINE),,out)-ssl-engine \
|
||||||
--with$(if $(CONFIG_OPENSSH_LIBFIDO2),,out)-security-key-builtin \
|
|
||||||
--with-cflags-after=-fzero-call-used-regs=skip
|
--with-cflags-after=-fzero-call-used-regs=skip
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),with-pam)
|
ifeq ($(BUILD_VARIANT),with-pam)
|
||||||
|
|||||||
Reference in New Issue
Block a user