[Pkg-freeipa-devel] [Git][freeipa-team/jss][upstream] 46 commits: Fix uninitialized return in PK11Store.c

Timo Aaltonen gitlab at salsa.debian.org
Wed Apr 24 16:23:36 BST 2019



Timo Aaltonen pushed to branch upstream at FreeIPA packaging / jss


Commits:
acd32ad1 by Alexander Scheel at 2018-12-11T17:20:25Z
Fix uninitialized return in PK11Store.c

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
871231d2 by Alexander Scheel at 2018-12-11T17:20:25Z
Fix unused variable warning in callbacks.c

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
3358f55c by Alexander Scheel at 2018-12-11T17:29:14Z
Fix NSS deprecation warnings

NSS has begun deprecating key.h and keyt.h, replacing them with keyhi.h
and keythi.h instead. Update our includes as appropriate.

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
58c87921 by Alexander Scheel at 2018-12-18T16:02:07Z
Add fromOID to KeyWrapAlgorithm

This is a copy of the getKeyWrapAlgorithmFromOID method from PKI's
com.netscape.cmsutil.crypto.CryptoUtil. This introduces new OID members
with public scope to allow future code to use the OID values (especially
under the org.mozilla.jss.netscape.security package).

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
3069513e by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/x509/AlgorithmID.java

PKI path: base/util/src/netscape/security/x509/AlgorithmId.java
JSS path: org/mozilla/jss/netscape/security/x509/AlgorithmId.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
49cd6864 by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/util/Cert.java

PKI path: base/util/src/com/netscape/cmsutil/util/Cert.java
JSS path: org/mozilla/jss/netscape/security/util/Cert.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
32547599 by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/util/Utils.java

PKI path: base/util/src/com/netscape/cmsutil/util/Utils.java
JSS path: org/mozilla/jss/netscape/security/util/Utils.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
03184fa6 by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/pkcs/PKCS10.java

PKI path: base/util/src/netscape/security/pkcs/PKCS10.java
JSS path: org/mozilla/jss/netscape/security/pkcs/PKCS10.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
c483651e by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/x509/GeneralNameInterface.java

PKI path: base/util/src/netscape/security/x509/GeneralNameInterface.java
JSS path: org/mozilla/jss/netscape/security/x509/GeneralNameInterface.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
692302fb by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/x509/GeneralName.java

PKI path: base/util/src/netscape/security/x509/GeneralName.java
JSS path: org/mozilla/jss/netscape/security/x509/GeneralName.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
42d981ca by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/pkcs/PKCS12KeyInfo.java

PKI path: base/util/src/netscape/security/pkcs/PKCS12KeyInfo.java
JSS path: org/mozilla/jss/netscape/security/pkcs/PKCS12KeyInfo.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
6f4d8d3f by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/pkcs/PKCS12.java

PKI path: base/util/src/netscape/security/pkcs/PKCS12.java
JSS path: org/mozilla/jss/netscape/security/pkcs/PKCS12.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
03ff72c4 by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/pkcs/PKCS12CertInfo.java

PKI path: base/util/src/netscape/security/pkcs/PKCS12CertInfo.java
JSS path: org/mozilla/jss/netscape/security/pkcs/PKCS12CertInfo.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
92433abe by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/util/ObjectIdentifier.java

This file was not modified from its JSS version with two exceptions:
encode was made public, and the test case was moved to the correct test
suite. This file is relatively unused within PKI, but is used by
Candlepin, so keeping the version in JSS is safe.

PKI path: base/util/src/netscape/security/util/ObjectIdentifier.java
JSS path: org/mozilla/jss/netscape/security/util/ObjectIdentifier.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
03a89f28 by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/pkcs/PKCS12Util.java

This file was largely updated to keep the PKI version, with the
exception of jmagne's circular dependency fix with LDAP-JDK.

PKI path: base/util/src/netscape/security/pkcs/PKCS12Util.java
JSS path: org/mozilla/jss/netscape/security/pkcs/PKCS12Util.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
7c0603c1 by Alexander Scheel at 2019-01-14T19:48:29Z
Add netscape/security/x509/InvalidNetmaskException.java

