News¶
3.6¶
- Ability to set values during Sequence initialization.
3.5¶
- Fix TagMismatch exception completeness during Choice and Set decoding. Previously we will loose offset and decode_path information about concrete TagMismatched entity.
3.4¶
- Strict NumericString’s value sanitation
- Invalid encoding in string types will raise
DecodeError
exception, instead ofUnicode*Error
- Fixed DecodePathDefBy workability with Python 2.x
3.3¶
- Fix nasty BitString decoding bug: it could fail when data follows encoded BitString value. There weren’t any problems when BitString is at the end of Sequence
3.2¶
- Slightly corrected colours, now visible on white background
3.1¶
- Fix bug related to DecodeError showing with DecodePathDefBy entities
- Respect
NO_COLOR
environment variable
3.0¶
pyderasn.decode_path_defby()
is replaced withpyderasn.DecodePathDefBy
- Ability to turn colourized terminal output by calling
pprint(..., with_colours=True)
. You will need termcolor package
2.1¶
- Fixed invalid offset calculation when dealing with DEFINED BY objects having explicit tags
2.0¶
- BIT STRINGs can also be DEFINED BY
- Decoding process can be governed with optional ctx
keyword argument to
decode()
method - defines_by_path option is now decode context option, not a keyword argument
- Ability to do strict validation of defaulted values met in sequence, raising an exception
1.6¶
Ability to skip specified number of bytes (--skip
) in command line
utility.
1.5¶
- Generic decoder’s scheme and pretty printer
(
pyderasn.generic_decoder()
) can be used in libraries. - Ability to specify defines_by_path during command line invocation.
1.4¶
Ability to automatically decode DEFINED BY fields inside SEQUENCEs.
1.3¶
Removed __lt__
/__eq__
from base class, as pylint likes it.
1.2¶
Full rich comparison operators added.
1.1¶
Trivial README addition.
1.0¶
Initial release.