Jasypt Users Forum

(no subject)

View: New views
5 Messages — Rating Filter:   Alert me  

(no subject)

by Mike Baranski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+------------------------+
  Jasypt Users List      
  http://www.jasypt.org 
+------------------------+
I'm having the following problem, note that I have downloaded and installed
(per the readme file) the new jars for "Strong" encryption.  Can someone
suggest what I might be doing wrong (I added the JAVA_HOME echo to the shell
script)?

[root@sirrus bin]# ./encrypt.sh input="informix" password="SMCsecur3"
algorithm="TripleDES"
Java Home: /usr/java/latest

----ENVIRONMENT-----------------

Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.6.0_02-b05



----ARGUMENTS-------------------

algorithm: TripleDES
input: informix
password: SMCsecur3



----ERROR-----------------------

java.security.spec.InvalidKeySpecException: Inappropriate key specification


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users

Re: (no subject)

by dfernandez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+------------------------+
  Jasypt Users List      
  http://www.jasypt.org 
+------------------------+


TripleDES is not a valid PBE algorithm.

You should be using something like PBEWithMD5AndTripleDES, as is used in some examples in the website.

Regards,
Daniel


On Tue, Sep 15, 2009 at 4:41 PM, Mike Baranski <list-subscriptions@...> wrote:
+------------------------+
 Jasypt Users List
 http://www.jasypt.org
+------------------------+
I'm having the following problem, note that I have downloaded and installed
(per the readme file) the new jars for "Strong" encryption.  Can someone
suggest what I might be doing wrong (I added the JAVA_HOME echo to the shell
script)?

[root@sirrus bin]# ./encrypt.sh input="informix" password="SMCsecur3"
algorithm="TripleDES"
Java Home: /usr/java/latest

----ENVIRONMENT-----------------

Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.6.0_02-b05



----ARGUMENTS-------------------

algorithm: TripleDES
input: informix
password: SMCsecur3



----ERROR-----------------------

java.security.spec.InvalidKeySpecException: Inappropriate key specification


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users

Re: (no subject)

by Mike Baranski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+------------------------+
  Jasypt Users List      
  http://www.jasypt.org 
+------------------------+
Wonderful, thanks for the help.  Is there an algorithm list somewhere?  I
looked for it but could not find one (even in the javadocs).

Thanks,
Mike.

>-----Original Message-----
>From: Daniel Fernández [mailto:dfernandez@...]
>Sent: Tuesday, September 15, 2009 11:40 AM
>To: Jasypt users list
>Subject: Re: [jasypt-users] (no subject)
>
>
>TripleDES is not a valid PBE algorithm.
>
>You should be using something like PBEWithMD5AndTripleDES, as is used in
>some examples in the website.
>
>Regards,
>Daniel
>
>
>
>On Tue, Sep 15, 2009 at 4:41 PM, Mike Baranski <list-
>subscriptions@...> wrote:
>
>
> +------------------------+
> Jasypt Users List
> http://www.jasypt.org
> +------------------------+
> I'm having the following problem, note that I have downloaded and
>installed
> (per the readme file) the new jars for "Strong" encryption.  Can
>someone
> suggest what I might be doing wrong (I added the JAVA_HOME echo to
>the shell
> script)?
>
> [root@sirrus bin]# ./encrypt.sh input="informix"
>password="SMCsecur3"
> algorithm="TripleDES"
> Java Home: /usr/java/latest
>
> ----ENVIRONMENT-----------------
>
> Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM
>1.6.0_02-b05
>
>
>
> ----ARGUMENTS-------------------
>
> algorithm: TripleDES
> input: informix
> password: SMCsecur3
>
>
>
> ----ERROR-----------------------
>
> java.security.spec.InvalidKeySpecException: Inappropriate key
>specification
>
>
> ------------------------------------------------------------------
>------------
> Come build with us! The BlackBerry® Developer Conference in
>SF, CA
> is the only developer event you need to attend this year.
>Jumpstart your
> developing skills, take BlackBerry mobile applications to market
>and stay
> ahead of the curve. Join us from November 9-12, 2009. Register
>now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> jasypt-users mailing list
> jasypt-users@...
> https://lists.sourceforge.net/lists/listinfo/jasypt-users
>
>



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users

