4 Commits

Author SHA256 Message Date
a937adcafd Accepting request 1308694 from devel:libraries:c_c++
- Update to 1.1.3
- Include cstdint import for jwt library to support newer compilers
- Turn off CMAKE unity builds
- Add a mutex around requesting public keys to stop overloading issuers
- Improve error handling around the sqlite3 library
- Fix test failures and compiler warnings
- Allow the scitokens library user to setup a custom CA file
- Fix typecast errors in scitoken_status_get_*() that caused async queries to fail
- Fix logic error in deserialize_continue() that caused async deserialization to fail
- Add support for API-configurable cache home
- Fix enforcer_acl_free logic
- scitokens_internal: catch matching exception type after jwt-cpp update
- Fix bug in generate acls which would cause a timeout
- Add async API for parsing and verifying tokens
- Add configuration API
- Make nbf claim optional for non-scitokens tokens
- Update to OpenSSL 3.0
- Retry failed key renewal every 5 minutes
- Add curl timeout of 4 seconds for update, and 30 for expired keys
- Add scitokens-* binaries to the package
- Bug: close sqlite db handle on return
- Changes from static analysis
- If only one key is available, do not error on no kid
- Support at+jwt profile (forwarded request 1308693 from mslacken)

OBS-URL: https://build.opensuse.org/request/show/1308694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scitokens-cpp?expand=0&rev=4
2025-10-03 13:43:47 +00:00
97ec41a9f7 - Update to 1.1.3
- Include cstdint import for jwt library to support newer compilers
- Turn off CMAKE unity builds
- Add a mutex around requesting public keys to stop overloading issuers
- Improve error handling around the sqlite3 library
- Fix test failures and compiler warnings
- Allow the scitokens library user to setup a custom CA file
- Fix typecast errors in scitoken_status_get_*() that caused async queries to fail
- Fix logic error in deserialize_continue() that caused async deserialization to fail
- Add support for API-configurable cache home
- Fix enforcer_acl_free logic
- scitokens_internal: catch matching exception type after jwt-cpp update
- Fix bug in generate acls which would cause a timeout
- Add async API for parsing and verifying tokens
- Add configuration API
- Make nbf claim optional for non-scitokens tokens
- Update to OpenSSL 3.0
- Retry failed key renewal every 5 minutes
- Add curl timeout of 4 seconds for update, and 30 for expired keys
- Add scitokens-* binaries to the package
- Bug: close sqlite db handle on return
- Changes from static analysis
- If only one key is available, do not error on no kid
- Support at+jwt profile

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/scitokens-cpp?expand=0&rev=8
2025-10-02 18:14:27 +00:00
e5a1349c72 Accepting request 1256198 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1256198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scitokens-cpp?expand=0&rev=3
2025-03-26 20:22:33 +00:00
028c29200c - Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section
- Remove Group: declarations, no longer used

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/scitokens-cpp?expand=0&rev=6
2025-03-26 12:26:27 +00:00
4 changed files with 52 additions and 8 deletions

View File

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

View File

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

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Oct 02 18:00:00 UTC 2025 - osc-mcp <cgoll@suse.com>
- Update to 1.1.3
- Include cstdint import for jwt library to support newer compilers
- Turn off CMAKE unity builds
- Add a mutex around requesting public keys to stop overloading issuers
- Improve error handling around the sqlite3 library
- Fix test failures and compiler warnings
- Allow the scitokens library user to setup a custom CA file
- Fix typecast errors in scitoken_status_get_*() that caused async queries to fail
- Fix logic error in deserialize_continue() that caused async deserialization to fail
- Add support for API-configurable cache home
- Fix enforcer_acl_free logic
- scitokens_internal: catch matching exception type after jwt-cpp update
- Fix bug in generate acls which would cause a timeout
- Add async API for parsing and verifying tokens
- Add configuration API
- Make nbf claim optional for non-scitokens tokens
- Update to OpenSSL 3.0
- Retry failed key renewal every 5 minutes
- Add curl timeout of 4 seconds for update, and 30 for expired keys
- Add scitokens-* binaries to the package
- Bug: close sqlite db handle on return
- Changes from static analysis
- If only one key is available, do not error on no kid
- Support at+jwt profile
-------------------------------------------------------------------
Sat Mar 22 16:07:27 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section
- Remove Group: declarations, no longer used
-------------------------------------------------------------------
Wed Apr 12 09:34:32 UTC 2023 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package scitokens-cpp
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -17,14 +17,13 @@
Name: scitokens-cpp
Version: 0.6.3
Version: 1.1.3
Release: 0
Summary: C++ Implementation of the SciTokens Library
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/scitokens/scitokens-cpp
Source0: https://github.com/scitokens/scitokens-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: cmake >= 3.5
BuildRequires: gcc-c++
BuildRequires: libcurl-devel
BuildRequires: libuuid-devel
@@ -65,12 +64,15 @@ want to delegate trust for an issuer for managing a storage allocation.
%build
export CFLAGS="%optflags -Wno-error=deprecated-declarations"
%{cmake}
%{cmake} -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%{cmake_build}
%install
%{cmake_install}
%check
%ctest
%post -n libSciTokens0 -p /sbin/ldconfig
%postun -n libSciTokens0 -p /sbin/ldconfig
@@ -85,4 +87,11 @@ export CFLAGS="%optflags -Wno-error=deprecated-declarations"
%{_includedir}/scitokens/scitokens.h
%dir %{_includedir}/scitokens
%files
%{_bindir}/scitokens-create
%{_bindir}/scitokens-list-access
%{_bindir}/scitokens-test
%{_bindir}/scitokens-test-access
%{_bindir}/scitokens-verify
%changelog