From owner-freebsd-questions@freebsd.org Wed Jun 3 15:20:10 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2159339936 for ; Wed, 3 Jun 2020 15:20:10 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49cXf16wQzz4c0k for ; Wed, 3 Jun 2020 15:20:09 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1jgVBW-001FqJ-Gt; Wed, 03 Jun 2020 17:20:06 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id 053FJ1Cw092717 for ; Wed, 3 Jun 2020 17:19:01 +0200 (CEST) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id 053FJ1HW092716 for freebsd-questions@freebsd.org; Wed, 3 Jun 2020 17:19:01 +0200 (CEST) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Re: FIDO authentication Date: Wed, 3 Jun 2020 15:19:01 -0000 (UTC) Message-ID: References: <24270.62418.992039.257025@jerusalem.litteratus.org> User-Agent: slrn/1.0.3 (FreeBSD) X-Rspamd-Queue-Id: 49cXf16wQzz4c0k X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of news@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=news@mips.inka.de X-Spamd-Result: default: False [3.05 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.05)[0.053]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[inka.de]; NEURAL_SPAM_MEDIUM(0.88)[0.877]; NEURAL_SPAM_LONG(0.92)[0.921]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[naddy@mips.inka.de,news@mips.inka.de]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[naddy@mips.inka.de,news@mips.inka.de] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2020 15:20:10 -0000 On 2020-05-27, Robert Huff wrote: > Various sites are reporting the FIDO Alliance > ("https://www.fidoalliance.org") has announced a major common > authentication initiative support by (/inter alia/) Google, Microsoft, > and Apple. > I'm assuming this requires some level of OS support; is anyone in > the FreeBSD community aware of/interested in this? I depends on where you want to make use of this type of authentication. At the application level, you only need access to uhid(4) devices. You can install the security/u2f-devd port and add the user to group u2f. That is enough to use basic U2F (FIDO1) support in Firefox. uhid1 on uhub0 uhid1: on usbus0 Works fine for me at https://demo.yubico.com/ OpenSSH 8.2 has added support for U2F/FIDO hardware authenticators: https://www.openssh.com/txt/release-8.2 I haven't checked to what degree the security/openssh-portable port supports this. -- Christian "naddy" Weisgerber naddy@mips.inka.de