You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2019/10/24 10:00:40 UTC

svn commit: r1868864 - /xmlgraphics/commons/trunk/build.xml

Author: ssteiner
Date: Thu Oct 24 10:00:40 2019
New Revision: 1868864

URL: http://svn.apache.org/viewvc?rev=1868864&view=rev
Log:
Hide password for signing

Modified:
    xmlgraphics/commons/trunk/build.xml

Modified: xmlgraphics/commons/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/build.xml?rev=1868864&r1=1868863&r2=1868864&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/build.xml (original)
+++ xmlgraphics/commons/trunk/build.xml Thu Oct 24 10:00:40 2019
@@ -554,7 +554,9 @@ NOTE:
   <target name="release-dist" depends="dist" description="Generates the distribution package and signs the release">
     <!--property name="bin.suffix" value="bin-jdk${java.specification.version}"/-->
     <property name="bin.suffix" value="bin"/>
-    <input message="Passphrase for your default private key (attention: passphrase will be echoed in clear text on the display!)" addproperty="pwd"/>
+    <input message="Passphrase for your default private key" addproperty="pwd">
+        <handler classname="org.apache.tools.ant.input.SecureInputHandler" />
+    </input>
     <antcall target="sha512">
       <param name="sign.archive" value="${name}-${version}-src.zip"/>
     </antcall>
@@ -622,7 +624,9 @@ NOTE:
     <checksum algorithm="sha-512" fileext=".sha512">
       <fileset refid="bundle-files"/>
     </checksum>
-    <input message="Passphrase for your default private key (attention: passphrase will be echoed in clear text on the display!)" addproperty="pwd"/>
+    <input message="Passphrase for your default private key" addproperty="pwd">
+        <handler classname="org.apache.tools.ant.input.SecureInputHandler" />
+    </input>
     <antcall target="sign-file">
       <param name="sign.archive" value="${build.dir}/${name}-${version}.jar"/>
       <param name="pwd" value="${pwd}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org