Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sso-mib for openSUSE:Factory checked in at 2026-05-08 16:44:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sso-mib (Old) and /work/SRC/openSUSE:Factory/.sso-mib.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sso-mib" Fri May 8 16:44:37 2026 rev:4 rq:1351469 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sso-mib/sso-mib.changes 2026-04-23 17:14:09.000226203 +0200 +++ /work/SRC/openSUSE:Factory/.sso-mib.new.1966/sso-mib.changes 2026-05-08 16:44:59.816241213 +0200 @@ -1,0 +2,7 @@ +Thu May 7 15:48:15 UTC 2026 - Luca Boccassi <[email protected]> + +- Import version 0.9.0 + This bugfix release fixes building without libjwt and implements + asking for consent if needed when acquiring a token + +------------------------------------------------------------------- Old: ---- sso-mib-0.8.1.tar.gz New: ---- sso-mib-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sso-mib.spec ++++++ --- /var/tmp/diff_new_pack.4A8nsH/_old 2026-05-08 16:45:00.456267876 +0200 +++ /var/tmp/diff_new_pack.4A8nsH/_new 2026-05-08 16:45:00.456267876 +0200 @@ -18,7 +18,7 @@ %global soversion 0 Name: sso-mib -Version: 0.8.1 +Version: 0.9.0 Release: 1%{?dist} Summary: Tools and library for Single-Sign-On with CA for Entra via Himmelblau @@ -95,10 +95,6 @@ %install %meson_install -# Install bash completion for sso-mib-tool -install -Dpm0644 debian/sso-mib-tool.bash-completion \ - %{buildroot}%{_datadir}/bash-completion/completions/sso-mib-tool - %check %meson_test @@ -121,7 +117,6 @@ %files -n sso-mib-tool %license LICENSES/GPL-2.0-only.txt %{_bindir}/sso-mib-tool -%{_datadir}/bash-completion/completions/sso-mib-tool %files -n sso-mib-gch-smtp-o365 %license LICENSES/MIT.txt ++++++ sso-mib-0.8.1.tar.gz -> sso-mib-0.9.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/.github/workflows/build.yml new/sso-mib-0.9.0/.github/workflows/build.yml --- old/sso-mib-0.8.1/.github/workflows/build.yml 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/.github/workflows/build.yml 2026-05-07 16:06:40.000000000 +0200 @@ -24,7 +24,7 @@ runs-on: ubuntu-24.04 steps: - name: checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -41,7 +41,7 @@ runs-on: ubuntu-24.04 steps: - name: checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -67,62 +67,17 @@ cd build && ninja - name: upload API docs - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 id: deployment with: path: build/api/ - package: - strategy: - matrix: - distro: ["debian:bookworm", "debian:trixie", "debian:forky", "ubuntu:noble"] - runs-on: ubuntu-24.04 - container: ${{ matrix.distro }} - permissions: - id-token: write - attestations: write - steps: - - name: checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: install dependencies - run: | - if [[ "${{ matrix.distro }}" == "debian:bookworm" ]]; then - # Add backports repository for Debian bookworm - echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list - echo -e "Package: meson\nPin: release n=bookworm-backports\nPin-Priority: 501" | \ - tee /etc/apt/preferences.d/meson-backports.pref > /dev/null - fi - apt-get update - apt-get install -y --no-install-recommends devscripts equivs meson - mk-build-deps --install -t "apt-get --no-install-recommends -y" - shell: bash - - name: build package - run: | - dpkg-buildpackage -us -uc -b - mkdir linux-amd64-deb && cp ../*.deb linux-amd64-deb - - name: generate package name - run: echo "PN=${{ matrix.distro }}" | sed s/:/-/ >> $GITHUB_ENV - - name: upload package for ${{ matrix.distro }} - uses: actions/upload-artifact@v4 - with: - name: ${{ env.PN }} packages - path: | - linux-amd64-deb/*.deb - - name: attest package artifacts - uses: actions/attest-build-provenance@v1 - if: github.event_name == 'push' - with: - subject-path: | - linux-amd64-deb/*.deb - - build-with-libjwt3: + build-with-libjwt-variants: runs-on: ubuntu-24.04 container: "debian:trixie" steps: - name: checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: install dependencies @@ -132,6 +87,10 @@ build-essential meson cmake ninja-build curl ca-certificates \ libjansson-dev libssl-dev \ libgio-2.0-dev libjson-glib-dev libdbus-1-dev uuid-dev + - name: build sso-mib-tool without libjwt + run: | + meson -Dlibjwt=disabled build-minimal + ninja -C build-minimal sso-mib-tool - name: build libjwt3 run: | curl -L -q https://github.com/benmcollins/libjwt/releases/download/v${LIBJWT3_VERSION}/libjwt-${LIBJWT3_VERSION}.tar.xz \ @@ -145,7 +104,7 @@ cmake --build build cmake --install build cd $WORKDIR - - name: build sso-mib-tool + - name: build sso-mib-tool with libjwt3 run: | meson -Dlibjwt=enabled build cd build && ninja sso-mib-tool @@ -163,4 +122,4 @@ steps: - name: Deploy API docs id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/REUSE.toml new/sso-mib-0.9.0/REUSE.toml --- old/sso-mib-0.8.1/REUSE.toml 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/REUSE.toml 2026-05-07 16:06:40.000000000 +0200 @@ -4,12 +4,6 @@ SPDX-PackageDownloadLocation = "https://github.com/siemens/sso-mib" [[annotations]] -path = "debian/**" -precedence = "aggregate" -SPDX-FileCopyrightText = "2025 Siemens AG" -SPDX-License-Identifier = "MIT" - -[[annotations]] path = ["README.md", "dbus/spec/com.microsoft.identity.broker1.xml"] precedence = "aggregate" SPDX-FileCopyrightText = "2025 Siemens AG" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/changelog new/sso-mib-0.9.0/debian/changelog --- old/sso-mib-0.8.1/debian/changelog 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/changelog 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ -sso-mib (0.8.1) unstable; urgency=medium - - * Update to 0.8.1 release - - -- Felix Moessbauer <[email protected]> Thu, 23 Apr 2026 12:37:34 +0200 - -sso-mib (0.8.0) unstable; urgency=medium - - * Update to 0.8.0 release - - -- Felix Moessbauer <[email protected]> Tue, 17 Mar 2026 10:45:07 +0100 - -sso-mib (0.7.0) unstable; urgency=medium - - * add git credential helper for SMTP on O365 - * no change in library - - -- Felix Moessbauer <[email protected]> Thu, 06 Nov 2025 15:59:50 +0100 - -sso-mib (0.6.0) unstable; urgency=medium - - * Update to 0.6.0 release - - -- Felix Moessbauer <[email protected]> Tue, 27 May 2025 09:33:54 +0200 - -sso-mib (0.5.0) unstable; urgency=medium - - * Update to 0.5.0 release - - -- Felix Moessbauer <[email protected]> Mon, 19 May 2025 15:41:48 +0200 - -sso-mib (0.4.0) unstable; urgency=medium - - * Update to 0.4.0 release - - -- Felix Moessbauer <[email protected]> Thu, 15 May 2025 09:28:55 +0200 - -sso-mib (0.3.0) unstable; urgency=medium - - * Initial release. - - -- Felix Moessbauer <[email protected]> Mon, 12 May 2025 13:03:41 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/control new/sso-mib-0.9.0/debian/control --- old/sso-mib-0.8.1/debian/control 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/control 1970-01-01 01:00:00.000000000 +0100 @@ -1,54 +0,0 @@ -Source: sso-mib -Section: libs -Priority: optional -Maintainer: Felix Moessbauer <[email protected]> -Rules-Requires-Root: no -Build-Depends: - meson, - debhelper-compat (= 13), - bash-completion, - dh-sequence-bash-completion, - libgio-2.0-dev | libgio3.0-cil-dev, - libjson-glib-dev, - libdbus-1-dev, - uuid-dev, - libjwt-dev, -Standards-Version: 4.6.2 -Homepage: https://code.siemens.com/felix.moessbauer/sso-mib/ -Vcs-Browser: https://code.siemens.com/felix.moessbauer/sso-mib/ -Vcs-Git: https://code.siemens.com/felix.moessbauer/sso-mib.git - -Package: libsso-mib-dev -Section: libdevel -Architecture: any -Multi-Arch: same -Depends: - libsso-mib0 (= ${binary:Version}), - libgio-2.0-dev | libgio3.0-cil-dev, - ${misc:Depends}, -Description: Single-Sign-On using Microsoft Identity Broker (development files) - -Package: libsso-mib0 -Architecture: any -Multi-Arch: same -Depends: - ${shlibs:Depends}, - ${misc:Depends}, -Description: Single-Sign-On using Microsoft Identity Broker (library) - -Package: sso-mib-tool -Architecture: any -Multi-Arch: foreign -Depends: - ${shlibs:Depends}, - ${misc:Depends}, -Description: Single-Sign-On using Microsoft Identity Broker (tool) - -Package: sso-mib-gch-smtp-o365 -Architecture: any -Multi-Arch: foreign -Depends: - ${shlibs:Depends}, - ${misc:Depends}, -Suggests: git -Description: Git credential helper to authenticate SMTP on O365 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/libsso-mib-dev.install new/sso-mib-0.9.0/debian/libsso-mib-dev.install --- old/sso-mib-0.8.1/debian/libsso-mib-dev.install 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/libsso-mib-dev.install 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -usr/include/* -usr/lib/*/lib*.so -usr/lib/*/pkgconfig/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/libsso-mib0.install new/sso-mib-0.9.0/debian/libsso-mib0.install --- old/sso-mib-0.8.1/debian/libsso-mib0.install 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/libsso-mib0.install 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -usr/lib/*/lib*.so.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/libsso-mib0.symbols new/sso-mib-0.9.0/debian/libsso-mib0.symbols --- old/sso-mib-0.8.1/debian/libsso-mib0.symbols 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/libsso-mib0.symbols 1970-01-01 01:00:00.000000000 +0100 @@ -1,40 +0,0 @@ -libsso-mib.so.0 libsso-mib0 #MINVER# - mib_account_get_client_info@Base 0.5.0 - mib_account_get_environment@Base 0.5.0 - mib_account_get_family_name@Base 0.5.0 - mib_account_get_given_name@Base 0.5.0 - mib_account_get_home_account_id@Base 0.5.0 - mib_account_get_local_account_id@Base 0.5.0 - mib_account_get_name@Base 0.5.0 - mib_account_get_password_expiry@Base 0.5.0 - mib_account_get_realm@Base 0.5.0 - mib_account_get_username@Base 0.5.0 - mib_client_app_acquire_prt_sso_cookie@Base 0.5.0 - mib_client_app_acquire_token_interactive@Base 0.5.0 - mib_client_app_acquire_token_silent@Base 0.5.0 - mib_client_app_generate_signed_http_request@Base 0.5.0 - mib_client_app_get_account_by_upn@Base 0.5.0 - mib_client_app_get_accounts@Base 0.5.0 - mib_client_app_get_authority@Base 0.5.0 - mib_client_app_get_broker_redirect_uri@Base 0.5.0 - mib_client_app_get_client_id@Base 0.5.0 - mib_client_app_get_correlation_id@Base 0.5.0 - mib_client_app_get_enforce_interactive@Base 0.5.0 - mib_client_app_get_linux_broker_version@Base 0.5.0 - mib_client_app_remove_account@Base 0.6.0 - mib_client_app_set_enforce_interactive@Base 0.5.0 - mib_client_app_set_redirect_uri@Base 0.6.0 - mib_pop_params_new@Base 0.5.0 - mib_pop_params_set_kid@Base 0.5.0 - mib_pop_params_set_shr_claims@Base 0.5.0 - mib_pop_params_set_shr_nonce@Base 0.5.0 - mib_prt_get_access_token@Base 0.5.0 - mib_prt_get_access_token_type@Base 0.5.0 - mib_prt_get_account@Base 0.5.0 - mib_prt_get_client_info@Base 0.5.0 - mib_prt_get_expires_on@Base 0.5.0 - mib_prt_get_granted_scopes@Base 0.5.0 - mib_prt_get_id_token@Base 0.5.0 - mib_prt_sso_cookie_get_content@Base 0.5.0 - mib_prt_sso_cookie_get_name@Base 0.5.0 - mib_public_client_app_new@Base 0.5.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/rules new/sso-mib-0.9.0/debian/rules --- old/sso-mib-0.8.1/debian/rules 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/rules 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -#!/usr/bin/make -f -#export DH_VERBOSE = 1 -export DEB_BUILD_MAINT_OPTIONS = hardening=+all - -%: - dh $@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/source/format new/sso-mib-0.9.0/debian/source/format --- old/sso-mib-0.8.1/debian/source/format 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/source/format 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -3.0 (native) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/sso-mib-gch-smtp-o365.install new/sso-mib-0.9.0/debian/sso-mib-gch-smtp-o365.install --- old/sso-mib-0.8.1/debian/sso-mib-gch-smtp-o365.install 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/sso-mib-gch-smtp-o365.install 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -/usr/bin/sso-mib-gch-smtp-o365 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/sso-mib-tool.bash-completion new/sso-mib-0.9.0/debian/sso-mib-tool.bash-completion --- old/sso-mib-0.8.1/debian/sso-mib-tool.bash-completion 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/sso-mib-tool.bash-completion 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ -_sso_mib_tool_completion() { - local cur prev opts commands - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="-a -A -d -h -I -P -s -t" - commands="getAccounts removeAccount acquirePrtSsoCookie acquireTokenInteractive acquireTokenSilent getLinuxBrokerVersion generateSignedHttpRequest" - - # If it's the first argument and not an option, suggest commands - if [[ ${COMP_CWORD} -eq 1 ]] && [[ "$cur" != -* ]]; then - COMPREPLY=($(compgen -W "$commands" -- "$cur")) - return 0 - fi - - case "$prev" in - -a) - COMPREPLY=($(compgen -W "0 1 2 3" -- "$cur")) - return 0 - ;; - *) - ;; - esac - - if [[ "$cur" == -* ]]; then - COMPREPLY=($(compgen -W "$opts" -- "$cur")) - fi -} - -complete -F _sso_mib_tool_completion sso-mib-tool diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/debian/sso-mib-tool.install new/sso-mib-0.9.0/debian/sso-mib-tool.install --- old/sso-mib-0.8.1/debian/sso-mib-tool.install 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/debian/sso-mib-tool.install 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -/usr/bin/sso-mib-tool diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/examples/smtp-o365/main.c new/sso-mib-0.9.0/examples/smtp-o365/main.c --- old/sso-mib-0.8.1/examples/smtp-o365/main.c 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/examples/smtp-o365/main.c 2026-05-07 16:06:40.000000000 +0200 @@ -102,11 +102,10 @@ goto cleanup; mib_client_app_set_redirect_uri(app, APP_REDIRECT_URI); - scopes = g_slist_append(scopes, "offline_access"); scopes = g_slist_append(scopes, "https://outlook.office365.com/SMTP.Send"); token = mib_client_app_acquire_token_interactive( - app, scopes, MIB_PROMPT_NONE, input.username, NULL, NULL, NULL); + app, scopes, MIB_PROMPT_UNSET, input.username, NULL, NULL, NULL); if (!token) { g_printerr("could not get token\n"); goto cleanup; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/meson.build new/sso-mib-0.9.0/meson.build --- old/sso-mib-0.8.1/meson.build 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/meson.build 2026-05-07 16:06:40.000000000 +0200 @@ -3,8 +3,14 @@ project( 'sso-mib', 'c', - version : '0.8.1', + version : '0.9.0', default_options : ['c_std=gnu11', 'warning_level=3'], + license : 'GPL-2.0+ OR LGPL-2.1+ OR MIT', + license_files : [ + 'LICENSES/GPL-2.0-only.txt', + 'LICENSES/LGPL-2.1-only.txt', + 'LICENSES/MIT.txt' + ] ) project_description = 'Library to interact with the Microsoft Device Broker for SSO' add_project_arguments('-Wno-unused-parameter', language : 'c') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sso-mib-0.8.1/src/sso-mib-tool.c new/sso-mib-0.9.0/src/sso-mib-tool.c --- old/sso-mib-0.8.1/src/sso-mib-tool.c 2026-04-23 12:55:06.000000000 +0200 +++ new/sso-mib-0.9.0/src/sso-mib-tool.c 2026-05-07 16:06:40.000000000 +0200 @@ -98,26 +98,6 @@ free(hdrs); free(grants); } -#else -static void print_decoded_jwt(const gchar *token) -{ - g_printerr("token decoding requires libjwt (dependency missing)\n"); -} -#endif - -static void print_json_builder(JsonBuilder *builder) -{ - JsonGenerator *generator = json_generator_new(); - JsonNode *root = json_builder_get_root(builder); - json_generator_set_root(generator, root); - - gchar *buf = json_generator_to_data(generator, NULL); - g_print("%s\n", buf); - g_free(buf); - - json_node_free(root); - g_object_unref(generator); -} static void json_builder_add_jwt_token(JsonBuilder *builder, const gchar *token) { @@ -157,6 +137,31 @@ free(grants); json_builder_end_object(builder); } +#else +static void print_decoded_jwt(const gchar *token) +{ + g_printerr("token decoding requires libjwt (dependency missing)\n"); +} + +static void json_builder_add_jwt_token(JsonBuilder *builder, const gchar *token) +{ + g_printerr("token decoding requires libjwt (dependency missing)\n"); +} +#endif + +static void print_json_builder(JsonBuilder *builder) +{ + JsonGenerator *generator = json_generator_new(); + JsonNode *root = json_builder_get_root(builder); + json_generator_set_root(generator, root); + + gchar *buf = json_generator_to_data(generator, NULL); + g_print("%s\n", buf); + g_free(buf); + + json_node_free(root); + g_object_unref(generator); +} static void print_prt_sso_cookie(MIBPrtSsoCookie *cookie, int decode) {
