Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encryption sub-spec should mention that clients add enc suffix to encrypted files #255

Open
lognaturel opened this issue Nov 19, 2019 · 5 comments

Comments

@lognaturel
Copy link
Member

See the sample manifest at https://opendatakit.github.io/xforms-spec/encryption and issue filed with Central at getodk/central#114.

@MartijnR
Copy link
Contributor

Ah yes, I see now why this is required. It was deliberately omitted but is required information for <upload>-ed files. Sorry about that.

@lognaturel
Copy link
Member Author

lognaturel commented Nov 19, 2019

Oh, I hadn't considered it might be an intentional omission. Can you say more about why it didn't seem necessary? It does seem like the files could keep their original extensions. I imagine the .enc was added so that users could tell at a glance whether their files are encrypted but since it's not enforceable, users could either see the .enc suffix and imagine they're "safe" even when their files aren't encrypted at all or think their files haven't decrypted when they totally have (what @danbjoseph experienced with Central). Does Enketo add the .enc?

@issa-tseng
Copy link
Member

wait so.. .. .. should i not remove .enc?

@lognaturel
Copy link
Member Author

@issa-tseng, if there is an .enc suffix, you should remove it because that is for sure what Collect does now and has always done. But I suppose there's a chance that we might change that in the future depending on how this conversation goes so you shouldn't assume that there will be one (which you don't anyway).

@MartijnR
Copy link
Contributor

MartijnR commented Nov 20, 2019

Can you say more about why it didn't seem necessary?

I was just not so thorough and only considered the submission.xml file and not the media files. However, I was wrong on the former too, and think we should add the .enc extension for both types of files.

Does Enketo add the .enc?

Yes, it does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants