rubyfocus icon indicating copy to clipboard operation
rubyfocus copied to clipboard

Accessing remote encrypted data?

Open johntrandall opened this issue 5 years ago • 2 comments

Was reading of encrypted data from the OmniSync server ever implamented?

I see that there are #encrypted? methods, but I don't see any code doing the decryption to make the remote data readable. As a result (I think), when trying to access remove data I'm consistently getting the Rubyfocus::OSSFetcherError, "Malformed OmniFocus zip file #{fq_zipfile} error.

It looks like it is not trivial to decrypt the files. See https://discourse.omnigroup.com/t/omnifocus-sync-encryption-gory-technical-details/24611 TL;DR: PBKDF2-SHA256, AESWRAP, AES128-CTR, HMAC-SHA256....

johntrandall avatar Dec 08 '19 18:12 johntrandall

Nah, I had a go at it, but it very rapidly got beyond my scope. Definitely found it to be non-trivial - no libraries or the like that will do it.

jyruzicka avatar Dec 13 '19 23:12 jyruzicka

I was able to decrypt it using this python script from omni

timwis avatar Nov 27 '20 20:11 timwis