jung-kurt / gofpdf

A PDF document generator with high level support for text, drawing and images
http://godoc.org/github.com/jung-kurt/gofpdf
MIT License
4.32k stars 782 forks source link

Digitally signed pdf documents #115

Open chmike opened 7 years ago

chmike commented 7 years ago

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 ? 

jung-kurt commented 7 years ago

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?

chmike commented 7 years ago

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.

jung-kurt commented 7 years ago

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

raliste commented 6 years ago

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

jung-kurt commented 6 years ago

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

mpingram commented 6 years ago

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

jung-kurt commented 6 years ago

Great!

adamlc commented 6 years ago

@mpingram how did you get on with this? 😃

itsbalamurali commented 6 years ago

Looking for contributors on #182. @raliste @mpingram

pjanx commented 6 years ago

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.

jung-kurt commented 6 years ago

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

sayhei commented 5 years ago

how is that going?@itsbalamurali

yindia commented 5 years ago

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

jung-kurt commented 5 years ago

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

Any help wanted ?

Definitely.

itsbalamurali commented 5 years ago

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