Skip to content
This repository was archived by the owner on Jun 13, 2018. It is now read-only.
This repository was archived by the owner on Jun 13, 2018. It is now read-only.

VAPID keys generated by npm web-push do not work #3

@mbemowski

Description

@mbemowski

The method for creating VAPID keys using node web-push, that is described in the readme, does not work correctly. The tool does not include a padding that is required by BouncyCastle to correctly generate the EC keys. However, they work in the node web-push CLI itself.

I could not find a solution for this issue for a long time because I assumed that the keys are valid. I had to use the web-push-libs/webpush-java CLI to generate the VAPID keys and then it finally worked.

Please update the readme and consider adding CLI for generating keys, like in the webpush-java.

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