• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Blowfish Security Algorithm missing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blowfish Security Algorithm missing?


  • Subject: Re: Blowfish Security Algorithm missing?
  • From: Kieran Kelleher <email@hidden>
  • Date: Tue, 26 Apr 2011 17:22:32 -0400

Ok, further investigationreveals the value of sun.boot.class.path is different between my MacPro, where I can't get a blowfish crypter, and my laptop, where everything works.

The value of sun.boot.class.path is different on both machines!! Note the ADDITIONAL sunpkcs11.jar, apple_provider.jar and sunjce_provider.jar in non-working MacPro!

Anyone know WHERE this is defined in OS X so I can verofy this as the problem with Wonder blowfish crypter??!

 ...... (btw, I tried -Xbootclasspath as a launch arg without success)

MacPro (Blowfish/ECB/NoPadding Crypter not available)
-----------------------------------------------------
sun boot classpath = 
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar
/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/apple_provider.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/dnsns.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/localedata.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/sunjce_provider.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/sunpkcs11.jar

MBP Laptop (Blowfish/ECB/NoPadding IS available)
------------------------------------------------------
sun boot classpath = 
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar
/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar


On Apr 26, 2011, at 1:34 PM, Kieran Kelleher wrote:

I restarted my MacPro last night and today, I began getting this error in one of my apps on MacPro dev machine:

java.security.NoSuchAlgorithmException: Cannot find any provider supporting Blowfish/ECB/NoPadding
  at javax.crypto.Cipher.getInstance(DashoA13*..:Unknown)
  at er.extensions.crypting.ERXAbstractBlowfishCrypter.createBlowfishCipher(ERXAbstractBlowfishCrypter.java:76)
  at er.extensions.crypting.ERXAbstractBlowfishCrypter.decryptCipher(ERXAbstractBlowfishCrypter.java:109)
  at er.extensions.crypting.ERXAbstractBlowfishCrypter.decrypt(ERXAbstractBlowfishCrypter.java:147)
  at wk.eofextensions.EncodedString.blowfishDecode(EncodedString.java:206)
  at wk.eofextensions.EncodedString.createInstanceFromEncodedString(EncodedString.java:57)
(stack trace truncated ......)

It is failing on this line in Wonder:
Cipher cipher = Cipher.getInstance("Blowfish/ECB/NoPadding");

The last update I did w Apr 17 (see attached screenshot of InstallHistory.plist). My laptop is identical OS X 10.6.7, Java update 4, Wonder version with exception of these updates. Yet, I know this code worked last week after those updates, so what gives?

Any ideas/suggestions?

Kieran

PS. And yeah, I did rebuild entire workspace, quit and restart the machine already .... more than once :-(

<InstallHistory.plist.jpeg>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Blowfish Security Algorithm missing? [SOLVED]
      • From: Kieran Kelleher <email@hidden>
References: 
 >Blowfish Security Algorithm missing? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Optimal number of WorkerThreads
  • Next by Date: Re: AjaxUpdateContainer ?
  • Previous by thread: Blowfish Security Algorithm missing?
  • Next by thread: Re: Blowfish Security Algorithm missing? [SOLVED]
  • Index(es):
    • Date
    • Thread