6 Commits

Author SHA256 Message Date
2134a69457 Accepting request 1329247 from devel:languages:python
- update to 0.7.0:
  * Add privacy-preserving by-hash keyring lookup. When standard
    key lookup fails, patatt now falls back to looking up keys at
    a SHA256 hash-based path (by-hash/XX/YYY...), avoiding
    exposure of email addresses in directory structures.
  * Add comprehensive Sphinx documentation for ReadTheDocs
    hosting at https://patatt.docs.kernel.org
  * Add PEP 561 compliance with py.typed marker for better IDE
    and type checker support.
  * Add docstrings to all public classes and functions for
    improved IDE integration.
  * Convert path handling to use pathlib.Path for cleaner code
    and better cross-platform compatibility.
  * Refactor codebase to pass mypy --strict type checking.
  * Add pytest test framework with unit tests.
  * Use walrus operator for cleaner assign-and-check patterns.
  * Improve SSH signing failure messages for better debugging.
  * Hook now refuses to run on cover letter templates.
  * Fix validation for OpenPGP signatures without embedded public
    key data.
  * Fix compatibility with Python versions before 3.12 (avoid
    @deprecated decorator).
  * Fix subprocess file descriptor leak.
  * Avoid spuriously reading git config in certain conditions.
  * Fix non-writable GNUPGHOME handling.
  * Fix header line splitting at 75 characters instead of 78.
  * Fix header line splitting at 75 characters instead of 78.
  * Better fix for non-writable GNUPGHOME handling.
  * Use NamedTemporaryFile for GPG keyring creation to fix issues
    with non-writable GNUPGHOME.

OBS-URL: https://build.opensuse.org/request/show/1329247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-patatt?expand=0&rev=11
2026-01-26 11:34:43 +00:00
d734de7826 - update to 0.7.0:
* Add privacy-preserving by-hash keyring lookup. When standard
    key lookup fails, patatt now falls back to looking up keys at
    a SHA256 hash-based path (by-hash/XX/YYY...), avoiding
    exposure of email addresses in directory structures.
  * Add comprehensive Sphinx documentation for ReadTheDocs
    hosting at https://patatt.docs.kernel.org
  * Add PEP 561 compliance with py.typed marker for better IDE
    and type checker support.
  * Add docstrings to all public classes and functions for
    improved IDE integration.
  * Convert path handling to use pathlib.Path for cleaner code
    and better cross-platform compatibility.
  * Refactor codebase to pass mypy --strict type checking.
  * Add pytest test framework with unit tests.
  * Use walrus operator for cleaner assign-and-check patterns.
  * Improve SSH signing failure messages for better debugging.
  * Hook now refuses to run on cover letter templates.
  * Fix validation for OpenPGP signatures without embedded public
    key data.
  * Fix compatibility with Python versions before 3.12 (avoid
    @deprecated decorator).
  * Fix subprocess file descriptor leak.
  * Avoid spuriously reading git config in certain conditions.
  * Fix non-writable GNUPGHOME handling.
  * Fix header line splitting at 75 characters instead of 78.
  * Fix header line splitting at 75 characters instead of 78.
  * Better fix for non-writable GNUPGHOME handling.
  * Use NamedTemporaryFile for GPG keyring creation to fix issues
    with non-writable GNUPGHOME.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patatt?expand=0&rev=22
2026-01-26 09:07:38 +00:00
cea3a4fc66 Accepting request 1284219 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1284219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-patatt?expand=0&rev=10
2025-06-10 07:08:11 +00:00
1446d7347c - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patatt?expand=0&rev=20
2025-06-09 14:26:56 +00:00
f6fa35731c Accepting request 1282204 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-patatt?expand=0&rev=9
2025-06-03 15:54:57 +00:00
65d08c4f1d - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patatt?expand=0&rev=18
2025-06-03 09:03:42 +00:00
6 changed files with 72 additions and 25 deletions

View File

@@ -1,10 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Comment: This signature is for the .tar version of the archive
Comment: git archive --format tar --prefix=patatt-0.6.3/ v0.6.3
Comment: git version 2.39.1
iHUEABYKAB0WIQR2vl2yUnHhSB5njDW2xBzjVmSZbAUCY9GLxAAKCRC2xBzjVmSZ
bIRtAQDaT3/CQryfH9O6/akwhiYZNZiuAHzTpjRiVSKzN15QUAD9FxXTTmXXz0ti
lkI93vk9bGw6MRJlkVzyc5ExWTH9owM=
=ZjaI
-----END PGP SIGNATURE-----

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7cc136273541d659fa8f5a67e217ca5ad5685d7a180020f02e7e12029dcfd12
size 107270

