What is the problem? Please be detailed.
When decrypting forms using ODK Briefcase, I encounter the following error message:
Processing instance: uuidb09a0688-34e4-4b60-8a4a-f59905f1e153
Error decrypting submission uuidb09a0688-34e4-4b60-8a4a-f59905f1e153 Cause: org.opendatakit.briefcase.model.CryptoException: Error decrypting base64EncryptedKey Cause: javax.crypto.BadPaddingException: data hash wrong skipping....
I've gone through relevant topics on the old forum, and none of the issues raised (out-dated version of Collect, duplicated forms, forms not being finalised, badly generated keys) seem relevant. I've also generated public and private keys on both a Mac and PC and still the above error is happening.
The forms are completing fine, and being sent to the server fine (as well as being pulled from the server, via Briefcase, without issue). The problem is when trying to decrypt them.
What ODK tool and version are you using? And on what device and operating system version?
ODK Collect v1.8.1, ODK Briefcase v1.6.0, ODK Aggregate installed via AppSpot
What steps can we take to reproduce the problem?
Happy to provide the form and public/private keys - this is just a test run.
What you have you tried to fix the problem?
Generated new keys; tried new versions of the form; deleted the '---' at the start and end of the private key (the guidance on the ODK site mentions to only do this for the public key). Still no joy.
Anything else we should know or have? If you have a test form or screenshots or logs, attach here.
As above, happy to upload files!