gofpdf icon indicating copy to clipboard operation
gofpdf copied to clipboard

Digitally signed pdf documents

Open chmike opened this issue 7 years ago • 15 comments

I need support for digitally signed pdf documents. The goal is to ensure that no one beside the signer ("notar") can modify the document. This is needed for contracts or quotes. Is this supported by gofpdf ? 

chmike avatar Jun 08 '17 14:06 chmike

Digital signing is not currently supported by gofpdf but it would be a very welcome feature. I am sure the Go standard library has everything we need to do this. Do you have any leads as to how it is done?

jung-kurt avatar Jun 08 '17 16:06 jung-kurt

Here is a document I just found that seam to explain it. I can't help more than that. I hope some pdf encoding expert can understand it and see what needs to be done.

chmike avatar Jun 09 '17 11:06 chmike

Thanks, @chmike -- I'll look into this.

jung-kurt avatar Jun 09 '17 11:06 jung-kurt

Hi guys, is there any support for this? I might be able to help as well.

raliste avatar Jan 11 '18 00:01 raliste

There is currently no support for this. Your help would be very welcome.

jung-kurt avatar Jan 11 '18 01:01 jung-kurt

Good news, I have a draft of this -- I'm going to try to put up a WIP PR tonight or tomorrow for feedback.

mpingram avatar Feb 19 '18 22:02 mpingram

Great!

jung-kurt avatar Feb 19 '18 23:02 jung-kurt

@mpingram how did you get on with this? 😃

adamlc avatar Apr 03 '18 10:04 adamlc

Looking for contributors on #182. @raliste @mpingram

itsbalamurali avatar Jun 17 '18 13:06 itsbalamurali

In the meantime, I have ported my C++ signer to Go: https://git.janouch.name/p/pdf-simple-sign https://godoc.org/janouch.name/pdf-simple-sign/pdf

It works for Cairo-produced documents, is a working PoC, and can be used as a post-processing step.

I hope it helps. I can provide consultation and reviews.

pjanx avatar Oct 04 '18 11:10 pjanx

Great work, @pjanx! I look forward to working with this.

jung-kurt avatar Oct 04 '18 12:10 jung-kurt

how is that going?@itsbalamurali

sayhei avatar Feb 13 '19 05:02 sayhei

We are also looking for same solution in our project. Any Update ? Any help wanted ? @itsbalamurali @jung-kurt

yindia avatar Jul 11 '19 16:07 yindia

There have been a couple steps toward a solution but no working pull request with tests has been submitted.

Any help wanted ?

Definitely.

jung-kurt avatar Jul 11 '19 18:07 jung-kurt

@evalsocket we can port the functionality of https://git.janouch.name/p/pdf-simple-sign into gofpdf.

itsbalamurali avatar Jul 11 '19 19:07 itsbalamurali