3MFConsortium / test_suites

This repository contains 3MF conformance test suites. Each test suite provides coverage for a specific combination of 3MF Core and Extension requirements.
BSD 2-Clause "Simplified" License
7 stars 0 forks source link

Secure content not tested IV size other than 96 bits #89

Open jordig100 opened 11 months ago

jordig100 commented 11 months ago

The spec says:

For the purposes of this specification, AES-GCM SHOULD be used with a 96-bit Initialization Vector (IV), 128-bit Authentication Tag (T) and it MAY contain an optional Additional Authenticated Data (AAD). The cipher text is stored in the file path defined in the parent element with the cypher file format defined in Appendix D. 3MF Cipher File Format.

This means that other IV sizes are also valid. The 96-bit is the recommended size.

JimZuber commented 11 months ago

The test specification does state "All test cases will use a 96 bit initialization vectors and 128 bit tags, although other lengths are allowed by the secure content specification.", so this isn't a surprise. However, it would certianly be easy to add test cases that use other initialization vector bit lengths if desired