I was using this function to decode a pem of pkcs#7, but from 1.3.0 version it's returning: Unparsed DER bytes remain after ASN.1 parsing. Best regards,