oasis-tcs / cti-taxii2

OASIS CTI TC: An official CTI TC repository for TAXII 2 work
https://github.com/oasis-tcs/cti-taxii2
Other
9 stars 4 forks source link

Change integer to be 54 bits in size per RFC 7493 #103

Closed jordan2175 closed 5 years ago

jordan2175 commented 5 years ago

Right now in TAXII we have defined the Integer value to be a 64-bit value, however, due to interoperability issues the IETF defined I-JSON (internet JSON RFC 7493) that says an Integer must be a 54 bit number between the range of ([-(253)+1, (253)-1]). Since the ECMA standards / JavaScript standards also require this and most JSON parsers also require this, it would be best for us to put this restriction in place and follow the industry best practice. This will ensure that STIX data can be used with off the shelf JavaScript and other program language libraries for handling JSON.

jordan2175 commented 5 years ago

This was changed for WD06 based on TC working call consensus and review and acceptance on the full TC call today, 2019-01-17