dishmaker

Results 81 comments of dishmaker

Well, sans-io `rc-zip` definitely wins. async_zip::ZipEntryReader [does not implement Clone](https://docs.rs/async_zip/latest/src/async_zip/base/read/io/entry.rs.html#21-27).

You can use `hex!` btw https://github.com/RustCrypto/formats/blob/9ca99ba5ee29e59473171b7a4ab9fcf048d4b6ce/der/tests/derive.rs#L800-L804

I think the inside `SignedData` does not decode as intended. [Spoiler] pretty-printing ContentInfo ```rust let content_info = ContentInfo::from_ber(EXAMPLE_BER).unwrap(); // using der feature `clarify` use der::{ClarifyFlavor, EncodeClarifyExt}; let clarified = content_info.to_der_clarify(ClarifyFlavor::RustHex).unwrap();...

> which would allow fallible conversions from usize. Did you mean infallible?

Is there any real use-case for 4 GB+ DER-encoded objects? My arguments against infallible `Length(usize)` is that: - on 64-bit `Header` struct will be larger, therefore slower (see https://github.com/mbrubeck/mediumvec )...

Well, 1. `ObjectIdentifier::TAG` is equal to `Tag::ObjectIdentifier`. Sorry for the breaking change. https://github.com/RustCrypto/formats/pull/1851#discussion_r2249318528 You can create a type alias like: ```rust type ObjectIdentifier20 = der::ObjectIdentifier ``` 2. `AnyRef` does not...

> data: &'a [u8] looks perfect, but this does not work either for me Oh, sorry, i think you should add `type = "OCTET STRING"` ```rust #[asn1(context_specific = "0", tag_mode...

> Is there anything preventing AnyRef to have the same functionality it had? Sorry for opinionated changes in `der`. The same functionality should work, but only with `EXPLICIT` encoding. Per...

I think you can use `SequenceRef` with `IMPLICIT` for the tag to be constructed.