1. What is the issue? Please be detailed.
I've developped an encrypted form with Kobotoolbox.
I use Briefcase 1.15.0 to Pull my test data, it work fine.
Problem arise when I pass to Export tab, select my form, and clic the Export button: ODK Briefcase 1.15.0 says "Export has started" but it launch a Error message: Unexpected error. See logs. When I see the briefcase.log file, it says, in its two firsts lines (among a total of 43 lines):
2024-08-09 09:08:38,049 [Thread-17] ERROR o.o.briefcase.ui.export.ExportPanel - Error while exporting forms
org.opendatakit.briefcase.model.CryptoException: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/OAEPWithSHA256AndMGF1Padding
2. What steps can we take to reproduce this issue?
If needed, I can share the form, but I think the problem is no causing by the form itself, it's a java.security question. Recently, I have update Java because I'm not able to Pull my data. With Java updated, Pull occurrs with success.
3. What have you tried to fix the issue?
I have asked in Kobotoolbox forum, and also in this forum (here I find 2 items talking about this problem, but I can't solve my problem; they are
Decrypting with custom-built Briefcase (May 2012) and Exporting encrypted encrypted csv file using ODK Briefcase - #4 by Ryan_Bendo (Mar 2017)
In addition, after see the post Problem on export with ODK Briefcase I've tryed using other Briercase versions, like v1.17.4 and v1.18.0, but, with minor differences, results are exactly the same... NoSuchAlgorithmExceptcion.
4. Upload any forms or screenshots you can share publicly below.
Following one of the topics mentioned above (Problem on export with ODK Briefcase, that suggest to use other Briefcase version, more precisely, v1.16), I've used also ODK Briefcase v1.16.3, but the result is the same, NoSuchAlgorithmException: can't find any provider that support RSA...
Please note that Briefcase has not been updated since Nov 2020 and Briefcase is no longer being updated.
What version of Java did you update your system to? Before end-of-life, Briefcase was verified on Java 11.
1 Like
Thanks a lot, @danbjoseph
My Java version is 8, updating 411
Do you think it's the cause of my problem?
After many and many tryings, I can’t export my encrypted forms.
It seems a Java related problem: Briefcase is not jet maintained (last updated was in nov 2020), and it was tested against Java 11 (probably jdk-11.0.9). I’ve tryed to unistall Java (jre-8.411), with the aim to install the referred Java 11, but I can’t do that.
Finally, I think if it’s easier to move over ODK-Central… perhaps somebody can say me if I can have ODK-Central on my PC (Windows 10 Pro)?
Thanks a lot to the whole team, I wish to use theses tools but I’m thinking it’s not feasible!!
To self-host Central, you must have a domain name (e.g., central.example.com) mapped to your server. For security reasons, Central will not work with just an IP address (e.g., 93.184.216.34). It is strongly recommended to use Linux, preferably the latest Ubuntu Server LTS, as the host operating system (natively or in a virtual machine) for your Central install.
You can find all the information about Central at https://docs.getodk.org/central-intro/
Ok, thanks a lot @danbjoseph !!