timestamping_enricher#

Submodules#

Package Contents#

class timestamping_enricher.TimestampingEnricher#

Bases: auto_archiver.core.Enricher

Uses several RFC3161 Time Stamp Authorities to generate a timestamp token that will be preserved. This can be used to prove that a certain file existed at a certain time, useful for legal purposes, for example, to prove that a certain file was not tampered with after a certain date.

The information that gets timestamped is concatenation (via paragraphs) of the file hashes existing in the current archive. It will depend on which archivers and enrichers ran before this one. Inner media files (like thumbnails) are not included in the .txt file. It should run AFTER the hash_enricher.

See https://gist.github.com/Manouchehri/fd754e402d98430243455713efada710 for list of timestamp authorities.

enrich(to_enrich: auto_archiver.core.Metadata) None#

Enriches a Metadata object with additional information or context.

Takes the metadata object to enrich as an argument and modifies it in place, returning None.

download_and_verify_certificate(signed: bytes) list[auto_archiver.core.Media]#