Any MD/Ant Experts Out There?

whitedavidp's Avatar


17 Feb, 2018 06:46 PM

I am new to both MD extensions and Ant. I dislike being prompted for my signing password. It seems like for the java task type, Ant support both the inputstring="x" and input="y" attributes. However when I put my password into the inputstring or a file referenced by the input, I always end up with:

         Exception in thread "main" javax.crypto.BadPaddingException: Given final block not properly padded

Any tips on why this occurs or how to avoid being prompted?


  1. 1 Posted by whitedavidp on 17 Feb, 2018 06:47 PM

    whitedavidp's Avatar

    BTW - same thing happens if I change to perform this step via an exec rather than a java in the Ant build file.

    Thanks again.

  2. System closed this discussion on 19 May, 2018 06:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac