Fix typos in the parse_[ber|der]_[u32|u64] doc comments
Add documentation for BerObjectContent variants (#41)
Fixes for clippy
Added
5.0.0
See changelog entries for 5.0.0-beta1 and -beta2 for changes since 4.1
Changed/Fixed
The following changes applies since 5.0.0-beta1, and do not affect 4.x
Fix potential integer underflow in bytes_to_u64
Fix potential stack recursion overflow for indefinite length objects
(Add maximum depth).
Fix potential UB in bitstring_to_u64 with large input and many ignored bits
Fix constructed objects parsing with indefinite length (do not include EOC)
Constructed objects: use InvalidTag everywhere if tag is not expected
Integer parsing functions now all return IntegerTooLarge instead of MapRes
Ensure Indefinite length form is only used in BER constructed objects
Added
Add new error StringInvalidCharset and update string parsing methods
Add methods parse_ber_slice and parse_der_slice to parse an expected Tag and get content as slice
5.0.0-beta2
Changed/Fixed
Consistency: reorder arguments or function callbacks, always set input slice as first argument
(parse_ber_sequence_defined_g, parse_ber_container, parse_ber_tagged_explicit_g, ...)
Make functions parse_ber_sequence_of_v and parse_ber_set_of_v accept generic error types
Added
Add parse_ber_content2, owned version of parse_ber_content, which can directly be combined
with parse_ber_tagged_implicit_g
Add methods to parse DER tagged values and containers (with constraints)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps der-parser from 4.1.0 to 5.0.1.
Changelog
Sourced from der-parser's changelog.
... (truncated)
Commits
c953cef
Prepare release 5.0.1d6bb7f1
Clippy: allow unnecessary_wraps in some functions (to provide regular API)6a8a02f
CI: add dependabot script525ddb7
CI: enable all features for clippy4916574
Fix clippy warnings (explicit lifetimes)b729397
Fix typos in the parse_[ber|der]_[u32|u64] doc comments.fc2595b
Add documentation for BerObjectContent variants (#41)b864514
Prepare release 5.0.093f119a
Improve modules documentationc62e116
Ensure Indefinite length form is only used in BER constructed objectsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)