Skip to content

[Python3 not supported - v1.1/1.2] to_json vaguely broken on some files  #339

@Rafiot

Description

@Rafiot

tl;rd: python3 support is broken in the version 1.1 and 1.2 of the library.

If the XML file contains a TTP in MAEC format, it is not properly converted back to string, making to_json fail.

Example:
'ttps': {'ttps': [{'behavior': {'malware_instances': [{'maec': b'<stix-maec:MAEC xmlns:stix-maec="http://stix.mitre.org/extensions/Malware#MAEC4.1-1"...

I'm pretty sure this problem will happen in many other cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions