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
area:containerFile organization R13 to R2018 (spec §3 to §8, §11, §26)area:metadataData sections beside the object stream (§12 to §19, §21, §22, §25, §27)priority:P2Quality and completenessrelease:R2004Affects R2004 filesrelease:R2007Affects R2007 filestype:specImplements or verifies a numbered section of ODA spec v5.4.1
Spec: ODA Open Design Specification for .dwg files v5.4.1, §19 AcDb:Security (p. 98), §5.5.
Scope
Read the security section; with the password supplied, decrypt and read a protected drawing; without it, refuse with a precise error. Read AcDb:Signature.
State on main (2026-10-21)
Password-protected R2007 files are refused; the Security and Signature sections are named only.
Status on one point (main 2bab7b2): the refusal is now typed for the R2004 family too. #315 makes the legacy reader return Error::SectionEncrypted { name } for a section whose §4.5 encryption flag is 1, instead of decompressing the ciphertext and returning it as the section; a flag of 2 (properties only, as in AcDb:FileDepList and AcDb:AppInfo of real files) is still read. The R2007 refusal returns the same variant, and the streaming R2004SectionWalker refused it already. No pinned drawing sets the flag, so the corpus counts did not move; tools/streaming/verify_sections.py repackages four real drawings' sections with one flagged, and both readers refuse that one and read the control.
Unchanged: no protected drawing is read with its password (the corpus holds none), and AcDb:Security and AcDb:Signature are still named only.
area:containerFile organization R13 to R2018 (spec §3 to §8, §11, §26)area:metadataData sections beside the object stream (§12 to §19, §21, §22, §25, §27)priority:P2Quality and completenessrelease:R2004Affects R2004 filesrelease:R2007Affects R2007 filestype:specImplements or verifies a numbered section of ODA spec v5.4.1
Activity
DrunkOnJava commentedon Oct 27, 2026
Status on one point (main 2bab7b2): the refusal is now typed for the R2004 family too. #315 makes the legacy reader return
Error::SectionEncrypted { name }for a section whose §4.5 encryption flag is 1, instead of decompressing the ciphertext and returning it as the section; a flag of 2 (properties only, as inAcDb:FileDepListandAcDb:AppInfoof real files) is still read. The R2007 refusal returns the same variant, and the streamingR2004SectionWalkerrefused it already. No pinned drawing sets the flag, so the corpus counts did not move;tools/streaming/verify_sections.pyrepackages four real drawings' sections with one flagged, and both readers refuse that one and read the control.Unchanged: no protected drawing is read with its password (the corpus holds none), and AcDb:Security and AcDb:Signature are still named only.