Skip to content

Post-consume script for paperless-ngx, allowing to automatically timestamp uploaded documents against an RFC 3161 timestamping authority.

License

Notifications You must be signed in to change notification settings

Butanal/paperless-tsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

paperless-tsa

Post-consumption script for paperless-ngx, allowing to automatically timestamp uploaded documents against an RFC 3161 timestamping authority.

How to setup

Setup is straightforward: just drop the timestamp_document.sh script somewhere the Paperless server can read it, make it executable, and define the PAPERLESS_POST_CONSUME_SCRIPT environment variable to the path for your new script. More details about post-consumption scripts in the paperless-ngx docs.

Afterwards, for any new uploaded document, the original in the originals folder (eg. mydoc.pdf in /usr/src/paperless/media/documents/originals on Docker) will be accompanied by the associated timestamp response (eg. mydoc.pdf.tsr).

Initial timestamping

The script timestamp_all.sh provides a basic wrapper to timestamp all existing files that were uploaded before installing the post-consumption script.

About

Post-consume script for paperless-ngx, allowing to automatically timestamp uploaded documents against an RFC 3161 timestamping authority.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages