File virtual-fido.spec of Package virtual-fido

#
# spec file for package virtual-fido
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           virtual-fido
Version:        0.2.1~beta2+g79.512d8a3
Release:        0
Summary:        Virtual FIDO passkey
License:        MIT
URL:            https://github.com/bulwarkid/virtual-fido
Source:         %name-%version.tar.xz
Source1:        vendor.tar.gz
BuildRequires:  golang-packaging
BuildRequires:  go >= 1.16
%go_nostrip
%go_provides

%description
Virtual FIDO is a virtual USB device that implements the FIDO2/U2F
protocol (like a YubiKey) to support 2FA and WebAuthN.

* Connection possible using both U2F and FIDO2 protocols for both
  normal 2FA and WebAuthN
* Storage of credentials in an encrypted format with a passphrase
* Storage of credential data anywhere (e.g. a local file)

%prep
%autosetup -a1

%build
%goprep github.com/bulwarkid/virtual-fido
%gobuild .

%install
%goinstall

%check
%gotest github.com/bulwarkid/virtual-fido

%files
%license LICENSE

%changelog
openSUSE Build Service is sponsored by