8000 Verify multiple signature by shermanelee92 · Pull Request #65 · gdelugre/origami · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Verify multiple signature #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shermanelee92
Copy link

Co-authored-by: Shermane Lee shermaneleeqianhui@gmail.com
Co-authored-by: Alex Ng ngjh1991@hotmail.com

We added the ability to ve 8000 rify a PDF that is signed multiple times.

Current behaviour fails due to the ByteRange check during extracting of signed data. We changed it such that only the last signature in the PDF is checked for invalid ByteRange.

The signatures function will extract all return signatures within the PDF.

@romarioliveira25
Copy link

Anyway of list certificates in certification chain order?

ndbroadbent added a commit to DocSpring/origami-docspring that referenced this pull request Mar 25, 2025
This change adds the ability to verify a PDF that is signed multiple times.
Current behavior fails due to the ByteRange check during extraction of signed data.
Now only the last signature in the PDF is checked for invalid ByteRange.

The signatures function will extract all signatures within the PDF.

Original PR: gdelugre#65
Authors: Shermane Lee, Alex Ng

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@ndbroadbent
Copy link

Hi @shermanelee92, thank you for this PR!

I've forked the origami library and will be actively maintaining it here: https://github.com/docspring/origami-docspring

It is released on Rubygems under the name origami-docspring: https://rubygems.org/gems/origami-docspring
Only the gem was renamed - you still call require "origami" and use the Origami module.

I have just merged your PR into our fork, see: DocSpring@68d0cd5

This has been released in the latest version on Rubygems: origami-docspring version 2.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0