Skip to content

PKey.read only tries PEM #228

@mcr

Description

@mcr

* * _string+ is a DER- or PEM-encoded string containing an arbitrary private

This code says that it will load DER encoded keys, but it does not work when provided with DER,
and looking at the code it seems to try only PEM encodings. I suggest that rather than try to guess all sorts of encodings, that we have a read_der() routine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions