We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Because of https://github.com/oasis-open/cti-stix-validator/blob/master/stix2validator/errors.py#L189, if an Artifact SCO contains decryption_key but not encryption_algorithm it will give an error about url and hashes. There are two instance of oneOf in the schema:
decryption_key
encryption_algorithm
url
hashes
oneOf
Our error prettifying code in the validator needs to distinguish between the two.
Relevant quote from the spec:
[decryption_key] MUST NOT be present when the encryption_algorithm property is absent.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Because of https://github.com/oasis-open/cti-stix-validator/blob/master/stix2validator/errors.py#L189, if an Artifact SCO contains
decryption_key
but notencryption_algorithm
it will give an error abouturl
andhashes
. There are two instance ofoneOf
in the schema:Our error prettifying code in the validator needs to distinguish between the two.
Relevant quote from the spec:
The text was updated successfully, but these errors were encountered: