Skip to main content

Python library for the Verified Email Protocol

Project description

This is a python client library for the Verified Email Protocol, a.k.a Mozilla’s BrowserID project. See here for details:

https://wiki.mozilla.org/Identity/Verified_Email_Protocol

And see here for how to integrate it into your website:

https://browserid.org/

To just get something stable and working, it’s currently recommended that you use the browserid.org remote verifier service to check your assertions. Do so like this:

>>> verifier = vep.RemoteVerifier()
>>> data = verifier.verify(BROWSERIDASSERTION, "http://mysite.com")
>>> print data["email"]
"test@example.com"

For improved performance, or if you just want to live on the bleeding edge, you can perform verification locally like so:

>>> verifier = vep.LocalVerifier()
>>> data = verifier.verify(BROWSERIDASSERTION, "http://mysite.com")
>>> print data["email"]
"test@example.com"

As the Verified Email Protocol gets locked down more firmly, using the local verifier will become the preferred method of checking VEP identity assertions.

0.1.1 - 2011-12-01

  • add “diresworb.org” to default list of trusted secondaries

  • implement additional signature algorithms

  • if “hostname/.well-known/host-meta” gives a 404, fall back to “hostname/pk” to find the public key

0.1.0 - 2011-11-23

  • initial release.

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

PyVEP-0.1.1.tar.gz (15.9 kB view details)

Uploaded Source

File details

Details for the file PyVEP-0.1.1.tar.gz.

File metadata

  • Download URL: PyVEP-0.1.1.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyVEP-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb18af968ad16f2a840a312b169375a815e3128a8bf60740a9ec06ad8e814a5f
MD5 fcf5741a5552c704b415b2a5cd54b702
BLAKE2b-256 35115e208a634db860cb1915902b372a77533735c6229ad764d444f01f2f9319

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