First off, appreciate your effort into this package.
This is something I ran into when testing it on a bunch of different sample PEM files.
All other sample PEM files worked expect this one.
The sample PEM cert can be download from http://fm4dd.com/openssl/certexamples.htm
** (FunctionClauseError) no function clause matching in List.to_string/1
The following arguments were given to List.to_string/1:
# 1
{:printableString, 'Tokyo'}
Attempted function clauses (showing 1 out of 1):
def to_string(list) when is_list(list)
(elixir) lib/list.ex:883: List.to_string/1
(x509) lib/x509/rdn_sequence.ex:252: X509.RDNSequence.attr_to_string/1
(elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
(elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
(x509) lib/x509/rdn_sequence.ex:154: X509.RDNSequence.to_string/1
First off, appreciate your effort into this package.
This is something I ran into when testing it on a bunch of different sample PEM files. All other sample PEM files worked expect this one. The sample PEM cert can be download from http://fm4dd.com/openssl/certexamples.htm
results in error
I'm on Erlang/OTP 21 [erts-10.2.3]