Compare commits

...
Sign in to create a new pull request.

21 commits

Author SHA1 Message Date
Fedora Release Engineering
4a9f6eefa6 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 06:30:08 +00:00
Python Maint
7641460f6e Rebuilt for Python 3.15 2026-06-05 00:35:10 +02:00
e0590322eb update to 0.4.14 2026-02-19 21:19:04 +01:00
50d4c6fcf0 update to 0.4.12 2026-01-25 21:03:50 +01:00
Fedora Release Engineering
d90a9f8410 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 18:00:01 +00:00
637b71fd86 update to 0.4.11 2025-12-06 11:09:45 +01:00
64908d5e48 update to 0.4.10 2025-11-20 15:36:02 +01:00
4359800bf9 ability to use python3-file-magic instead of python3-magic 2025-11-16 11:30:50 +01:00
b6855b0f74 update to 0.4.9 2025-11-16 11:20:30 +01:00
21893c2b27 update to 0.4.8 2025-11-05 08:01:49 +01:00
b4066b5cb9 update to 0.4.7 2025-10-10 16:11:33 +02:00
Python Maint
eed1187991 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:56:18 +02:00
Python Maint
41bf542223 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:17:44 +02:00
Fedora Release Engineering
8bebdba37d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:15:10 +00:00
Python Maint
d9ddb04d51 Rebuilt for Python 3.14 2025-06-04 01:04:56 +02:00
Fedora Release Engineering
bed4b54ae4 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 10:37:09 +00:00
11c09b3db1 update to 0.2.12 2024-12-28 21:57:25 +01:00
29ae019a3e update to 0.2.11 2024-12-20 10:25:02 +01:00
16885b3a0e update to 0.2.9 2024-11-24 12:52:04 +01:00
717abf85b0 add missing dependency on "cryptography" 2024-08-09 10:27:36 +02:00
1546ea96bf import initial package 2024-08-09 10:23:39 +02:00
4 changed files with 132 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/showcert-0.*.tar.gz

View file

@ -0,0 +1,12 @@
diff --git a/pyproject.toml b/pyproject.toml
index 0777d9a..44d5b94 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,7 +19,6 @@ dependencies = [
'pyopenssl >= 24.0.0',
'pem >= 23.1.0',
'certifi >= 2018.10.15',
- 'python-magic'
]
authors = [
{ name="Yaroslav Polyakov", email="yaroslaff@gmail.com" },

118
showcert.spec Normal file
View file

@ -0,0 +1,118 @@
Name: showcert
Version: 0.4.14
Release: 3%{?dist}
Summary: inspect TLS certificates presented by remote servers
License: MIT
URL: https://github.com/yaroslaff/showcert
Source: %{pypi_source showcert}
Patch1: showcert-remove-dependency-on-python-magic.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: (python3dist(magic) or python3dist(file-magic))
Requires: (python3dist(magic) or python3dist(file-magic))
%description
Simple OpenSSL for humans: all you need for X.509 TLS certificates (and
nothing more).
showcert consist of two CLI utilities: showcert itself - all 'read' operations
with X.509 certificates and gencert - to create certificates for development
purposes.
%prep
%autosetup -p1 -n showcert-%{version}
%py3_shebang_fix showcert/cli/*.py
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l showcert
%check
# upstream tests run against a couple of well-known sites, no tests
# for code so just try to run some superficial smoke tests:
%pyproject_check_import
export PATH=%{buildroot}%{_bindir}
export PYTHONPATH=%{buildroot}%{python3_sitelib}
showcert --help
gencert --help
%files -f %{pyproject_files}
%doc README.md
%{_bindir}/showcert
%{_bindir}/gencert
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 0.4.14-2
- Rebuilt for Python 3.15
* Thu Feb 19 2026 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.14-1
- update to 0.4.14
* Sun Jan 25 2026 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.12-1
- update to 0.4.12
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sat Dec 06 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.11-1
- update to 0.4.11
* Thu Nov 20 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.10-1
- update to 0.4.10
* Sun Nov 16 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.9-1
- update to 0.4.9
- ability to use python3-file-magic instead of python3-magic
* Wed Nov 05 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.8-1
- update to 0.4.8
* Fri Oct 10 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 0.4.7-1
- update to 0.4.7
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.2.12-6
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.2.12-5
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.2.12-3
- Rebuilt for Python 3.14
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Dec 28 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.12-1
- update to 0.2.12
* Fri Dec 20 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.11-1
- update to 0.2.11
* Sun Nov 24 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.9-1
- update to 0.2.9
* Thu Aug 08 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.3-1
- initial package

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (showcert-0.4.14.tar.gz) = 47fd2b016643de31077d424aef3f17a1ee074e44d18ea85cf94353482080d908ff9323564de3b4fc175024b98560fb78202654c488afc41a58e65f878ef20d09