How to decode *.one files in OneNote Online format?

AlexeiSo 81 Reputation points
2021-03-01T13:06:20.587+00:00

Hello!

I have a library that processes *.one files in OneNote 2010/OneNote Online formats.

Unencrypted documents are processed fine. Encrypted documents in OneNote 2010 format also causes no problem.
But I couldn't parse encrypted *.one files in OneNote Online format.

First of all I discovered that OneNote Online format uses different encryption settings: AES-256 with SHA512(OneNote 2010 uses AES-128 with SHA1).

But changing encryption settings didn't help me to read the file.

At the moment I struggle to build Object Group element([MS-FSSHTTPB], 2.2.1.12.6): it contains strange Object Declaration([MS-FSSHTTPB], 2.2.1.12.6.1) with 40 bytes of data. The header says that it is jcidVersionHistoryContent([MS-ONE], 2.2.37) but associated PropertySet is broken...

Is it possible to get clarification about my file to understand what I do wrong?

Thanks!

Sincerely, Alexei.

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
139 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.