openpreserve / odf-validator

Open source Open Document Format (ODF) validation
http://odf.openpreservation.org/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

ODF_1: Detection of password protection #89

Closed carlwilson closed 7 months ago

carlwilson commented 8 months ago

The file MUST NOT have read or write password protection

The files must be unlocked before the archive is submitted to Rigsarkivet. Rigsarkivet will not accept a list of passwords with which to perform file unlocking.

The password can be manually obtained and input to unlock and resave the file without password protection. Obtaining the password may involve searching through records management systems, other registries or asking the creator of the file. When an ODF document is password protected the file structure of the bundle remains the same, but contents (of XML files in package) are encrypted. Hence it will be possible to parse the file META-INF\manifest.xml and check for statements like manifest:salt for each xml file.