|
From:
<dan...@gm...> - 2007-12-13 22:28:20
|
I have tested exactly your script and it works for me... could you please make sure that you are using the same JDK or JRE installation (JAVA_HOME variable) where you deployed the Unlimited Jurisdiction Policy files? Daniel. kcav8or wrote: > +------------------------+ > Jasypt Users List > http://www.jasypt.org > +------------------------+ > > Actually, I'm doing an encrypt. Here are the relevant lines from my batch > file that calls jsypt's encrypt.bat: > > set PW="mypassword" > set ALG="PBEWithMD5AndTripleDES" > call encrypt.bat input=%1 password=%PW% algorithm=%ALG% > > > dfernandez wrote: > >> +------------------------+ >> Jasypt Users List >> http://www.jasypt.org >> +------------------------+ >> >> Then I suppose you are performing a "decrypt" operation, right? >> >> The input you are passing to the decryptor... was encrypted with >> PBEWithMD5AndDES? With the same password, salt, etc..? >> >> Regards, >> Daniel. >> >> >> kcav8or wrote: >> >>> +------------------------+ >>> Jasypt Users List >>> http://www.jasypt.org >>> +------------------------+ >>> >>> Yes, I downloaded the unlimited strength jurisdiction policy files from >>> Sun. >>> >>> >>> dfernandez wrote: >>> >>> >>>> +------------------------+ >>>> Jasypt Users List >>>> http://www.jasypt.org >>>> +------------------------+ >>>> TripleDES requires the unlimited strength jurisdiction policy files? >>>> Have you already installed them? >>>> >>>> You can read about this particular in the FAQ. >>>> >>>> Regards, >>>> Daniel. >>>> >>>> >>>> >>>> On Dec 13, 2007 8:15 PM, kcav8or <kha...@ya...> wrote: >>>> >>>> >>>>> +------------------------+ >>>>> Jasypt Users List >>>>> http://www.jasypt.org >>>>> +------------------------+ >>>>> >>>>> I'm trying to run the CLI with the PBEWithMD5AndTripleDES algorithm, >>>>> but >>>>> when >>>>> I do I get the following error: >>>>> >>>>> Operation not possible (Bad input or parameters) >>>>> >>>>> I want to use this to encrypt certain sensitive configuration file >>>>> properties. If this isn't the right algorithm for this purpose, which >>>>> one >>>>> is? >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/PBEWithMD5AndTripleDES-not-working-with-CLI-tp14322696s21332p14322696.html >>>>> Sent from the Jasypt - Users mailing list archive at Nabble.com. >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> SF.Net email is sponsored by: >>>>> Check out the new SourceForge.net Marketplace. >>>>> It's the best place to buy or sell services >>>>> for just about anything Open Source. >>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>>> _______________________________________________ >>>>> jasypt-users mailing list >>>>> jas...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/jasypt-users >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> SF.Net email is sponsored by: >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services >>>> for just about anything Open Source. >>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>> _______________________________________________ >>>> jasypt-users mailing list >>>> jas...@li... >>>> https://lists.sourceforge.net/lists/listinfo/jasypt-users >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------- >> SF.Net email is sponsored by: >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services >> for just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________ >> jasypt-users mailing list >> jas...@li... >> https://lists.sourceforge.net/lists/listinfo/jasypt-users >> >> >> > > |