You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/11 23:29:31 UTC

[commons-crypto] branch master updated (096b32c -> 0e424a2)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


    from 096b32c  Bump commons-parent from 54 to 55 #196
     new fdb4bb8  Add Javadoc archive and security page
     new f410436  ONly print init error if there is one
     new 0e424a2  Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/commons/crypto/jna/OpenSslJna.java  |  6 +--
 src/site/site.xml                                  | 13 ++++---
 src/site/xdoc/security.xml                         | 45 ++++++++++++++++++++++
 3 files changed, 55 insertions(+), 9 deletions(-)
 create mode 100644 src/site/xdoc/security.xml


[commons-crypto] 01/03: Add Javadoc archive and security page

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git

commit fdb4bb86333eb42ac9c9fc9fda61404a9434caa6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 11 18:23:07 2022 -0500

    Add Javadoc archive and security page
---
 pom.xml                    |  2 +-
 src/site/site.xml          | 13 +++++++------
 src/site/xdoc/security.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 53 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index ae5202a..6730502 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>54</version>
+    <version>55</version>
   </parent>
 
   <artifactId>commons-crypto</artifactId>
diff --git a/src/site/site.xml b/src/site/site.xml
index 7b1dd23..a669ab0 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -24,12 +24,13 @@
     </bannerRight>
     <body>
         <menu name="Documentation">
-            <item name="Overview"      href="/index.html"/>
-            <item name="Download"
-                   href="https://commons.apache.org/proper/commons-crypto/download_crypto.cgi"/>
-            <item name="User Guide"   href="/userguide.html"/>
-            <item name="FAQ"           href="/faq.html"/>
-            <item name="Javadoc"       href="/apidocs/index.html"/>
+            <item name="Overview"        href="/index.html"/>
+            <item name="Download"        href="https://commons.apache.org/proper/commons-crypto/download_crypto.cgi"/>
+            <item name="User Guide"      href="/userguide.html"/>
+            <item name="FAQ"             href="/faq.html"/>
+            <item name="Javadoc"         href="/apidocs/index.html"/>
+            <item name="Javadoc Archive" href="https://javadoc.io/doc/org.apache.commons/commons-crypto/"/>
+            <item name="Security"        href="security.html"/>
         </menu>
 
         <menu name="Development">
diff --git a/src/site/xdoc/security.xml b/src/site/xdoc/security.xml
new file mode 100644
index 0000000..e2bffb0
--- /dev/null
+++ b/src/site/xdoc/security.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under
+    the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
+    obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
+    in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+    ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under
+    the License. -->
+<document>
+    <properties>
+        <title>Apache Commons Crypto Security Reports</title>
+        <author email="dev@commons.apache.org">Commons Team</author>
+    </properties>
+    <body>
+        <section name="Security Vulnerabilities">
+            <p>
+                For information about reporting or asking questions about
+                security, please see the
+                <a href="https://commons.apache.org/security.html">security page</a>
+                of the Apache Commons project.
+            </p>
+            <p>
+                This page lists all security vulnerabilities fixed in released versions of this component.
+            </p>
+
+            <p>
+                Please note that binary patches are never provided. If you need to apply a source code patch, use the
+                building instructions for the component version that you are using.
+            </p>
+
+            <p>
+                If you need help on building this component or other help on following the instructions to
+                mitigate the known vulnerabilities listed here, please send your questions to the public
+                <a href="mail-lists.html">user mailing list</a>.
+            </p>
+
+            <p>
+                If you have encountered an unlisted security vulnerability or other unexpected behavior that has security
+                impact, or if the descriptions here are incomplete, please report them privately to the Apache Security
+                Team. Thank you.
+            </p>
+
+         </section>
+    </body>
+</document>


[commons-crypto] 03/03: Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git

commit 0e424a2cdc4167e47dc1c929b3eb7a742f7fadc3
Merge: f410436 096b32c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 11 18:29:04 2022 -0500

    Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-crypto.git

 src/changes/changes.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[commons-crypto] 02/03: ONly print init error if there is one

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git

commit f41043605f5209aa2b9ad66a97020165adb40069
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 11 18:28:56 2022 -0500

    ONly print init error if there is one
---
 src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java b/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
index 739f1d2..842b298 100644
--- a/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
+++ b/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
@@ -81,13 +81,13 @@ public final class OpenSslJna {
     public static void main(final String[] args) throws Throwable {
         info("isEnabled(): %s", isEnabled());
         final Throwable initialisationError = initialisationError();
-        info("initialisationError(): %s", initialisationError);
         if (initialisationError != null) {
+            info("initialisationError(): %s", initialisationError);
             System.err.flush(); // helpful for stack traces to not mix in other output.
             throw initialisationError; // propagate to make error obvious
         }
-        for(int i = 0; i <= 5; i++) {
-          info("OpenSSLVersion(%d): %s", i, OpenSSLVersion(i));
+        for (int i = 0; i <= 5; i++) {
+            info("OpenSSLVersion(%d): %s", i, OpenSSLVersion(i));
         }
     }