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 rfc3161ng
>>> certificate = open('data/certum_certificate.crt', 'rb').read()
>>> rt = rfc3161ng.RemoteTimestamper('http://time.certum.pl', certificate=certificate)
>>> tst = rt.timestamp(data=b'John Doe')
>>> rt.check(tst, data=b'John Doe')
True
>>> rfc3161ng.get_timestamp(tst)
datetime.datetime(2017, 8, 31, 15, 42, 58, tzinfo=tzutc())

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.

Source Distribution

rfc3161ng-2.0.3.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

rfc3161ng-2.0.3-py2.py3-none-any.whl (9.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rfc3161ng-2.0.3.tar.gz.

File metadata

  • Download URL: rfc3161ng-2.0.3.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rfc3161ng-2.0.3.tar.gz
Algorithm Hash digest
SHA256 91ad1bfd531064ac623cf7e27d2b78e82cc3803a76a99554e2f8e99f5b7ace0e
MD5 55e0a99ac4fb3c171bab2916ea75dcdc
BLAKE2b-256 2d90d265a5c66f6ef4c3e55b7c59829a0c6215b8b0281698c5ba1ee041edb901

See more details on using hashes here.

File details

Details for the file rfc3161ng-2.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rfc3161ng-2.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a6d62621c294e2580055e52cfead61f28c461aedae4f95a38aa6f4aeb35f4f3b
MD5 fe90a73d375d5c4e2affa5f69582e19e
BLAKE2b-256 3aa92eac2f042e886516b57f3cff9e66afc7388f4f8e07292418bb26ea41ee06

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