Skip to main content

Simple VAPID header generation library

Project description

# Easy VAPID generation

This minimal library contains the minimal set of functions you need to
generate a VAPID key set and get the headers you'll need to sign a
WebPush subscription update.

This can either be installed as a library or used as a stand along
app.

## App Installation

You'll need `python virtualenv` Run that in the current directory.

Then run
```
bin/pip install -r requirements.txt

bin/python setup.py`install
```
## App Usage

Run by itself, `bin/vapid` will check and optionally create the
public_key.pem and private_key.pem files.

`bin/vapid --sign _claims.json_` will generate a set of HTTP headers
from a JSON formatted claims file. A sample `claims.json` is included
with this distribution.

`bin/vapid --validate _token_` will generate a token response for the
Mozilla WebPush dashboard.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-vapid-0.7.0.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file py-vapid-0.7.0.tar.gz.

File metadata

  • Download URL: py-vapid-0.7.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py-vapid-0.7.0.tar.gz
Algorithm Hash digest
SHA256 cce6c0262a9073c9ade660b9b5cb24a67b799fcaf159952744fae00d621daaeb
MD5 027fe47f9c48244fcb292e554bcb2af2
BLAKE2b-256 dc11d8820773203ec5c5af2fd7b5a199f7d75e8d9d5210b51f22ed55e4d836df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page