commit 15204dd0b2a1a88939c37aa100ea88ee1ab748c8e7dd4cc9023bdcc25cb2f5bb Author: Markéta Machová Date: Mon Feb 3 08:25:31 2025 +0000 Update to 2.5.1 * Fix test_verify_attestation_android_key_hardware_authority OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webauthn?expand=0&rev=11 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-webauthn.changes b/python-webauthn.changes new file mode 100644 index 0000000..02273df --- /dev/null +++ b/python-webauthn.changes @@ -0,0 +1,52 @@ +------------------------------------------------------------------- +Sun Feb 2 06:36:35 UTC 2025 - Bernhard Wiedemann + +- Update to 2.5.1 + * Fix test_verify_attestation_android_key_hardware_authority + +------------------------------------------------------------------- +Mon Jan 20 10:52:18 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.5.0 + * A new `require_user_presence` argument has been added to `verify_registration_response()` + to enable verification of WebAuthn responses generated through use of conditional create + where the `up` bit in `authData.flags` will be `False` (#236) + * `verify_authentication_response()` has been updated to return `user_verified` as well to + indicate whether or not the user performed user verification (#235) + * Verification of `"android-key"` attestation statements has been modernized in light of + Android's latest observable behavior (#240) + * Verification of `"android-safetynet"` attestation statements now enforces the `"basicIntegrity"` + flag instead of the `"ctsProfileMatch"` flag when determining device integrity (#241) + * The list of known TPM manufacturers has been updated (#242) + +------------------------------------------------------------------- +Tue Jan 7 09:34:40 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.4.0 + * An optional `hints` argument has been added to `generate_registration_options()` + to specify one or more categories of authenticators for the browser to prioritize + registration of. See `webauthn.helpers.structs.PublicKeyCredentialHint` for more + information (#234) + +------------------------------------------------------------------- +Sat Nov 23 16:39:23 UTC 2024 - Dirk Müller + +- update to 2.3.0: + * The minimum supported version of Python has been bumped up to + Python 3.9, with ongoing testing from Python 3.9 through + Python 3.13. Dependencies have been updated as well, + including upgrading to `cryptography==43.0.3` + +------------------------------------------------------------------- +Sat Jun 29 07:01:01 UTC 2024 - Dirk Müller + +- update to 2.2.0: + * All exceptions in `webauthn.helpers.exceptions` now subclass + the new `webauthn.helpers.exceptions.WebAuthnException` base + exception + * Support has been added for the new `"smart-card"` transport + +------------------------------------------------------------------- +Fri May 31 12:02:21 UTC 2024 - Antonio Larrosa + +- Initial release of python-webauthn 2.1.0 diff --git a/python-webauthn.spec b/python-webauthn.spec new file mode 100644 index 0000000..11644ac --- /dev/null +++ b/python-webauthn.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-webauthn +# +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-webauthn +Version: 2.5.1 +Release: 0 +Summary: Pythonic WebAuthn +License: BSD-3-Clause +URL: https://github.com/duo-labs/py_webauthn +Source: https://files.pythonhosted.org/packages/source/w/webauthn/webauthn-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module asn1crypto >= 1.4.0} +BuildRequires: %{python_module cbor2 >= 5.4.6} +BuildRequires: %{python_module cryptography >= 43.0.3} +BuildRequires: %{python_module pyOpenSSL >= 23.3.0} +BuildRequires: %{python_module pytest} +# /SECTION +BuildRequires: fdupes +Requires: python-asn1crypto >= 1.4.0 +Requires: python-cbor2 >= 5.4.6 +Requires: python-cryptography >= 43.0.3 +Requires: python-pyOpenSSL >= 23.3.0 +BuildArch: noarch +%python_subpackages + +%description +Pythonic WebAuthn + +%prep +%autosetup -p1 -n webauthn-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/webauthn +%{python_sitelib}/webauthn-%{version}.dist-info + +%changelog diff --git a/webauthn-2.1.0.tar.gz b/webauthn-2.1.0.tar.gz new file mode 100644 index 0000000..a3df8cc --- /dev/null +++ b/webauthn-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b196a4246c2818820857ba195c6e6e5398c761117f2269e3d2deab11c7995fc4 +size 114014 diff --git a/webauthn-2.2.0.tar.gz b/webauthn-2.2.0.tar.gz new file mode 100644 index 0000000..a9221af --- /dev/null +++ b/webauthn-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e4f318d293125e3a8609838be0561119f4f8846bc430d524f8da4052ee18cc +size 113978 diff --git a/webauthn-2.3.0.tar.gz b/webauthn-2.3.0.tar.gz new file mode 100644 index 0000000..133d3fe --- /dev/null +++ b/webauthn-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79fca835027d3b39290bfd175d09ca7a2bd6e12163790feb6d9c0b746e4c2ede +size 113964 diff --git a/webauthn-2.4.0.tar.gz b/webauthn-2.4.0.tar.gz new file mode 100644 index 0000000..68b9a9c --- /dev/null +++ b/webauthn-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bb4f95c5d2377f9e1abd156ca5a23cbb5def69ef1ed60a7ab70028cc68b741e +size 114842 diff --git a/webauthn-2.5.0.tar.gz b/webauthn-2.5.0.tar.gz new file mode 100644 index 0000000..e03c97b --- /dev/null +++ b/webauthn-2.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b3d2e2a5636686829f528227865e19582700d6c107ef0a1256ef150b5bd4599 +size 122670 diff --git a/webauthn-2.5.1.tar.gz b/webauthn-2.5.1.tar.gz new file mode 100644 index 0000000..6d4b85b --- /dev/null +++ b/webauthn-2.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1b7447bae1056e110a9e71ff287f639d05d4d14589911d75fea255c3a03aff0 +size 122656