Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-hpke for openSUSE:Factory 
checked in at 2026-11-24 12:29:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hpke (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hpke.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hpke"

Tue Nov 24 12:29:44 2026 rev:4 rq:1399192 version:0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hpke/ghc-hpke.changes        2026-06-22 
17:45:02.558571428 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-hpke.new.1340718/ghc-hpke.changes   
2026-11-24 12:35:45.881173703 +0100
@@ -1,0 +2,58 @@
+Tue Oct 27 08:04:58 UTC 2026 - Peter Simons <[email protected]>
+
+- Update hpke to version 0.4.0.
+  ## 0.4.0
+
+  * **Breaking**: `nEnc` and `nTag` return `Maybe Int`, with `Nothing` for an
+    identifier they do not know, rather than `0`.
+  * `seal` is safe to call from several threads: each call takes its own
+    sequence number, so no two share a nonce.  `open` is serialized.
+  * `seal` and `open` throw `MessageLimitReachedError` before the sequence
+    number would wrap, as RFC 9180 section 5.2 requires.
+  * AEAD tags are compared in constant time.
+  * A ChaCha20-Poly1305 decryption failure is an `OpenError`, not a
+    `SealError`.
+  * `Show` of an unknown `KDF_ID` or `KEM_ID` uses the type's name.
+  * The lower bound on base moves to 4.9.
+
+  ## 0.3.0
+
+  * A receiver authenticates a sender by its **public** key.  `setupBaseR`,
+    `setupPSKR` and `setupR` took the sender's secret key for the
+    authenticated modes and derived the public one from it; RFC 9180 section
+    4.1 is `AuthDecap(enc, skR, pkS)`, and a receiver has only the public one.
+    As it stood, `mode_auth` and `mode_auth_psk` could not be used by a real
+    receiver.  **Breaking**: those three now take a `Maybe EncodedPublicKey`.
+  * DHKEM is an instance of crypton's `Crypto.KEM.KEM`, in the new
+    `Crypto.HPKE.DHKEM`, with one type per suite RFC 9180 registers.
+    `setupS` and `setupR` go through the class rather than reaching for the
+    group directly.
+  * `toPublicKey` gives the public key that goes with a secret key, for the
+    `KEM_ID` named.
+  * The lower bound on crypton moves to 2.1.8, which is where `Crypto.KEM` is.
+
+  ## 0.2.1
+
+  * `Show EncodedSecretKey` no longer prints the key.  `Show` is what `print`,
+    a message built with `error`, an exception and a test framework's failure
+    output all reach for, so it is the instance a key travels on when nobody
+    meant to send it anywhere; it now renders `<secret>`, and
+    `Crypto.Debug.debugShow` returns the hexadecimal it used to.
+    `EncodedPublicKey` is unchanged.
+    [#2](https://github.com/kazu-yamamoto/hpke/pull/2)
+  * The lower bound on crypton moves to 2.0, which is where `Crypto.Debug` is.
+
+  ## 0.2.0
+
+  * Breaking change: `exportS` and `exportR` return `Either HPKEError Key`
+    rather than `Key`.  RFC 9180 section 5.3 allows an export of at most
+    `255 * Nh` octets and the length is the caller's to choose, so the refusal
+    now has somewhere to go.  Nothing was total here before -- a length beyond
+    65535 did not fit the two octets `LabeledExpand` writes it into, and
+    crypton raised -- and from crypton 2.0.0 the shorter limit raises as well.
+  * Breaking change: `HPKEError` gains `ExportError`, which is what the above
+    reports.  It is appended, so the existing constructors are where they
+    were, but an exhaustive `case` without a wildcard will warn.
+  * Supporting crypton 2.0.
+
+-------------------------------------------------------------------

Old:
----
  hpke-0.1.0.tar.gz

New:
----
  hpke-0.4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-hpke.spec ++++++
--- /var/tmp/diff_new_pack.UJEixX/_old  2026-11-24 12:35:47.287233290 +0100
+++ /var/tmp/diff_new_pack.UJEixX/_new  2026-11-24 12:35:47.289233374 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hpke
 #
-# Copyright (c) 2026 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
@@ -17,34 +17,37 @@
 
 
 %global pkg_name hpke
-%global pkgver %{pkg_name}-%{version}
+%bcond_with ghc_prof
 %bcond_with tests
-Name:           ghc-%{pkg_name}
-Version:        0.1.0
+Name:           ghc-%pkg_name
+Version:        0.4.0
 Release:        0
+%global pkgver %pkg_name-%{version}
 Summary:        Hybrid Public Key Encryption
 License:        BSD-3-Clause
-URL:            https://hackage.haskell.org/package/%{pkg_name}
-Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+URL:            https://hackage.haskell.org/package/%pkg_name
+Source0:        
https://hackage.haskell.org/package/%pkg_name-%{version}/%pkg_name-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-devel
-BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-base16-bytestring-devel
-BuildRequires:  ghc-base16-bytestring-prof
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-bytestring-prof
 BuildRequires:  ghc-crypton-devel
-BuildRequires:  ghc-crypton-prof
 BuildRequires:  ghc-ram-devel
-BuildRequires:  ghc-ram-prof
-BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-rpm-macros >= 2.9.2
 ExcludeArch:    %{ix86}
+%if %{with ghc_prof}
+BuildRequires:  ghc-base-prof
+BuildRequires:  ghc-base16-bytestring-prof
+BuildRequires:  ghc-bytestring-prof
+BuildRequires:  ghc-crypton-prof
+BuildRequires:  ghc-ram-prof
+%endif
 %if %{with tests}
-BuildRequires:  ghc-QuickCheck-devel
-BuildRequires:  ghc-QuickCheck-prof
 BuildRequires:  ghc-hspec-devel
+%if %{with ghc_prof}
 BuildRequires:  ghc-hspec-prof
 %endif
+%endif
 
 %description
 Hybrid Public Key Encryption defined in RFC9180.
@@ -59,24 +62,27 @@
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-%package -n ghc-%{pkg_name}-doc
+%package -n ghc-%pkg_name-doc
 Summary:        Haskell %{pkg_name} library documentation
 Requires:       ghc-filesystem
 BuildArch:      noarch
 
-%description -n ghc-%{pkg_name}-doc
+%description -n ghc-%pkg_name-doc
 This package provides the Haskell %{pkg_name} library documentation.
 
-%package -n ghc-%{pkg_name}-prof
+%if %{with ghc_prof}
+%package -n ghc-%pkg_name-prof
 Summary:        Haskell %{pkg_name} profiling library
-Requires:       ghc-%{pkg_name}-devel = %{version}-%{release}
-Supplements:    (ghc-%{pkg_name}-devel and ghc-prof)
+Requires:       ghc-%pkg_name-devel = %{version}-%{release}
+Supplements:    (ghc-%pkg_name-devel and ghc-prof)
 
-%description -n ghc-%{pkg_name}-prof
+%description -n ghc-%pkg_name-prof
 This package provides the Haskell %{pkg_name} profiling library.
+%endif
+
 
 %prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -p1 -n %pkg_name-%{version}
 
 %build
 %ghc_lib_build
@@ -99,8 +105,10 @@
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md
 
-%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%files -n ghc-%pkg_name-doc -f ghc-%pkg_name-doc.files
 %license LICENSE
 
-%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+%if %{with ghc_prof}
+%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files
+%endif
 

++++++ hpke-0.1.0.tar.gz -> hpke-0.4.0.tar.gz ++++++
++++ 1740 lines of diff (skipped)

Reply via email to