You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"OPC parts that are encrypted MUST be associated with the package root through a Encrypted File relationship, and each SHOULD have an entry in the Key Store. If a custom OPC part is not referenced by a Encrypted File relationship it is assumed they are not encrypted and MUST NOT be any entry in the Key store associated to the file"
@martinweismann and @jordig100 I think this is one left over we forgot to add. Just have a question: the text mention package root. I just want to make sure that the relationship to be added is not on the package root model rels, rather at 'package root' rels (the sample provided makes it a bit confusing as external models aren't referenced from the package root rels).
If that's the case, we've the ability to add this relationship to the root model when we detect a part must be wrapped for encryption,
As stated by Secure Content spec item 3.3,
"OPC parts that are encrypted MUST be associated with the package root through a Encrypted File relationship, and each SHOULD have an entry in the Key Store. If a custom OPC part is not referenced by a Encrypted File relationship it is assumed they are not encrypted and MUST NOT be any entry in the Key store associated to the file"
@martinweismann and @jordig100 I think this is one left over we forgot to add. Just have a question: the text mention package root. I just want to make sure that the relationship to be added is not on the package root model rels, rather at 'package root' rels (the sample provided makes it a bit confusing as external models aren't referenced from the package root rels).
If that's the case, we've the ability to add this relationship to the root model when we detect a part must be wrapped for encryption,
lib3mf/Source/Model/Writer/NMR_KeyStoreOpcPackageWriter.cpp
Lines 140 to 145 in 8d4a912
Another option would be to have it right before we finish writing the package
lib3mf/Source/Model/Writer/NMR_KeyStoreOpcPackageWriter.cpp
Lines 162 to 168 in 8d4a912
Let me now what you think.
The text was updated successfully, but these errors were encountered: