Error decrypting in briefcase after Java update

Hi all,

I've got people abroad gathering data for me. Before I left them I checked
whether I could decrypt the data they had gathered so far. I used ODK
briefcase and everything went fine. Now that I've returned home I find I
can no longer decrypt the data: neither the work they've done in the
meantime, or the work I was able to decrypt before. This is quite
problematic. I get the following error:

Processing instance: Questionnaire_Menage_20130607_2012-01-14_20-23-20
Error decrypting submission
Questionnaire_Menage_20130607_2012-01-14_20-23-20 Cause:
org.opendatakit.briefcase.model.CryptoException: Error
decrypting:submission.xml.enc Cause: java.security.InvalidKeyException:
Illegal key size
FAILED!

Where questionnaire_menage_20130607 is the name of the questionnaire.

My guess is that it is related to a recent Java update. I'm now on Version
7 Update 25, I have no idea what I was on before when it worked, but it was
June 30 and I should have been up to date.

It isn't immediately clear to me how I can downgrade, and whether it would
make sense to do so. Any ideas?

Thanks,
Koen

Koen,

Don't worry: it's just that you need to re-install the Java Cryptography
Extensions (
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.htmlfor
v6,
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.htmlfor
v7). The update must have reverted you to the default encryption
support, which is too weak for ODK.

Best,

Chris

··· On Mon, Jul 15, 2013 at 6:18 AM, Koen wrote:

Hi all,

I've got people abroad gathering data for me. Before I left them I checked
whether I could decrypt the data they had gathered so far. I used ODK
briefcase and everything went fine. Now that I've returned home I find I
can no longer decrypt the data: neither the work they've done in the
meantime, or the work I was able to decrypt before. This is quite
problematic. I get the following error:

Processing instance: Questionnaire_Menage_20130607_2012-01-14_20-23-20
Error decrypting submission
Questionnaire_Menage_20130607_2012-01-14_20-23-20 Cause:
org.opendatakit.briefcase.model.CryptoException: Error
decrypting:submission.xml.enc Cause: java.security.InvalidKeyException:
Illegal key size
FAILED!

Where questionnaire_menage_20130607 is the name of the questionnaire.

My guess is that it is related to a recent Java update. I'm now on Version
7 Update 25, I have no idea what I was on before when it worked, but it was
June 30 and I should have been up to date.

It isn't immediately clear to me how I can downgrade, and whether it would
make sense to do so. Any ideas?

Thanks,
Koen

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Chris,

Thanks for your quick response. I had already tried your solution, but it
turns out my computer has no less than three Java installation folders. Not
sure why this is, but I changed the files in all of them, and now it works
just fine.

Thanks!
Koen

··· On Monday, July 15, 2013 3:05:23 PM UTC+2, Christopher Robert wrote: > > Koen, > > Don't worry: it's just that you need to re-install the Java Cryptography > Extensions ( > http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.htmlfor v6, > http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.htmlfor v7). The update must have reverted you to the default encryption > support, which is too weak for ODK. > > Best, > > Chris > > > > On Mon, Jul 15, 2013 at 6:18 AM, Koen <koen.l...@gmail.com >wrote: > >> Hi all, >> >> I've got people abroad gathering data for me. Before I left them I >> checked whether I could decrypt the data they had gathered so far. I used >> ODK briefcase and everything went fine. Now that I've returned home I find >> I can no longer decrypt the data: neither the work they've done in the >> meantime, or the work I was able to decrypt before. This is quite >> problematic. I get the following error: >> >> Processing instance: Questionnaire_Menage_20130607_2012-01-14_20-23-20 >> Error decrypting submission >> Questionnaire_Menage_20130607_2012-01-14_20-23-20 Cause: >> org.opendatakit.briefcase.model.CryptoException: Error >> decrypting:submission.xml.enc Cause: java.security.InvalidKeyException: >> Illegal key size >> FAILED! >> >> Where questionnaire_menage_20130607 is the name of the questionnaire. >> >> My guess is that it is related to a recent Java update. I'm now on >> Version 7 Update 25, I have no idea what I was on before when it worked, >> but it was June 30 and I should have been up to date. >> >> It isn't immediately clear to me how I can downgrade, and whether it >> would make sense to do so. Any ideas? >> >> Thanks, >> Koen >> >> >> >> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > >