Closed cmlh closed 10 years ago
Hi @cmlh,
This is due to the fact that in v3.4.0 of Maltego all configuration files (including entity definition files) are encrypted. This would explain the problem you are having with generate-entities. What I suggest doing for v3.4.0 and above is export your entities to an mtz and generate-entities against it like so:
shell:mypkgdir$ canari generate-entities -m entities.mtz
Hope that helps.
@allfro,
The fix I proposed was to modify https://github.com/allfro/canari/blob/master/src/canari/commands/generate_entities.py#L163 but I will need to refresh my memory if this is correct since this was sometime ago.
I'll send a pull request for https://github.com/allfro/canari/blob/master/src/canari/commands/generate_entities.py#L163 RSN
I executed "create-entities" (with no arguments) against "Maltego v1.0.1CaseFileCE" and "Maltego v3.4.0CE".
"Maltego v3.4.0CE" triggered the following error on Mac OSX:
No error occurred when "Maltego v1.0.1CaseFileCE" was selected and the subsequently generated /[myPackage]/src/[myPackage]/transforms/common/entities.py is also correct.