10
patatt-0.7.0.tar.asc Normal file
View File

@@ -0,0 +1,10 @@
-----BEGIN PGP SIGNATURE-----
Comment: This signature is for the .tar version of the archive
Comment: git archive --format tar --prefix=patatt-0.7.0/ v0.7.0
Comment: git version 2.52.0
iHUEABYKAB0WIQR2vl2yUnHhSB5njDW2xBzjVmSZbAUCaVgpdgAKCRC2xBzjVmSZ
bJkqAP92Yx9wIg+961FVy1UlYA5yvjYhEajmA99JiCXqnI9RFwEA+IzbHLZzLemg
bJzuB0NqSgKa1fUw3e+xLwMqiJm4lgQ=
=rnzq
-----END PGP SIGNATURE-----

3
patatt-0.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c796be2faac7bd693fb69d2e23ba38f961d0a899dcb36d6ddaa824022d63fff
size 124710

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Mon Jan 26 09:07:18 UTC 2026 - Dirk Müller <dmueller@suse.com>
- update to 0.7.0:
* Add privacy-preserving by-hash keyring lookup. When standard
key lookup fails, patatt now falls back to looking up keys at
a SHA256 hash-based path (by-hash/XX/YYY...), avoiding
exposure of email addresses in directory structures.
* Add comprehensive Sphinx documentation for ReadTheDocs
hosting at https://patatt.docs.kernel.org
* Add PEP 561 compliance with py.typed marker for better IDE
and type checker support.
* Add docstrings to all public classes and functions for
improved IDE integration.
* Convert path handling to use pathlib.Path for cleaner code
and better cross-platform compatibility.
* Refactor codebase to pass mypy --strict type checking.
* Add pytest test framework with unit tests.
* Use walrus operator for cleaner assign-and-check patterns.
* Improve SSH signing failure messages for better debugging.
* Hook now refuses to run on cover letter templates.
* Fix validation for OpenPGP signatures without embedded public
key data.
* Fix compatibility with Python versions before 3.12 (avoid
@deprecated decorator).
* Fix subprocess file descriptor leak.
* Avoid spuriously reading git config in certain conditions.
* Fix non-writable GNUPGHOME handling.
* Fix header line splitting at 75 characters instead of 78.
* Fix header line splitting at 75 characters instead of 78.
* Better fix for non-writable GNUPGHOME handling.
* Use NamedTemporaryFile for GPG keyring creation to fix issues
with non-writable GNUPGHOME.
* Initial stable release with support for ed25519, OpenPGP, and
OpenSSH signature algorithms.
-------------------------------------------------------------------
Mon Jun 9 14:26:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue Jun 3 09:03:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Jul 27 07:34:09 UTC 2023 - Jiri Slaby <jslaby@suse.cz>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-patatt
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,10 @@
#
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-patatt
Version: 0.6.3
Version: 0.7.0
Release: 0
Summary: Cryptographic patch attestation for the masses
License: MIT-0
@@ -26,15 +27,17 @@ URL: https://git.kernel.org/pub/scm/utils/patatt/patatt.git/
Source0: https://git.kernel.org/pub/scm/utils/patatt/patatt.git/snapshot/patatt-%{version}.tar.gz
Source1: https://git.kernel.org/pub/scm/utils/patatt/patatt.git/snapshot/patatt-%{version}.tar.asc
Source2: python-patatt.keyring
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: python-rpm-macros
Requires: alts
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyNaCl}
BuildRequires: git-core
# /SECTION
Requires(post): update-alternatives
Requires(postun):update-alternatives
%python_subpackages
%description
@@ -49,10 +52,10 @@ need this and should simply start signing your tags and commits.
%autosetup -n patatt-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/patatt
%python_clone -a %{buildroot}%{_mandir}/man5/patatt.5
@@ -60,17 +63,15 @@ need this and should simply start signing your tags and commits.
# try at least a simple runtime test
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" %{buildroot}%{_bindir}/patatt-%{$python_bin_suffix} --version | grep -q %{version}
%post
%{python_install_alternative patatt patatt.5}
%postun
%python_uninstall_alternative patatt
%pre
%python_libalternatives_reset_alternative patatt
%files %{python_files}
%doc README.rst
%license COPYING
%python_alternative %{_bindir}/patatt
%python_alternative %{_mandir}/man5/patatt.5%{?ext_man}
%{python_sitelib}/*
%{python_sitelib}/patatt
%{python_sitelib}/patatt-%{version}*-info
%changelog