accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1468205 - in /accumulo/trunk: ./ assemble/ bin/ core/ examples/ fate/src/main/java/org/apache/accumulo/fate/ fate/src/main/java/org/apache/accumulo/fate/zookeeper/ server/ src/
Date Mon, 15 Apr 2013 19:57:35 GMT
Author: ecn
Date: Mon Apr 15 19:57:35 2013
New Revision: 1468205

URL: http://svn.apache.org/r1468205
Log:
ACCUMULO-1276 improved password generation

Modified:
    accumulo/trunk/   (props changed)
    accumulo/trunk/assemble/   (props changed)
    accumulo/trunk/bin/generate_monitor_certificate.sh
    accumulo/trunk/core/   (props changed)
    accumulo/trunk/examples/   (props changed)
    accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java   (props changed)
    accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java 
 (props changed)
    accumulo/trunk/pom.xml   (props changed)
    accumulo/trunk/server/   (props changed)
    accumulo/trunk/src/   (props changed)

Propchange: accumulo/trunk/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5:r1468201

Propchange: accumulo/trunk/assemble/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/assemble:r1468201

Modified: accumulo/trunk/bin/generate_monitor_certificate.sh
URL: http://svn.apache.org/viewvc/accumulo/trunk/bin/generate_monitor_certificate.sh?rev=1468205&r1=1468204&r2=1468205&view=diff
==============================================================================
--- accumulo/trunk/bin/generate_monitor_certificate.sh (original)
+++ accumulo/trunk/bin/generate_monitor_certificate.sh Mon Apr 15 19:57:35 2013
@@ -28,8 +28,8 @@ bin="$( cd -P "$( dirname "$SOURCE" )" &
 . "$bin"/config.sh
 
 ALIAS="default"
-KEYPASS=$(cat /dev/random | head -c33 | uuencode -m foo | head -2 | tail +2)
-STOREPASS=$(cat /dev/random | head -c33 | uuencode -m foo | head -2 | tail +2)
+KEYPASS=$(tr -dc '#-~' < /dev/urandom | tr -d '<>' | head -c 20)
+STOREPASS=$(tr -dc '#-~' < /dev/urandom | tr -d '<>' | head -c 20)
 KEYSTOREPATH="$ACCUMULO_HOME/conf/keystore.jks"
 TRUSTSTOREPATH="$ACCUMULO_HOME/conf/cacerts.jks"
 CERTPATH="$ACCUMULO_HOME/conf/server.cer"

Propchange: accumulo/trunk/core/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/core:r1468201

Propchange: accumulo/trunk/examples/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/examples:r1468201

Propchange: accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java:r1468201

Propchange: accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java:r1468201

Propchange: accumulo/trunk/pom.xml
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/pom.xml:r1468201

Propchange: accumulo/trunk/server/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/server:r1468201

Propchange: accumulo/trunk/src/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5/src:r1468201



Mime
View raw message