public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthew Harmsen <mharmsen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jss] pqc: Resolves: mbz #1400884
Date: Tue, 28 Jul 2026 16:48:35 GMT	[thread overview]
Message-ID: <178525731560.1.9502841330401563234.rpms-jss-f263dec62c07@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/jss
            Branch : pqc
            Commit : f263dec62c075b4584ea624f5c73d30841b79595
            Author : Matthew Harmsen <mharmsen@redhat.com>
            Date   : 2017-10-27T12:21:43-06:00
            Stats  : +34/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/jss/c/f263dec62c075b4584ea624f5c73d30841b79595?branch=pqc

            Log:
            Resolves: mbz #1400884

- Mozilla Bugzilla #1400884 - new JSS failures: HMAC Unwrap and KeyWrapping
  FIPSMODE (jmagne)

---
diff --git a/jss-HMAC-unwrap-keywrap-FIPSMODE.patch b/jss-HMAC-unwrap-keywrap-FIPSMODE.patch
new file mode 100644
index 0000000..529d33a
--- /dev/null
+++ b/jss-HMAC-unwrap-keywrap-FIPSMODE.patch
@@ -0,0 +1,22 @@
+# HG changeset patch
+# User Jack Magne <jmagne@redhat.com>
+# Date 1506640850 25200
+#      Thu Sep 28 16:20:50 2017 -0700
+# Node ID 252c10f448971b7ae087bde259505abd5dc5a03a
+# Parent  3e9a5ae2149d04877dc19b117a8917c22854f8eb
+Fix: Bug 1400884 - new JSS failures: HMAC Unwrap and KeyWrapping FIPSMODE.
+
+diff --git a/org/mozilla/jss/pkcs11/KeyType.java b/org/mozilla/jss/pkcs11/KeyType.java
+--- a/org/mozilla/jss/pkcs11/KeyType.java
++++ b/org/mozilla/jss/pkcs11/KeyType.java
+@@ -204,9 +204,7 @@
+                             EncryptionAlgorithm.AES_192_CBC,
+                             EncryptionAlgorithm.AES_256_ECB,
+                             EncryptionAlgorithm.AES_256_CBC,
+-                            /* AES CBC PAD is the same as AES_256_CBC_PAD */
+-                            /* shouldn't break backward compatibility 313798*/        
+-                            //EncryptionAlgorithm.AES_CBC_PAD, 
++                            EncryptionAlgorithm.AES_CBC_PAD, 
+                             EncryptionAlgorithm.AES_128_CBC_PAD,
+                             EncryptionAlgorithm.AES_192_CBC_PAD,
+                             EncryptionAlgorithm.AES_256_CBC_PAD        

diff --git a/jss.spec b/jss.spec
index 7fcedb5..6c69095 100644
--- a/jss.spec
+++ b/jss.spec
@@ -1,6 +1,6 @@
 Name:           jss
 Version:        4.4.2
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Java Security Services (JSS)
 
 Group:          System Environment/Libraries
@@ -35,6 +35,7 @@ Requires:       nss >= 3.28.4-6
 Patch1:         jss-HMAC-test-for-AES-encrypt-unwrap.patch
 Patch2:         jss-PBE-padded-block-cipher-enhancements.patch
 Patch3:         jss-fix-PK11Store-getEncryptedPrivateKeyInfo-segfault.patch
+Patch4:         jss-HMAC-unwrap-keywrap-FIPSMODE.patch
 
 %description
 Java Security Services (JSS) is a java native interface which provides a bridge
@@ -51,9 +52,12 @@ This package contains the API documentation for JSS.
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch1 -d jss -p1
-%patch2 -d jss -p1
-%patch3 -d jss -p1
+pushd jss
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+popd
 
 %build
 [ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
@@ -145,6 +149,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_javadocdir}/%{name}-%{version}/*
 
 %changelog
+* Fri Oct 27 2017 Dogtag Team <pki-devel@redhat.com> 4.4.2-6
+- Mozilla Bugzilla #1400884 - new JSS failures: HMAC Unwrap and KeyWrapping
+  FIPSMODE (jmagne)
+
 * Mon Sep 11 2017 Dogtag Team <pki-devel@redhat.com> 4.4.2-5
 - Mozilla Bugzilla #1370778 - PBE and padded block cipher enhancements and
   fixes (ftweedal)

                 reply	other threads:[~2026-07-28 16:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178525731560.1.9502841330401563234.rpms-jss-f263dec62c07@fedoraproject.org \
    --to=mharmsen@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox