Skip to content

SignFinal error no longer returned, instead returning a PEM routines:PEM_read_bio:no start line error #408

Closed
@ryanseys

Description

@ryanseys

In fooling around with iojs v1.0.1, I ran the unit tests for GoogleCloudPlatform/gcloud-node which were passing on latest node 0.10.x and now a single test is no longer passing.

It appears that when attempting to sign a PEM, during a failure, a SignFinal error is no longer returned. Instead the error message returned is now error:0906D06C:PEM routines:PEM_read_bio:no start line. I've monkey-patched the test here: googleapis/google-cloud-node#346 but this doesn't handle any other sort of SignFinal error.

I looked at the changelog and it gave no indication that this was a breaking change so I'm assuming it was an unintentional change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoIssues and PRs related to the crypto subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions