Three-step signature (new feature)

73 views
Skip to first unread message

Andre Bernardes

unread,
Apr 20, 2012, 1:33:48 PM4/20/12
to origa...@googlegroups.com
Hi there,

Due to a projects requirement, I'm writing a new feature for origami-pdf, which is signing a PDF in three steps. It consists of:

1. The PDF is prepared to be signed (creating the annotation with the signature widget, with the "null" signature), the message digest is calculated and returned.

2. The digest is signed externally (in my case, by a java applet executed on the client-side).

3. The PDF "null" signature is replaced with the signed digest.

I'm still working on it. It hasn't been throughly tested yet, and It'll probably need a few adjustments to work with multiple signatures.

My question is, would the project maintainers have any interest in merging such a feature in the project?

If so, let me know! My code right know might be sub-optimal and needs some refactoring before being published :-P

Cheers,
André

Adrian Madrid

unread,
Apr 20, 2012, 1:54:14 PM4/20/12
to origa...@googlegroups.com
Sounds very cool. I'd definitely to see it in.

-- 
Adrian Madrid

jena peoples

unread,
Apr 20, 2012, 2:54:43 PM4/20/12
to origa...@googlegroups.com
I'd dig it! Keep us posted and if you need any help let me know. 

~jena

André Bernardes

unread,
Apr 20, 2012, 6:26:07 PM4/20/12
to origa...@googlegroups.com, origa...@googlegroups.com
Thanks for the feedback. I'll probably be working more on it during the next week. I'll be in touch as soon as I have something ready.

Cheers,
André

Sent from my iPad

Guillaume Delugré

unread,
Apr 28, 2012, 10:39:19 PM4/28/12
to origa...@googlegroups.com
Hello Andre,

any submission to the project is always welcome :)

It should be noted that Origami already supports PDF signatures (with the PDF#verify and PDF#sign methods).
However the current implementation is not perfect and lacks some features, including multiple signatures.

I'm not sure about the point of computing the signature externally though. In the current implementation (signature.rb), everything is done in Ruby with the OpenSSL bindings, which seems more coherent to me. But if that kind of flexibility is needed, I'll look at how integrate it into the project. That piece of code probably needs some refactoring anyway.

Regards,
Guillaume

Sajith Amma

unread,
Oct 11, 2012, 6:41:44 AM10/11/12
to origa...@googlegroups.com
Hi Andre,

Any luck with this new 3 step signing process, I also would like to see it in action ?

Kind Regards

Sajith Amma

Sajith Amma

unread,
Nov 3, 2012, 2:24:09 AM11/3/12
to origa...@googlegroups.com
Hey, I found the solution of the problem and implemented for one of my projects

Thanks
-- Sajith
Reply all
Reply to author
Forward
0 new messages