Re: (no subject)

by dfernandez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+------------------------+
  Jasypt Users List      
  http://www.jasypt.org 
+------------------------+


The algorithms are provided by your JCE implementation, not jasypt. So you should query your JCE directly and see what's available for you in your providers.

Regards,
Daniel.



On Tue, Sep 15, 2009 at 6:07 PM, Mike Baranski <list-subscriptions@...> wrote:
+------------------------+
 Jasypt Users List
 http://www.jasypt.org
+------------------------+
Wonderful, thanks for the help.  Is there an algorithm list somewhere?  I
looked for it but could not find one (even in the javadocs).

Thanks,
Mike.

>-----Original Message-----
>From: Daniel Fernández [mailto:dfernandez@...]
>Sent: Tuesday, September 15, 2009 11:40 AM
>To: Jasypt users list
>Subject: Re: [jasypt-users] (no subject)
>
>
>TripleDES is not a valid PBE algorithm.
>
>You should be using something like PBEWithMD5AndTripleDES, as is used in
>some examples in the website.
>
>Regards,
>Daniel
>
>
>
>On Tue, Sep 15, 2009 at 4:41 PM, Mike Baranski <list-
>subscriptions@...> wrote:
>
>
>       +------------------------+
>        Jasypt Users List
>        http://www.jasypt.org
>       +------------------------+
>       I'm having the following problem, note that I have downloaded and
>installed
>       (per the readme file) the new jars for "Strong" encryption.  Can
>someone
>       suggest what I might be doing wrong (I added the JAVA_HOME echo to
>the shell
>       script)?
>
>       [root@sirrus bin]# ./encrypt.sh input="informix"
>password="SMCsecur3"
>       algorithm="TripleDES"
>       Java Home: /usr/java/latest
>
>       ----ENVIRONMENT-----------------
>
>       Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM
>1.6.0_02-b05
>
>
>
>       ----ARGUMENTS-------------------
>
>       algorithm: TripleDES
>       input: informix
>       password: SMCsecur3
>
>
>
>       ----ERROR-----------------------
>
>       java.security.spec.InvalidKeySpecException: Inappropriate key
>specification
>
>
>       ------------------------------------------------------------------
>------------
>       Come build with us! The BlackBerry&reg; Developer Conference in
>SF, CA
>       is the only developer event you need to attend this year.
>Jumpstart your
>       developing skills, take BlackBerry mobile applications to market
>and stay
>       ahead of the curve. Join us from November 9&#45;12, 2009. Register
>now&#33;
>       http://p.sf.net/sfu/devconf
>       _______________________________________________
>       jasypt-users mailing list
>       jasypt-users@...
>       https://lists.sourceforge.net/lists/listinfo/jasypt-users
>
>



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users

Re: (no subject)

by Niklasr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+------------------------+
  Jasypt Users List      
  http://www.jasypt.org 
+------------------------+

both any DES and any md5 are stricly meant broken and can smoothly tunnel to stronger, I heard and inform, sha or rsa are strongest (rsa you can claim copyright Euclid). integrate with maven is very convenient, build activates download:
<dependency>
<groupId>org.jasypt</groupId>
<artifactId>jasypt</artifactId>
<version>1.3</version>
<scope>compile</scope>
</dependency>
variable algorithm is very good forwardcompatible pattern, like math.h any functions returns, any function has variables and providerindependent line seems
passwordEncryptor.encryptPassword(userPassword);
thanks to all, project succeds even the likely
code disponible montao.googlecode.com
spanish m.Koolbusiness.com?hl=es



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users