You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by bu...@apache.org on 2014/03/22 15:34:40 UTC

svn commit: r902851 - in /websites/staging/maven/trunk/content: ./ guides/mini/guide-encryption.html maven-site-1.0-site.jar

Author: buildbot
Date: Sat Mar 22 14:34:39 2014
New Revision: 902851

Log:
Staging update by buildbot for maven

Modified:
    websites/staging/maven/trunk/content/   (props changed)
    websites/staging/maven/trunk/content/guides/mini/guide-encryption.html
    websites/staging/maven/trunk/content/maven-site-1.0-site.jar

Propchange: websites/staging/maven/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Mar 22 14:34:39 2014
@@ -1 +1 @@
-1580211
+1580215

Modified: websites/staging/maven/trunk/content/guides/mini/guide-encryption.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-encryption.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-encryption.html Sat Mar 22 14:34:39 2014
@@ -351,7 +351,17 @@
 <ul>
 <li>Shell history (e.g. by running <tt>history</tt>). You may want to clear your history after encrypting the above passwords</li>
 <li>Editor caches (e.g. <tt>~/.viminfo</tt>)</li></ul>
-<p>Also note that the encrypted passwords can be decrypted by someone that has the master password and settings security file. Keep this file secure (or stored separately) if you expect the possibility that the <tt>settings.xml</tt> file may be retrieved.</p></div></div></div>
+<p>Also note that the encrypted passwords can be decrypted by someone that has the master password and settings security file. Keep this file secure (or stored separately) if you expect the possibility that the <tt>settings.xml</tt> file may be retrieved.</p></div>
+<div class="section">
+<h4>Password Escaping on different platforms<a name="Password_Escaping_on_different_platforms"></a></h4>
+<p>On some platforms it might be neccessary to quote your password based on the content of your password in particular having special characters like <tt>%</tt>, <tt>!</tt>, <tt>$</tt> etc. in there. For example on Windows you have to be carefull about things like the following:</p>
+<p>The following example will not work on Windows:</p>
+<div class="source">
+<pre>mvn.bat --encrypt-master-password a!$%^b</pre></div>
+<p>whereas the following will work on Windows:</p>
+<div class="source">
+<pre>mvn.bat --encrypt-master-password &quot;a!$%^b&quot;</pre></div>
+<p>If you are on a linux/unix platform you should use single quotes for the above master password otherwise you will be astonished that the usage of the master-password will not work (caused by the dollar sign and furthermore the exclamation mark).</p></div></div></div>
       </div>
     </div>
     <div class="clear">

Modified: websites/staging/maven/trunk/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.