Ideally, Marshal (and arguably Unmarshal) should recurse through pointers as they do interfaces. Of course, encoding/asn1 is... not really the best ASN.1 library, so maybe we should put a comment on it saying to use crypto/cryptobytes and call it a day.
The text was updated successfully, but these errors were encountered:
changed the title
encoding/asn1: Marshal rejects encoding T* even if T is encodeableJan 12, 2022