forked from pool/python-python-yubico
Accepting request 701337 from home:pgajdos
rename python-yubico -> python-python-yubico OBS-URL: https://build.opensuse.org/request/show/701337 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-yubico?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
43
python-python-yubico.changes
Normal file
43
python-python-yubico.changes
Normal file
@@ -0,0 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 13:31:02 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- package renamed to python-python-yubico
|
||||
- turn on testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 28 13:00:33 UTC 2019 - Karol Babioch <kbabioch@suse.de>
|
||||
|
||||
- Version 1.3.3 (released 2019-02-28)
|
||||
- Fixes in Python 3 compatibility.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:56:22 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 07:35:02 UTC 2017 - t.gruner@katodev.de
|
||||
|
||||
- add multi-python support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 11:48:24 UTC 2016 - michael@stroeder.com
|
||||
|
||||
- update to 1.3.2
|
||||
* yubico/yubikey_usb_hid.py: change logic for pgm seq if no
|
||||
config is valid, seq 0 is ok
|
||||
* yubico/yubikey_usb_hid.py: that the new sequence is 0 is also ok
|
||||
* yubico/yubikey_frame.py: Added comments explaining debug data.
|
||||
* Solved: Unlock code couldn't be set
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 3 09:26:46 UTC 2015 - t.gruner@katodev.de
|
||||
|
||||
- Replaced this source code with Yubico's source code (version 1.3.1)
|
||||
The developer of the old package has changed the name to python-yubico-client
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 1 08:24:32 UTC 2015 - hguo@suse.com
|
||||
|
||||
- New package.
|
||||
|
74
python-python-yubico.spec
Normal file
74
python-python-yubico.spec
Normal file
@@ -0,0 +1,74 @@
|
||||
#
|
||||
# spec file for package python-yubico
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-yubico
|
||||
# there are three repos:
|
||||
# https://pypi.org/project/python-yubico/ (1.3.3)
|
||||
# https://pypi.org/project/yubico/ (1.6.2) IIUC for protocol version 2.0
|
||||
# https://pypi.org/project/yubico-client/ (1.10.0) for 2.0, too, just renamed
|
||||
Version: 1.3.3
|
||||
Release: 0
|
||||
Summary: Python code for talking to Yubico's YubiKeys
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://developers.yubico.com/python-yubico/Releases/
|
||||
Source: https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz
|
||||
Source1: https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz.sig
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module usb}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-usb
|
||||
BuildArch: noarch
|
||||
Provides: python-yubico = %{version}
|
||||
Obsoletes: python-yubico < %{version}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The YubiKey is a hardware token for authentication. The main mode of the YubiKey
|
||||
is entering a one time password (or a strong static password) by acting as a USB HID device,
|
||||
but there are things one can do with bi-directional communication:
|
||||
|
||||
1. Configuration. The yubikey_config class should be a feature-wise complete implementation
|
||||
of everything that can be configured on YubiKeys version 1.3 to 3.x (besides deprecated
|
||||
functions in YubiKey 1.x). See examples/configure_nist_test_key for an example.
|
||||
2. Challenge-response. YubiKey 2.2 and later supports HMAC-SHA1 or Yubico challenge-response
|
||||
operations. See examples/nist_challenge_response for an example.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-yubico-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# needs the hardware
|
||||
rm -r test/usb
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc README ChangeLog NEWS
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
3
python-yubico-1.3.3.tar.gz
Normal file
3
python-yubico-1.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8466427aa5922ac5d4b7e9c65b693108427cf537d653d68cb212c0713e8e6f5
|
||||
size 41154
|
BIN
python-yubico-1.3.3.tar.gz.sig
Normal file
BIN
python-yubico-1.3.3.tar.gz.sig
Normal file
Binary file not shown.
Reference in New Issue
Block a user