Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package omemo-utils for openSUSE:Factory checked in at 2026-05-12 19:27:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/omemo-utils (Old) and /work/SRC/openSUSE:Factory/.omemo-utils.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "omemo-utils" Tue May 12 19:27:57 2026 rev:5 rq:1352621 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/omemo-utils/omemo-utils.changes 2024-03-29 13:10:47.834776502 +0100 +++ /work/SRC/openSUSE:Factory/.omemo-utils.new.1966/omemo-utils.changes 2026-05-12 19:30:28.872568651 +0200 @@ -1,0 +2,9 @@ +Tue May 12 07:02:41 UTC 2026 - Michael Vetter <[email protected]> + +- Update to 1.1.0: + * Add man page + * Add support for non optimal server configurations +- Drop omemo-utils-1.0.0-fix-server-decryption.patch +- Drop omemo-utils-1.0.0-man.patch + +------------------------------------------------------------------- Old: ---- omemo-utils-1.0.0-fix-server-decryption.patch omemo-utils-1.0.0-man.patch v1.0.0.tar.gz New: ---- _scmsync.obsinfo build.specials.obscpio v1.1.0.tar.gz ----------(Old B)---------- Old: * Add support for non optimal server configurations - Drop omemo-utils-1.0.0-fix-server-decryption.patch - Drop omemo-utils-1.0.0-man.patch Old:- Drop omemo-utils-1.0.0-fix-server-decryption.patch - Drop omemo-utils-1.0.0-man.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ omemo-utils.spec ++++++ --- /var/tmp/diff_new_pack.qa2nOl/_old 2026-05-12 19:30:29.664601477 +0200 +++ /var/tmp/diff_new_pack.qa2nOl/_new 2026-05-12 19:30:29.664601477 +0200 @@ -17,16 +17,13 @@ Name: omemo-utils -Version: 1.0.0 +Version: 1.1.0 Release: 0 Summary: Utilities for OMEMO media sharing License: MIT Group: Productivity/Networking/Instant Messenger URL: https://github.com/wstrm/omemo-utils Source: https://github.com/wstrm/omemo-utils/archive/v%{version}.tar.gz -Patch0: https://github.com/wstrm/omemo-utils/commit/866db1fc3577c93e1be44d558feca5b5a679d33c.patch#/omemo-utils-1.0.0-man.patch -# PATCH-FIX-UPSTREAM gh#wstrm/omemo-utils#5 -Patch1: omemo-utils-1.0.0-fix-server-decryption.patch BuildRequires: libcurl-devel BuildRequires: libgcrypt-devel >= 1.7.0 ++++++ _scmsync.obsinfo ++++++ mtime: 1778569577 commit: 03988587bc1d98edd5b52f40afcab702ab46ec85f311fb4e1ccd985c11d61480 url: https://src.opensuse.org/xmpp/omemo-utils revision: 03988587bc1d98edd5b52f40afcab702ab46ec85f311fb4e1ccd985c11d61480 projectscmsync: https://src.opensuse.org/xmpp/_ObsPrj.git ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-05-12 09:06:17.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ v1.0.0.tar.gz -> v1.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omemo-utils-1.0.0/Makefile new/omemo-utils-1.1.0/Makefile --- old/omemo-utils-1.0.0/Makefile 2020-06-09 22:49:15.000000000 +0200 +++ new/omemo-utils-1.1.0/Makefile 2026-05-12 08:32:57.000000000 +0200 @@ -15,6 +15,8 @@ install: omut mkdir -p $(DESTDIR)$(PREFIX)/bin cp omut $(DESTDIR)$(PREFIX)/bin + mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 + cp omut.1 $(DESTDIR)$(PREFIX)/share/man/man1/omut.1 uninstall: omut rm $(DESTDIR)$(PREFIX)/bin/omut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omemo-utils-1.0.0/crypt.c new/omemo-utils-1.1.0/crypt.c --- old/omemo-utils-1.0.0/crypt.c 2020-06-09 22:49:15.000000000 +0200 +++ new/omemo-utils-1.1.0/crypt.c 2026-05-12 08:32:57.000000000 +0200 @@ -19,7 +19,7 @@ abort(); } - off_t file_size = in->expected_size; + off_t file_size = in->expected_size ? in->expected_size : in->actual_size; if (!encrypt) { file_size -= AES256_GCM_TAG_LENGTH; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omemo-utils-1.0.0/omut.1 new/omemo-utils-1.1.0/omut.1 --- old/omemo-utils-1.0.0/omut.1 1970-01-01 01:00:00.000000000 +0100 +++ new/omemo-utils-1.1.0/omut.1 2026-05-12 08:32:57.000000000 +0200 @@ -0,0 +1,33 @@ +.TH man 1 "2022-10-11" "1.0.0" "Utilities for OMEMO media sharing" +.SH NAME +omemo-utils - Utilities for OMEMO media sharing +.SH SYNOPSIS +.B omut +[\-d] [\-o FILE] URL +.SH DESCRIPTION +.B omemo-utils + are utilities for OMEMO media sharing. +The binary is called omut. +By default the downloaded file will be send to standard output. +.br +.SH OPTIONS +.TP +.BI "\-d" +Enable debug output. +.br +.TP +.BI "\-o FILE" +Redirect the output to a file. +.SH BUGS +Bugs can be reported by raising an issue at the Github issue tracker: +.br +.PP +<https://github.com/wstrm/omemo-utils/issues> +.br +.SH AUTHOR +Copyright (C) 2020 \- 2022 William Wennerström <[email protected]>. +.br +Licensed under MIT. +.br +.br +Man page is written by Michael Vetter <[email protected]>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omemo-utils-1.0.0/omut.c new/omemo-utils-1.1.0/omut.c --- old/omemo-utils-1.0.0/omut.c 2020-06-09 22:49:15.000000000 +0200 +++ new/omemo-utils-1.1.0/omut.c 2026-05-12 08:32:57.000000000 +0200 @@ -38,13 +38,17 @@ int main(int argc, char **argv) { int opt; int direction = ENCRYPT; + bool insecure = false; char *output_path = NULL; - while ((opt = getopt(argc, argv, ":do:")) != -1) { + while ((opt = getopt(argc, argv, ":dko:")) != -1) { switch (opt) { case 'd': direction = DECRYPT; continue; + case 'k': + insecure = true; + continue; case 'o': output_path = optarg; continue; @@ -97,9 +101,9 @@ key = gcry_random_bytes_secure(AES256_GCM_KEY_LENGTH, GCRY_VERY_STRONG_RANDOM); gcry_create_nonce(nonce, AES256_GCM_NONCE_LENGTH); - in_stream = stream_open(raw_url); + in_stream = stream_open(raw_url, insecure); } else { - in_stream = stream_open(parsed_url); + in_stream = stream_open(parsed_url, insecure); } free(parsed_url); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omemo-utils-1.0.0/stream.c new/omemo-utils-1.1.0/stream.c --- old/omemo-utils-1.0.0/stream.c 2020-06-09 22:49:15.000000000 +0200 +++ new/omemo-utils-1.1.0/stream.c 2026-05-12 08:32:57.000000000 +0200 @@ -134,7 +134,7 @@ return NULL; } -STREAM *stream_open(const char *url) { +STREAM *stream_open(const char *url, bool insecure) { CURLcode res; STREAM *stream; @@ -157,6 +157,11 @@ curl_easy_setopt(hd, CURLOPT_WRITEFUNCTION, write_callback); curl_easy_setopt(hd, CURLOPT_WRITEDATA, (void *)stream); + if (insecure) { + curl_easy_setopt(hd, CURLOPT_SSL_VERIFYHOST, 0L); + curl_easy_setopt(hd, CURLOPT_SSL_VERIFYPEER, 0L); + } + res = curl_easy_perform(hd); if (res != CURLE_OK) { free(stream); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omemo-utils-1.0.0/stream.h new/omemo-utils-1.1.0/stream.h --- old/omemo-utils-1.0.0/stream.h 2020-06-09 22:49:15.000000000 +0200 +++ new/omemo-utils-1.1.0/stream.h 2026-05-12 08:32:57.000000000 +0200 @@ -20,6 +20,6 @@ typedef struct stream_data STREAM; size_t stream_read(void *buffer, size_t bytes, STREAM *stream); -STREAM *stream_open(const char *url); +STREAM *stream_open(const char *url, bool insecure); char *parse_aesgcm_url(char *url, unsigned char *nonce, size_t nonce_size, unsigned char *key, size_t key_size);
