ITADN

Security info not parsed !

#529Openxkostrna 创建于 2025-02-13
X
xkostrnacommented
# Detailed problem description I've created a project in ETS6. This project contains secure device and this project is protected by password. Using your library I'm able to pass path to a project export and project password to an object which can then parse the export to Python. Like this: ```py knxproj: XKNXProj = XKNXProj(path="C:/..../myproject.knxproj", password="..") data = knxproj.parse() ``` This is pretty good however there is very important information missing in the result of the parse method ! Missing information are: <ul> <li>DeviceAuthenticationCode</li> <li>DeviceAuthenticationCodeHash</li> <li>DeviceManagementPassword</li> <li>DeviceManagementPasswordHash</li> <li>ToolKey</li> </ul> Device which I've used for secure project is IP Interface Secure N 148/23 and this device has also passwords for it's bus interfaces. How I found this: 1. I've manually extracted project export using 7zip. 2. I found another .zip file in the project called P-0267 so I've un-zipped it using project password hash (your function in xknxproject.zip.extractor -> _generate_ets6_zip_password). 3. Inside P-0267 I've found file called 0.xml and there was the missing data listed above. # Question Do you plan on adding any feature to add this secure info ? Maybe some typed dict called secure_info. Thank you very much !
2 条评论