Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Insert trusted timestamp to PDF

597 views
Skip to first unread message

Hegedüs,

unread,
Dec 7, 2011, 2:41:12 PM12/7/11
to pytho...@python.org
Hello Everyone,

I'm looking for a tool, which can add a trusted timestamp to an
existing PDF file (and can sign - but currently only have to add
TS).

Could anybody help?


Thanks:


a.

Irmen de Jong

unread,
Dec 7, 2011, 2:59:11 PM12/7/11
to
On 07-12-11 20:41, Hegedüs, Ervin wrote:
> Hello Everyone,
>
> I'm looking for a tool, which can add a trusted timestamp to an
> existing PDF file (and can sign - but currently only have to add
> TS).

Note sure what a 'trusted timestamp' is, but pdftk can manipulate pdf
files. See http://www.pdflabs.com/docs/pdftk-man-page/
(nothing to do with Python btw!)

Irmen

Matteo Boscolo

unread,
Dec 7, 2011, 3:57:07 PM12/7/11
to pytho...@python.org
have a look at:
http://www.boscolini.eu/Boscolini/index.php?option=com_content&view=article&id=64%3Anumbering-pdf-file-in-python&catid=38%3Aprogramming&Itemid=55&lang=en
<http://www.boscolini.eu/Boscolini/index.php?option=com_content&view=article&id=64%3Anumbering-pdf-file-in-python&catid=38%3Aprogramming&Itemid=55&lang=en>
here I number some pdf files ..

regards,
Matteo

Il 07/12/2011 20:41, Hegedüs, Ervin ha scritto:
> Hello Everyone,
>
> I'm looking for a tool, which can add a trusted timestamp to an
> existing PDF file (and can sign - but currently only have to add
> TS).
>

Hegedüs,

unread,
Dec 8, 2011, 12:09:21 AM12/8/11
to Irmen de Jong, pytho...@python.org
Hello Irmen,

On Wed, Dec 07, 2011 at 08:59:11PM +0100, Irmen de Jong wrote:
> On 07-12-11 20:41, Hegedüs, Ervin wrote:
> >Hello Everyone,
> >
> >I'm looking for a tool, which can add a trusted timestamp to an
> >existing PDF file (and can sign - but currently only have to add
> >TS).
>
> Note sure what a 'trusted timestamp' is,
that's very important to understand what does it mean -
otherwise it's just groping :)

http://tools.ietf.org/html/rfc3161
http://en.wikipedia.org/wiki/Trusted_timestamp

> but pdftk can manipulate
> pdf files. See http://www.pdflabs.com/docs/pdftk-man-page/
> (nothing to do with Python btw!)

looks like it couldn't, but I'll contact them.


thanks:


a.

Alec Taylor

unread,
Dec 8, 2011, 12:28:01 AM12/8/11
to Hegedüs,, pytho...@python.org, Irmen de Jong
Just digitally sign the document using python-gnupg

/problem-solved!

On Thu, Dec 8, 2011 at 4:09 PM, Hegedüs, <air...@gmail.com> wrote:
> Hello Irmen,
>
> On Wed, Dec 07, 2011 at 08:59:11PM +0100, Irmen de Jong wrote:
>> On 07-12-11 20:41, Hegedüs, Ervin wrote:
>> >Hello Everyone,
>> >
>> >I'm looking for a tool, which can add a trusted timestamp to an
>> >existing PDF file (and can sign - but currently only have to add
>> >TS).
>>
>> Note sure what a 'trusted timestamp' is,
> that's very important to understand what does it mean -
> otherwise it's just groping :)
>
> http://tools.ietf.org/html/rfc3161
> http://en.wikipedia.org/wiki/Trusted_timestamp
>
>> but pdftk can manipulate
>> pdf files. See http://www.pdflabs.com/docs/pdftk-man-page/
>> (nothing to do with Python btw!)
>
> looks like it couldn't, but I'll contact them.
>
>
> thanks:
>
>
> a.
>
> --
> http://mail.python.org/mailman/listinfo/python-list