This file was introduced into PKI after the original merge in jmagne's
485a5b6713c9fb087804b687da895e33775b2f4b.

PKI path: base/util/src/netscape/security/x509/InvalidNetmaskException.java
JSS path: org/mozilla/jss/netscape/security/x509/InvalidNetmaskException.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
d634011a by Alexander Scheel at 2019-01-14T19:48:29Z
Add netscape/security/x509/CIDRNetmask.java

This file was introduced into PKI after the original merge in jmagne's
485a5b6713c9fb087804b687da895e33775b2f4b.

PKI path: base/util/src/netscape/security/x509/CIDRNetmask.java
JSS path: org/mozilla/jss/netscape/security/x509/CIDRNetmask.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
2d695690 by Alexander Scheel at 2019-01-14T19:48:29Z
Update netscape/security/x509/IPAddressName.java

PKI path: base/util/src/netscape/security/x509/IPAddressName.java
JSS path: org/mozilla/jss/netscape/security/x509/IPAddressName.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
b3ed2d12 by Alexander Scheel at 2019-01-14T19:48:29Z
Add netscape/security/util/WrappingParams.java

This file was introduced into PKI after the original merge in jmagne's
485a5b6713c9fb087804b687da895e33775b2f4b.

PKI path: base/util/src/netscape/security/util/WrappingParams.java
JSS path: org/mozilla/jss/netscape/security/util/WrappingParams.java

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
8332be7f by Alexander Scheel at 2019-01-14T19:48:29Z
Raise OID in KeyWrapAlgorithm

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
035a00d8 by Alexander Scheel at 2019-01-14T20:03:09Z
Bump version number to v4.5.2

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
9e6de80b by Alexander Scheel at 2019-01-29T16:07:17Z
`make check` -> `make test` in README.md

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
06d8194a by Alexander Scheel at 2019-01-29T16:11:31Z
Bump NSS version to 3.30 for SSLAlert

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
9928cf6c by Alexander Scheel at 2019-01-29T16:11:31Z
Add minimum NSS version to README.md

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
a5b0caf6 by Dinesh Prasanth M K at 2019-01-31T14:54:37Z
Add exec method to execute shell commands with input

- This is an effort to move duplicate code from PKI code
  base to JSS code base

- This chunk of code was originally introduced in PKI
  code: https://github.com/dogtagpki/pki/pull/131

- This PR is a joined effort of:
  https://github.com/dogtagpki/pki/pull/122

Signed-off-by: Dinesh Prasanth M K <dmoluguw at redhat.com>

- - - - -
b554fba6 by Alexander Scheel at 2019-01-31T21:08:00Z
Add support for JUnit tests to CMake

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
c08fb6ff by Alexander Scheel at 2019-01-31T21:08:00Z
Migrate netscape.security testcases from PKI

These are the test cases currently run by CMake in PKI.

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
c15418a7 by Alexander Scheel at 2019-01-31T21:08:00Z
Migrate unused test cases from PKI

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
bcfa4ebc by Alexander Scheel at 2019-01-31T21:08:00Z
Add netscape.security tests to CMake

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
b682cc2a by Alexander Scheel at 2019-01-31T21:08:00Z
Document additional test dependencies

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
3af3ea67 by Alexander Scheel at 2019-01-31T21:08:00Z
Update jss.spec with hamcrest, junit4 dependencies

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
818753e4 by Alexander Scheel at 2019-01-31T21:08:00Z
Update CI images with hamcrest, junit4 dependencies

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
3842bc82 by Alexander Scheel at 2019-02-11T22:30:45Z
Fix parallel ctest execution

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
d49685e0 by Alexander Scheel at 2019-02-27T20:03:39Z
[spec] ctest: --output-on-failure

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
2a263ebc by Alexander Scheel at 2019-02-27T20:03:48Z
Use ctest --output-on-failure

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
f6fdceb2 by Alexander Scheel at 2019-02-27T20:03:48Z
Remove stylecheck Travis stage

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
906fdcf3 by Alexander Scheel at 2019-02-28T15:45:02Z
Add data directory for tests to use.

In addition to the two existing NSS DBs:

 - `results/nssdb`
 - `results/fips`

