Skip to content

vapid fails due to dependency issue (includes solution) #781

@wolframkriesing

Description

@wolframkriesing

I tried to generate keys, as documented on docs/WebPush but got stuck because of this issue: web-push-libs/vapid#105

/usr/local/lib/python3.13/site-packages/py_vapid/__init__.py:200: CryptographyDeprecationWarning: Curve argument must be an instance of an EllipticCurve class. Did you pass a class by mistake? This will be an exception in a future version of cryptography

The solution a simpler way to generate vapid keys use this script is here: https://gist.github.com/Tobiaqs/450a4516ae44813792b7d84028c366c0

Maybe this could be solved just with a docs update?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions