Skip to main content

Python implementation of the RFC3161 specification, using pyasn1

Project description

https://img.shields.io/pypi/l/rfc3161ng.svg Build Status Latest PyPI version Supports Wheel format

A simple client library for cryptographic timestamping service implementing the protocol from RFC3161.

This started as a fork of https://dev.entrouvert.org/projects/python-rfc3161 and has some additional patches such as Python3 support.

Example

>>> import rfc3161
>>> certificate = file('data/certum_certificate.crt').read()
>>> rt = rfc3161.RemoteTimestamper('http://time.certum.pl', certificate=certificate)
>>> rt.timestamp(data='John Doe')
('...', '')
>>> rt.check(_, data='John Doe')
(True, '')
>>> rfc3161.get_timestamp(tst)
datetime.datetime(2014, 4, 25, 9, 34, 16)

Authors

Benjamin Dauvergne <bdauvergne@entrouvert.com> Michael Gebetsroither <michael@mgeb.org> Bas van Oostveen <trbs@trbs.net>

Project details


Download files

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

Files for rfc3161ng, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size rfc3161ng-2.0.1-py2-none-any.whl (9.1 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size rfc3161ng-2.0.1.tar.gz (14.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page