Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Python implementation of the RFC3161 specification, using pyasn1

Project description

rfc3161

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

>>> 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>

Changelog

1.0.7

  • use dateutil to parse genTime

  • fix bad instantiation of UTF8String in PKIFreeText

  • use tox and py.test

Supported by

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