rfc3161ng
Python implementation of the RFC3161 specification, using pyasn1
What it is and what it does
rfc3161ng is a Python client library for RFC3161 cryptographic timestamping services. It lets you request timestamps from remote timestamping authorities to cryptographically prove that data existed at a specific moment in time, and verify those timestamps later. The library handles the protocol details of communicating with timestamping services and parsing the responses.
The package depends on pyasn1, cryptography, requests, python-dateutil, and pyasn1-modules to handle ASN.1 encoding, cryptographic operations, HTTP communication, and date handling. It supports both Python 2.7 and Python 3.6, though the project is no longer maintained. You provide a certificate from your chosen timestamping provider and point the client at their service endpoint.
Use it for:
- Prove the existence and integrity of a document at a specific time for legal or compliance purposes.
- Add cryptographic timestamps to digital signatures to establish when they were created.
- Verify that archived data has not been altered since it was timestamped by a trusted authority.
- Implement audit trails that rely on third-party time attestation for non-repudiation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Implements RFC3161 cryptographic timestamping, allowing you to request and verify timestamps from remote timestamping services to prove when data existed.
No. The package is abandoned (last release 2020-10-30) with no active maintenance or security updates. While it has low install friction and a permissive license, using an unmaintained cryptographic library is a security risk. If you need RFC3161 timestamping, seek an actively maintained alternative or evaluate whether the risk of using an outdated library is acceptable for your use case.
Install
rfc3161ng on PyPI
pip
pip install rfc3161nguv
uv add rfc3161ngpoetry
poetry add rfc3161ngInstalling rfc3161ng
Before you install
Low install friction with a pure-Python wheel distribution. However, the package is abandoned—last release was 2020-10-30, over 2114 days ago. No active maintenance or security updates should be expected.
License in practice
MIT license (permissive) allows commercial and private use with minimal restrictions, requiring only attribution.
Quickstart
import rfc3161ng
certificate = open('path/to/cert.crt', 'rb').read()
timestamper = rfc3161ng.RemoteTimestamper('http://freetsa.org/tsr', certificate=certificate)
tst = timestamper.timestamp(data=b'your data')
result = timestamper.check(tst, data=b'your data')
Requires a valid certificate file from the timestamping service provider and network access to the remote timestamping authority.
Verify before relying
- Whether the package's dependencies (pyasn1, cryptography, requests, python-dateutil, pyasn1-modules) receive active security updates.
- Compatibility with current versions of cryptography and pyasn1 libraries.
- Whether public timestamping providers listed in the documentation remain operational.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — pyasn1, python-dateutil, pyasn1-modules, requests, cryptography |
| Maintenance | abandoned — 2,114 days since the last release |
| First released | |
| Downloads | 99,789/month — #13,011 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rfc3161ng-2.1.3-py2.py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
rfc3161-clientImplements RFC 3161 Time-Stamp Protocol to…
permissive · top 5,000 on PyPI
opentimestamps-clientCommand-line tool to create and verify…
copyleft · top 15,000 on PyPI
opentimestampsA Python library for creating and verifying…
copyleft · top 15,000 on PyPI
pyRFC3339Parses and generates RFC 3339-compliant…
permissive · top 5,000 on PyPI
asn1cryptoA pure Python library for parsing and…
permissive · top 1,000 on PyPI
endesiveEndesive signs and verifies digital signatures…
unclear · top 15,000 on PyPI
oscryptooscrypto provides TLS sockets, key generation,…
permissive · top 1,000 on PyPI
M2CryptoM2Crypto wraps OpenSSL via SWIG to provide…
permissive · top 15,000 on PyPI
service-identityVerifies that cryptography or pyOpenSSL…
permissive · top 5,000 on PyPI
ndg-httpsclientProvides enhanced HTTPS support for Python's…
permissive · top 5,000 on PyPI