Hegedüs,

unread,
Dec 8, 2011, 2:06:16 AM12/8/11
to Alec Taylor, pytho...@python.org, Irmen de Jong
Hello,

On Thu, Dec 08, 2011 at 04:28:01PM +1100, Alec Taylor wrote:
> Just digitally sign the document using python-gnupg
>
> /problem-solved!

using gnupg to sign a document != add a timestamp to a pdf.

May be this doc helps to clear what's the different, and what I want:

http://learn.adobe.com/wiki/download/attachments/52658564/digital_signatures_in_acrobat_9x.pdf?version=1



thanks:


a.

marco...@gmail.com

unread,
Dec 8, 2011, 2:39:20 AM12/8/11
to pytho...@python.org
Hi, take a look at this online tool: http://easytimestamping.com

It is able to apply RFC3161 compliant trusted timestamps, issued by accredited Certification Authorities.

The timestamp is applied to the pdf in detached mode (i.e. as a separate .tsr file)

If you need to integrate the timestamping process in a python app, be patient, we will release an API and a command line version very soon.

--
Marco Rucci
securo.it

marco...@gmail.com

unread,
Dec 8, 2011, 2:39:20 AM12/8/11
to comp.lan...@googlegroups.com, pytho...@python.org

Alec Taylor

unread,
Dec 8, 2011, 2:42:47 AM12/8/11
to comp.lan...@googlegroups.com, pytho...@python.org

Hegedüs,

unread,
Dec 8, 2011, 2:59:31 AM12/8/11
to comp.lan...@googlegroups.com, pytho...@python.org
hello,

On Wed, Dec 07, 2011 at 11:39:20PM -0800, marco...@gmail.com wrote:
> Hi, take a look at this online tool: http://easytimestamping.com

I need to create the PDF on my server - it could be any online
service, but it must to have any kind of API.

> It is able to apply RFC3161 compliant trusted timestamps, issued by accredited Certification Authorities.

that's no problem in Python... :)

http://pypi.python.org/pypi/rfc3161/

> The timestamp is applied to the pdf in detached mode (i.e. as a separate .tsr file)

I'm afraid that's not good for us - we need to propagate PDF
files in enbedded mode.

> If you need to integrate the timestamping process in a python app, be patient, we will release an API and a command line version very soon.

sounds good - what do you think, when will you release that
about?


Thanks:


a.

marco...@gmail.com

unread,
Dec 8, 2011, 6:02:23 AM12/8/11
to comp.lan...@googlegroups.com, pytho...@python.org
On Thursday, December 8, 2011 8:59:31 AM UTC+1, Hegedüs, Ervin wrote:
> > The timestamp is applied to the pdf in detached mode (i.e. as a separate .tsr file)
>
> I'm afraid that's not good for us - we need to propagate PDF
> files in enbedded mode.

I'll do some research and let you know if it is feasible. Anyway, it should be possible to embed it later.

> > If you need to integrate the timestamping process in a python app, be patient, we will release an API and a command line version very soon.
>
> sounds good - what do you think, when will you release that
> about?

The API is basically ready. We are only missing the authentication method. In less then a couple weeks it should be complete.

If you want, I can give you access to a beta version of the API, so you can start integrating the service with your application and then add the required authentication process. Can I contact you privately by email?

Thanks for your interest,

Marco.

marco...@gmail.com

unread,
Dec 8, 2011, 6:02:23 AM12/8/11
to pytho...@python.org
On Thursday, December 8, 2011 8:59:31 AM UTC+1, Hegedüs, Ervin wrote:
> > The timestamp is applied to the pdf in detached mode (i.e. as a separate .tsr file)
>
> I'm afraid that's not good for us - we need to propagate PDF
> files in enbedded mode.

I'll do some research and let you know if it is feasible. Anyway, it should be possible to embed it later.

> > If you need to integrate the timestamping process in a python app, be patient, we will release an API and a command line version very soon.
>
> sounds good - what do you think, when will you release that
> about?

0 new messages