Add a new `results/data` directory for files created during tests.

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
9ba24671 by Endi S. Dewata at 2019-02-28T17:44:29Z
Fixed test package names

- - - - -
2bd0e545 by Alexander Scheel at 2019-02-28T21:36:18Z
Fix -Werror=sign-compare mistakes

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
1cbe38e1 by Alexander Scheel at 2019-02-28T21:36:18Z
Whitelist accepted warnings

The accepted warnings are:

  - cast-function-type -- due to NSPR's PRFileDesc dispatch
  - unused-parameter -- due to JNI requiring extra parameters

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
1286c90e by Alexander Scheel at 2019-03-01T15:10:03Z
Add JSS_ToByteArray JNI Helper method

This method converts the specified parameter to a JByteArray.

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
91bdf20c by Alexander Scheel at 2019-03-01T15:10:03Z
Use JSS_ToByteArray in existing locations

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -
91870d5b by Endi S. Dewata at 2019-03-01T20:01:38Z
Added Cert.sortCertificateChain()

The sortCertificateChain() has been moved from
com.netscape.cmsutil.crypto.CryptoUtil in PKI to
org.mozilla.jss.netscape.security.util.Cert in
JSS for reusability.

The version number has been updated to 4.5.3 such
that the JSS dependency can be set properly in
other packages.

- - - - -
7cf5890d by Endi S. Dewata at 2019-03-19T17:45:05Z
Added ChainSortingTest

A new ChainSortingTest has been added to validate
Cert.sortCertificateChain().

- - - - -
85bd98e7 by Endi S. Dewata at 2019-03-19T17:45:06Z
Added .copr/Makefile

- - - - -
77497a7a by Alexander Scheel at 2019-03-19T17:45:06Z
Release JSS v4.5.3

This release features improvements to fix TomcatJSS in FIPS mode (on
Tomcat v8.5+) and adds a missing Exec improvement to finalize the
replacement of nuxwdog.

Signed-off-by: Alexander Scheel <ascheel at redhat.com>

- - - - -


30 changed files:

- .classpath
- + .copr/Makefile
- .travis.yml
- README.md
- cmake/JSSCommon.cmake
- cmake/JSSConfig.cmake
- cmake/JSSTests.cmake
- docs/dependencies.md
- jss.spec
- org/mozilla/jss/CryptoManager.c
- org/mozilla/jss/PK11Finder.c
- org/mozilla/jss/asn1/ASN1Util.c
- org/mozilla/jss/crypto/KeyWrapAlgorithm.java
- org/mozilla/jss/crypto/PQGParams.c
- org/mozilla/jss/netscape/security/pkcs/PKCS10.java
- org/mozilla/jss/netscape/security/pkcs/PKCS12.java
- org/mozilla/jss/netscape/security/pkcs/PKCS12CertInfo.java
- org/mozilla/jss/netscape/security/pkcs/PKCS12KeyInfo.java
- org/mozilla/jss/netscape/security/pkcs/PKCS12Util.java
- org/mozilla/jss/netscape/security/util/Cert.java
- org/mozilla/jss/netscape/security/util/ObjectIdentifier.java
- org/mozilla/jss/netscape/security/util/Utils.java
- + org/mozilla/jss/netscape/security/util/WrappingParams.java
- org/mozilla/jss/netscape/security/x509/AlgorithmId.java
- + org/mozilla/jss/netscape/security/x509/CIDRNetmask.java
- org/mozilla/jss/netscape/security/x509/GeneralName.java
- org/mozilla/jss/netscape/security/x509/GeneralNameInterface.java
- org/mozilla/jss/netscape/security/x509/IPAddressName.java
- + org/mozilla/jss/netscape/security/x509/InvalidNetmaskException.java
- org/mozilla/jss/pkcs11/PK11Cert.c


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/freeipa-team/jss/compare/0ee188a93f6efdee60a75284cbceb4a8fefcc4eb...77497a7ac9b8e6e28d9e26a4be4059154dd07118

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/jss/compare/0ee188a93f6efdee60a75284cbceb4a8fefcc4eb...77497a7ac9b8e6e28d9e26a4be4059154dd07118
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20190424/25dde57f/attachment-0001.html>


More information about the Pkg-freeipa-devel mailing list