You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2021/12/31 10:04:08 UTC

[commons-jcs] branch release-3.1 updated (e19e4e4 -> ee1ef74)

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

tv pushed a change to branch release-3.1
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git.


    from e19e4e4  Document changes
     new 7ccc364  Roll back release
     new ee1ef74  Add paragraph about SecureRandom

The 2 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:
 commons-jcs-core/pom.xml           | 4 ++--
 commons-jcs-dist/pom.xml           | 4 ++--
 commons-jcs-jcache-extras/pom.xml  | 4 ++--
 commons-jcs-jcache-openjpa/pom.xml | 4 ++--
 commons-jcs-jcache/pom.xml         | 4 ++--
 commons-jcs-tck-tests/pom.xml      | 4 ++--
 pom.xml                            | 2 +-
 xdocs/ElementSerializers.xml       | 6 ++++++
 8 files changed, 19 insertions(+), 13 deletions(-)

[commons-jcs] 01/02: Roll back release

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

tv pushed a commit to branch release-3.1
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git

commit 7ccc364d957d665a6f16a6540cae121d16073fc4
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Fri Dec 31 10:48:55 2021 +0100

    Roll back release
---
 commons-jcs-core/pom.xml           | 4 ++--
 commons-jcs-dist/pom.xml           | 4 ++--
 commons-jcs-jcache-extras/pom.xml  | 4 ++--
 commons-jcs-jcache-openjpa/pom.xml | 4 ++--
 commons-jcs-jcache/pom.xml         | 4 ++--
 commons-jcs-tck-tests/pom.xml      | 4 ++--
 pom.xml                            | 2 +-
 7 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/commons-jcs-core/pom.xml b/commons-jcs-core/pom.xml
index 4f99d17..c859784 100644
--- a/commons-jcs-core/pom.xml
+++ b/commons-jcs-core/pom.xml
@@ -22,12 +22,12 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-jcs3</artifactId>
-    <version>3.2-SNAPSHOT</version>
+    <version>3.1-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 
   <artifactId>commons-jcs3-core</artifactId>
-  <version>3.2-SNAPSHOT</version>
+  <version>3.1-SNAPSHOT</version>
   <packaging>jar</packaging>
 
   <name>Apache Commons JCS :: Core</name>
diff --git a/commons-jcs-dist/pom.xml b/commons-jcs-dist/pom.xml
index d16b49b..4e071bd 100644
--- a/commons-jcs-dist/pom.xml
+++ b/commons-jcs-dist/pom.xml
@@ -21,12 +21,12 @@
   <parent>
     <artifactId>commons-jcs3</artifactId>
     <groupId>org.apache.commons</groupId>
-    <version>3.2-SNAPSHOT</version>
+    <version>3.1-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
 
   <artifactId>commons-jcs3-dist</artifactId>
-  <version>3.2-SNAPSHOT</version>
+  <version>3.1-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Apache Commons JCS :: Distribution</name>
   <description>Creates the Apache Commons JCS multimodule distribution.</description>
diff --git a/commons-jcs-jcache-extras/pom.xml b/commons-jcs-jcache-extras/pom.xml
index 0b5592b..f0d65b8 100644
--- a/commons-jcs-jcache-extras/pom.xml
+++ b/commons-jcs-jcache-extras/pom.xml
@@ -21,12 +21,12 @@
   <parent>
     <artifactId>commons-jcs3</artifactId>
     <groupId>org.apache.commons</groupId>
-    <version>3.2-SNAPSHOT</version>
+    <version>3.1-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
 
   <artifactId>commons-jcs3-jcache-extras</artifactId>
-  <version>3.2-SNAPSHOT</version>
+  <version>3.1-SNAPSHOT</version>
   <name>Apache Commons JCS :: JCache Extras</name>
 
   <scm>
diff --git a/commons-jcs-jcache-openjpa/pom.xml b/commons-jcs-jcache-openjpa/pom.xml
index da8f81a..79ef58f 100644
--- a/commons-jcs-jcache-openjpa/pom.xml
+++ b/commons-jcs-jcache-openjpa/pom.xml
@@ -21,12 +21,12 @@
   <parent>
     <artifactId>commons-jcs3</artifactId>
     <groupId>org.apache.commons</groupId>
-    <version>3.2-SNAPSHOT</version>
+    <version>3.1-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
 
   <artifactId>commons-jcs3-jcache-openjpa</artifactId>
-  <version>3.2-SNAPSHOT</version>
+  <version>3.1-SNAPSHOT</version>
   <name>Apache Commons JCS :: JCache OpenJPA</name>
 
   <scm>
diff --git a/commons-jcs-jcache/pom.xml b/commons-jcs-jcache/pom.xml
index 98665c0..ede8193 100644
--- a/commons-jcs-jcache/pom.xml
+++ b/commons-jcs-jcache/pom.xml
@@ -23,12 +23,12 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-jcs3</artifactId>
-    <version>3.2-SNAPSHOT</version>
+    <version>3.1-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 
   <artifactId>commons-jcs3-jcache</artifactId>
-  <version>3.2-SNAPSHOT</version>
+  <version>3.1-SNAPSHOT</version>
   <name>Apache Commons JCS :: JCache</name>
 
   <scm>
diff --git a/commons-jcs-tck-tests/pom.xml b/commons-jcs-tck-tests/pom.xml
index 8f29596..899aa35 100644
--- a/commons-jcs-tck-tests/pom.xml
+++ b/commons-jcs-tck-tests/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-jcs3</artifactId>
-    <version>3.2-SNAPSHOT</version>
+    <version>3.1-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 
@@ -34,7 +34,7 @@
   -->
 
   <artifactId>commons-jcs3-jcache-tck</artifactId>
-  <version>3.2-SNAPSHOT</version>
+  <version>3.1-SNAPSHOT</version>
 
   <name>Apache Commons JCS :: JCache TCK</name>
 
diff --git a/pom.xml b/pom.xml
index 7ca154e..367e1a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
 
   <artifactId>commons-jcs3</artifactId>
   <packaging>pom</packaging>
-  <version>3.2-SNAPSHOT</version>
+  <version>3.1-SNAPSHOT</version>
 
   <!--
    * Build with -PjcacheTck to run the JSR-107 TCK

[commons-jcs] 02/02: Add paragraph about SecureRandom

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

tv pushed a commit to branch release-3.1
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git

commit ee1ef74bff04c46a11b27a0a5a6812462f6373f0
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Fri Dec 31 11:03:51 2021 +0100

    Add paragraph about SecureRandom
---
 xdocs/ElementSerializers.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xdocs/ElementSerializers.xml b/xdocs/ElementSerializers.xml
index 1b14d66..f1ec41e 100644
--- a/xdocs/ElementSerializers.xml
+++ b/xdocs/ElementSerializers.xml
@@ -83,6 +83,12 @@ jcs.auxiliary.blockDiskCache2.serializer.attributes.preSharedKey=my_secret
 jcs.auxiliary.blockDiskCache2.serializer.attributes.aesCipherTransformation=AES/GCM/NoPadding
                 ]]>
             </source>
+
+            <p> The encryption code uses the default constructor of SecureRandom() to create
+                a random number generator. Depending on your security requirements, you should
+                configure a SecureRandom that works for your environment, giving preference to 
+                the ones with good randomness (given that your environment generates entropy fast 
+                enough, we saw problems with Linux).</p>
         </section>
 	</body>
 </document>
\ No newline at end of file