[jira] [Commented] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14681849#comment-14681849 ] vakhtang koroghlishvili commented on PDFBOX-1848: - PDFBOX-2776 Depends on PDFBOX-1848. Commit this firstly. Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 2.1.0 Attachments: CreateTSASignature.java.patch, TSA-SIG-LOOKS-LIKE-THIS.png We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13946328#comment-13946328 ] vakhtang koroghlishvili commented on PDFBOX-1847: - John Hewson 1) In my patch I was using org.apache.pdfbox.exceptions class. In the final revision I can't find that class. where does they are? 2) I have just change that exception for testing. I have tested org.apache.pdfbox.examples.signature.CreateSignature and everything works well. 3) At the moment I'm testing org.apache.pdfbox.examples.signature.CreateTSASignature (That is document level signature using TSA response). That was working well, not something wrong happens. Adobe reader tells me that: There are errors in the formatting or information contained in the signature (Support information: SigDict/Contants illegal data)l I will see that's wrong happens. TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 2.0.0 Reporter: vakhtang koroghlishvili Assignee: John Hewson Fix For: 2.0.0 Attachments: CreateSignature-updated.java.patch, TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Comment Edited] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13946328#comment-13946328 ] vakhtang koroghlishvili edited comment on PDFBOX-1847 at 3/25/14 9:28 AM: -- John Hewson 1) In my patch I was using org.apache.pdfbox.exceptions class. In the final revision I can't find that class. where does they are? 2) I have just change that exception for testing. I have tested org.apache.pdfbox.examples.signature.CreateSignature and everything works well. 3) At the moment I'm testing org.apache.pdfbox.examples.signature.CreateTSASignature (That is document level signature using TSA response). That was working well, but now something wrong happens. Adobe reader tells me that: There are errors in the formatting or information contained in the signature (Support information: SigDict/Contants illegal data)l I will see that's wrong happens. was (Author: v.koroghlishvili): John Hewson 1) In my patch I was using org.apache.pdfbox.exceptions class. In the final revision I can't find that class. where does they are? 2) I have just change that exception for testing. I have tested org.apache.pdfbox.examples.signature.CreateSignature and everything works well. 3) At the moment I'm testing org.apache.pdfbox.examples.signature.CreateTSASignature (That is document level signature using TSA response). That was working well, not something wrong happens. Adobe reader tells me that: There are errors in the formatting or information contained in the signature (Support information: SigDict/Contants illegal data)l I will see that's wrong happens. TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 2.0.0 Reporter: vakhtang koroghlishvili Assignee: John Hewson Fix For: 2.0.0 Attachments: CreateSignature-updated.java.patch, TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13944551#comment-13944551 ] vakhtang koroghlishvili commented on PDFBOX-1847: - Sorry, I was busy :-) I will test it tomorrow :-) TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 2.0.0 Reporter: vakhtang koroghlishvili Assignee: John Hewson Fix For: 2.0.0 Attachments: CreateSignature-updated.java.patch, TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13934946#comment-13934946 ] vakhtang koroghlishvili commented on PDFBOX-1847: - 1. We can do it with java's build-in SHA-256 message digest too. :) you can change with it too. There is no difference :) 2. It is just a number, not special. Then it will be better if we add document hash for nonce too. 3. you are right. 4. I was testing TSA for emails. we should remove this - If we have nothing in common with emails, we shouldn't use this header. 5. I don't remember... I will test it... In additional, in.readObject() might throw java.io.EOFException or java.io.IOException. So method needs some refactoring :) 6. Sure. Then I will add document hash to the nonce too :) For more security :) TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 2.0.0 Reporter: vakhtang koroghlishvili Assignee: John Hewson Fix For: 2.0.0 Attachments: CreateSignature-updated.java.patch, TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-1881) Visual Signature created by other lib not printable via PDFBox
[ https://issues.apache.org/jira/browse/PDFBOX-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13890762#comment-13890762 ] vakhtang koroghlishvili commented on PDFBOX-1881: - in your example, visible signature contains text and image too. As I understand you don't have text too, does not it? Visual Signature created by other lib not printable via PDFBox -- Key: PDFBOX-1881 URL: https://issues.apache.org/jira/browse/PDFBOX-1881 Project: PDFBox Issue Type: Bug Components: PDModel Affects Versions: 1.6.0, 1.8.4 Environment: Win7, Java7 32bit Reporter: Matthias Küng Attachments: PDFBox_VisSignature_Print.pdf The attached pdf with the visual signature is created by another tool and I want to print out the document. This basically works - only the images of the signatures are missing. These are displayed in Adobe Reader and Foxit Reader. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1847: Affects Version/s: 2.0.0 TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: CreateSignature-updated.java.patch, TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1848: Affects Version/s: 2.0.0 Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: CreateTSASignature.java.patch, TSA-SIG-LOOKS-LIKE-THIS.png We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1822) Signature byte range is Invalid
[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879107#comment-13879107 ] vakhtang koroghlishvili commented on PDFBOX-1822: - I'have tested and everything is well. Andreas, thank you for this patch. :) Signature byte range is Invalid --- Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1822) Signature byte range is Invalid
[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1822: Attachment: unsigned_signed_fix.pdf I attach fixed version document. Signature byte range is Invalid --- Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf, unsigned_signed_fix.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1857) Attachment damages singature
[ https://issues.apache.org/jira/browse/PDFBOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879110#comment-13879110 ] vakhtang koroghlishvili commented on PDFBOX-1857: - the patch of PDFBOX-1822 is solution of this issue. I have tested and this issue is already fixed. Attachment damages singature Key: PDFBOX-1857 URL: https://issues.apache.org/jira/browse/PDFBOX-1857 Project: PDFBox Issue Type: Bug Components: Parsing, PDFReader, Signing, Utilities, Writing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: jack Assignee: Thomas Chojecki Priority: Blocker Attachments: attach.txt, original.pdf, original[signed].pdf, original[with-attachment].pdf, original[with-attachment][signed].pdf, original[with-attachment]_signed.pdf I have PDF document. 1) Adobe reader reads document well. 2) I sign document (using pdfbox-examples) and everything is well 3) Then I try to attach file to original PDF (Code is written in the pdfbox web page - in the cookBook). 4) Adobe reader reads attached document well. everything is well. 5) Now I have document with attachment. 6) I try to sign that document (I mean document with attachment). And I have 2 problem: First: when I open document, Adobe reader tells me that signature byte range is invalid. Second: when I try to close document (I mean to close adobe reader), Adobe reader tells me that: Do you want to save changes to original[with-attachment][signed] before closing? -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Issue Comment Deleted] (PDFBOX-1857) Attachment damages singature
[ https://issues.apache.org/jira/browse/PDFBOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1857: Comment: was deleted (was: that is result of file. everything is well.) Attachment damages singature Key: PDFBOX-1857 URL: https://issues.apache.org/jira/browse/PDFBOX-1857 Project: PDFBox Issue Type: Bug Components: Parsing, PDFReader, Signing, Utilities, Writing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: jack Assignee: Thomas Chojecki Priority: Blocker Attachments: attach.txt, original.pdf, original[signed].pdf, original[with-attachment].pdf, original[with-attachment][signed].pdf, original[with-attachment]_signed.pdf I have PDF document. 1) Adobe reader reads document well. 2) I sign document (using pdfbox-examples) and everything is well 3) Then I try to attach file to original PDF (Code is written in the pdfbox web page - in the cookBook). 4) Adobe reader reads attached document well. everything is well. 5) Now I have document with attachment. 6) I try to sign that document (I mean document with attachment). And I have 2 problem: First: when I open document, Adobe reader tells me that signature byte range is invalid. Second: when I try to close document (I mean to close adobe reader), Adobe reader tells me that: Do you want to save changes to original[with-attachment][signed] before closing? -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1857) Attachment damages singature
[ https://issues.apache.org/jira/browse/PDFBOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1857: Attachment: original[with-attachment]_signed.pdf that is result of file. everything is well. Attachment damages singature Key: PDFBOX-1857 URL: https://issues.apache.org/jira/browse/PDFBOX-1857 Project: PDFBox Issue Type: Bug Components: Parsing, PDFReader, Signing, Utilities, Writing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: jack Assignee: Thomas Chojecki Priority: Blocker Attachments: attach.txt, original.pdf, original[signed].pdf, original[with-attachment].pdf, original[with-attachment][signed].pdf, original[with-attachment]_signed.pdf I have PDF document. 1) Adobe reader reads document well. 2) I sign document (using pdfbox-examples) and everything is well 3) Then I try to attach file to original PDF (Code is written in the pdfbox web page - in the cookBook). 4) Adobe reader reads attached document well. everything is well. 5) Now I have document with attachment. 6) I try to sign that document (I mean document with attachment). And I have 2 problem: First: when I open document, Adobe reader tells me that signature byte range is invalid. Second: when I try to close document (I mean to close adobe reader), Adobe reader tells me that: Do you want to save changes to original[with-attachment][signed] before closing? -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1822) Signature byte range is Invalid
[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879123#comment-13879123 ] vakhtang koroghlishvili commented on PDFBOX-1822: - Álison Fernandes I'have tested your issue too. As I see , everything is well. Signature byte range is Invalid --- Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf, unsigned_signed_fix.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (PDFBOX-1822) Signature byte range is Invalid
[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879109#comment-13879109 ] vakhtang koroghlishvili edited comment on PDFBOX-1822 at 1/22/14 8:13 PM: -- I have attached fixed version document. was (Author: v.koroghlishvili): I attach fixed version document. Signature byte range is Invalid --- Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf, unsigned_signed_fix.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Issue Comment Deleted] (PDFBOX-1855) StackOverflowError in PDAcroForm with getFields()
[ https://issues.apache.org/jira/browse/PDFBOX-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1855: Comment: was deleted (was: As I see, PDAcroForm tries to create field (Line 204). But we are stack in the method of PDFiels named getKids(); ) StackOverflowError in PDAcroForm with getFields() - Key: PDFBOX-1855 URL: https://issues.apache.org/jira/browse/PDFBOX-1855 Project: PDFBox Issue Type: Bug Components: Text extraction Affects Versions: 1.8.3 Environment: OS Windows, Java 1.7 Reporter: Christian Czech Attachments: 6ca_001.pdf Hi, an StackOverflowError occur! My Code: PDAcroForm acroForm = catalog.getAcroForm(); if (acroForm != null) { log.info(currentDocument + found fields); List fields = null; try { //acroForm. fields = acroForm.getFields(); ... Can you look at the problem? Thanks -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1857) Attachment damages singature
[ https://issues.apache.org/jira/browse/PDFBOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877834#comment-13877834 ] vakhtang koroghlishvili commented on PDFBOX-1857: - I found a solution at stackowerflow: http://stackoverflow.com/questions/21257507/attachment-damages-singature/21260292?noredirect=1#21260292 Attachment damages singature Key: PDFBOX-1857 URL: https://issues.apache.org/jira/browse/PDFBOX-1857 Project: PDFBox Issue Type: Bug Components: Parsing, PDFReader, Signing, Utilities, Writing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: jack Priority: Blocker Attachments: attach.txt, original.pdf, original[signed].pdf, original[with-attachment].pdf, original[with-attachment][signed].pdf I have PDF document. 1) Adobe reader reads document well. 2) I sign document (using pdfbox-examples) and everything is well 3) Then I try to attach file to original PDF (Code is written in the pdfbox web page - in the cookBook). 4) Adobe reader reads attached document well. everything is well. 5) Now I have document with attachment. 6) I try to sign that document (I mean document with attachment). And I have 2 problem: First: when I open document, Adobe reader tells me that signature byte range is invalid. Second: when I try to close document (I mean to close adobe reader), Adobe reader tells me that: Do you want to save changes to original[with-attachment][signed] before closing? -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1822) Signature byte range is Invalid
[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877838#comment-13877838 ] vakhtang koroghlishvili commented on PDFBOX-1822: - Discussion at stackoverflow: http://stackoverflow.com/questions/21257507/attachment-damages-singature/21260292?noredirect=1#21260292 The same issue was opened in PDFBOX-1857 Signature byte range is Invalid --- Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (PDFBOX-1822) Signature byte range is Invalid
[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877838#comment-13877838 ] vakhtang koroghlishvili edited comment on PDFBOX-1822 at 1/21/14 8:44 PM: -- Discussion at stackoverflow: http://stackoverflow.com/questions/21257507/attachment-damages-singature/21260292?noredirect=1#21260292 The same issue was opened here: PDFBOX-1857 was (Author: v.koroghlishvili): Discussion at stackoverflow: http://stackoverflow.com/questions/21257507/attachment-damages-singature/21260292?noredirect=1#21260292 The same issue was opened in PDFBOX-1857 Signature byte range is Invalid --- Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1855) StackOverflowError in PDAcroForm with getFields()
[ https://issues.apache.org/jira/browse/PDFBOX-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13876688#comment-13876688 ] vakhtang koroghlishvili commented on PDFBOX-1855: - As I see, PDAcroForm tries to create field (Line 204). But we are stack in the method of PDFiels named getKids(); StackOverflowError in PDAcroForm with getFields() - Key: PDFBOX-1855 URL: https://issues.apache.org/jira/browse/PDFBOX-1855 Project: PDFBox Issue Type: Bug Components: Text extraction Affects Versions: 1.8.3 Environment: OS Windows, Java 1.7 Reporter: Christian Czech Attachments: 6ca_001.pdf Hi, an StackOverflowError occur! My Code: PDAcroForm acroForm = catalog.getAcroForm(); if (acroForm != null) { log.info(currentDocument + found fields); List fields = null; try { //acroForm. fields = acroForm.getFields(); ... Can you look at the problem? Thanks -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1847: Attachment: CreateSignature-updated.java.patch I'm uploading updated version of patch TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: CreateSignature-updated.java.patch, TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1848: Attachment: CreateTSASignature.java.patch After you commit PDFBOX-1847, you can patch this too. Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Reporter: vakhtang koroghlishvili Attachments: CreateTSASignature.java.patch We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1848: Attachment: TSA-SIG-LOOKS-LIKE-THIS.png Result of signing it like that. I'm attaching Image of my screen Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: CreateTSASignature.java.patch, TSA-SIG-LOOKS-LIKE-THIS.png We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1848: Affects Version/s: 1.8.4 Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: CreateTSASignature.java.patch, TSA-SIG-LOOKS-LIKE-THIS.png We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1847: Attachment: resultOfSigning.jpg TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1847: Attachment: TSATimeSignature.patch TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (PDFBOX-1847) TSA Time Signature
vakhtang koroghlishvili created PDFBOX-1847: --- Summary: TSA Time Signature Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1847: Attachment: (was: TSATimeSignature.patch) TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1847: Attachment: TSATimeSignature.patch TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1847) TSA Time Signature
[ https://issues.apache.org/jira/browse/PDFBOX-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13871961#comment-13871961 ] vakhtang koroghlishvili commented on PDFBOX-1847: - I'have tested with many timestamping authorit servers, and it works well! :) TSA Time Signature -- Key: PDFBOX-1847 URL: https://issues.apache.org/jira/browse/PDFBOX-1847 Project: PDFBox Issue Type: Improvement Components: Signing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: TSATimeSignature.patch, resultOfSigning.jpg When we was signing document, we was using time from our time. For more security we can use Time Stamp server. Trusted timestamping is the process of securely keeping track of the creation and modification time of a document. Security here means that no one — not even the owner of the document — should be able to change it once it has been recorded provided that the timestamper's integrity is never compromised.(wiki) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1848: Description: We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) was: We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Reporter: vakhtang koroghlishvili We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (PDFBOX-1848) Time Stamp Document Level Sigature
vakhtang koroghlishvili created PDFBOX-1848: --- Summary: Time Stamp Document Level Sigature Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Reporter: vakhtang koroghlishvili We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. What sometimes we need to sign document with TSA too. I mean that in this case ,signer certificate is TSA Certificate. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, might be change architect design and etc.. So, please assign this it to me :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1848: Component/s: Signing Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Reporter: vakhtang koroghlishvili We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. What sometimes we need to sign document with TSA too. I mean that in this case ,signer certificate is TSA Certificate. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, might be change architect design and etc.. So, please assign this it to me :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1848: Description: We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) was: We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. What sometimes we need to sign document with TSA too. I mean that in this case ,signer certificate is TSA Certificate. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, might be change architect design and etc.. So, please assign this it to me :) Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Reporter: vakhtang koroghlishvili We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13872145#comment-13872145 ] vakhtang koroghlishvili commented on PDFBOX-1848: - No problem :) thank you very much :) Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Reporter: vakhtang koroghlishvili We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13872145#comment-13872145 ] vakhtang koroghlishvili edited comment on PDFBOX-1848 at 1/15/14 2:53 PM: -- No problem :) thank you :) was (Author: v.koroghlishvili): No problem :) thank you very much :) Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Reporter: vakhtang koroghlishvili We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Comment Edited] (PDFBOX-1848) Time Stamp Document Level Sigature
[ https://issues.apache.org/jira/browse/PDFBOX-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13872145#comment-13872145 ] vakhtang koroghlishvili edited comment on PDFBOX-1848 at 1/15/14 3:20 PM: -- ok ... :) was (Author: v.koroghlishvili): No problem :) thank you :) Time Stamp Document Level Sigature -- Key: PDFBOX-1848 URL: https://issues.apache.org/jira/browse/PDFBOX-1848 Project: PDFBox Issue Type: Improvement Components: Signing Reporter: vakhtang koroghlishvili We need TSA Document Level signature modulo too! At the moment we sign document with our certificate. But... sometimes we need to sign document with TSA too. This is important part of signing. Sometimes this is very very very important- for instance when we will implement PAdES 4 profile this module will be essential. without that Document Secure Store will not work :) I'm working on this improvement. I'will finish this soon. It's almost done. I only must add some java docs, and might be I change architect design and etc.. So, please assign this it to me :) I will upload patch as soon as possible :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (PDFBOX-1846) NonSequentialPDFParser Error
vakhtang koroghlishvili created PDFBOX-1846: --- Summary: NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Issue Comment Deleted] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Comment: was deleted (was: Document looks like this) NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Attachment: NonSequentialPDFParser.java.patch NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Attachment: testNUlll.pdf NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Attachment: NonSequentialPDFParser.java.patch NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Attachment: (was: NonSequentialPDFParser.java.patch) NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Attachment: NonSequentialPDFParser.java.patch NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Attachment: (was: NonSequentialPDFParser.java.patch) NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1846: Attachment: NULLS.jpg Document looks like this NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (PDFBOX-1846) NonSequentialPDFParser Error
[ https://issues.apache.org/jira/browse/PDFBOX-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13870963#comment-13870963 ] vakhtang koroghlishvili commented on PDFBOX-1846: - oh.. yes... you are right! :) thanks :) NonSequentialPDFParser Error Key: PDFBOX-1846 URL: https://issues.apache.org/jira/browse/PDFBOX-1846 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 1.8.4 Reporter: vakhtang koroghlishvili Assignee: Timo Boehme Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, testNUlll.pdf What happens when you have a document and there is many NULL-s (p.s it is zeros in byte) at the end of the document? Someone send me document like this. It was created by one software. No Problem Then I try to parse it... and we have one problem: Exception in thread main java.io.IOException: Missing end of file marker '%%EOF' at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329) at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767) I'm attaching sample document, Image, and fixing patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1822) Signature byte range is Invalid
[ https://issues.apache.org/jira/browse/PDFBOX-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1822: Attachment: unsigned-signed.pdf unsigned.pdf damaged-sig.jpg araxis-merge - compare two document.jpg Signature byte range is Invalid --- Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (PDFBOX-1822) Signature byte range is Invalid
vakhtang koroghlishvili created PDFBOX-1822: --- Summary: Signature byte range is Invalid Key: PDFBOX-1822 URL: https://issues.apache.org/jira/browse/PDFBOX-1822 Project: PDFBox Issue Type: Bug Components: Parsing, PDModel, PDModel.AcroForm, Signing Affects Versions: 1.8.3, 1.8.4, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: araxis-merge - compare two document.jpg, damaged-sig.jpg, unsigned-signed.pdf, unsigned.pdf On person send me a unsigned PDF document. He wanted to sign it. When I try to sign it (using pad box), I have some problem. After signing adobe reader tells me The signature byre range is invalid. I will attach original and signed document. I think, it is PDF box parser error. another signature libraries sign document very well. I'm searching the problem at the moment, in order to fix it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (PDFBOX-1766) [PATCH] Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1766: Attachment: Docs_Update.patch I also change and add some documentation. :) Everything is well :) [PATCH] Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: New Feature Components: PDModel, Signing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Assignee: Thomas Chojecki Priority: Critical Labels: patch, signature, visual Attachments: Docs_Update.patch, VisibleSignature.patch In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1766) [PATCH] Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1766: Attachment: sample.pdf Signature.jpg signature looks like this. I attach the sample too [PATCH] Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: New Feature Components: PDModel, Signing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Assignee: Thomas Chojecki Priority: Critical Labels: patch, signature, visual Attachments: Docs_Update.patch, Signature.jpg, VisibleSignature.patch, sample.pdf In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1780) previous revision is damaged after signing
[ https://issues.apache.org/jira/browse/PDFBOX-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1780: Attachment: fixed.patch patch of fixing previous revision is damaged after signing -- Key: PDFBOX-1780 URL: https://issues.apache.org/jira/browse/PDFBOX-1780 Project: PDFBox Issue Type: Bug Components: Parsing, Signing, Writing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: fixed.jpg, fixed.patch, original-signed -[FIXED].pdf, original-signed [DAMAGED].pdf, original-signed [ORIGINAL].pdf Ihave PDF file which was signed by some other application. When I try to sign it with PDFbox, previous revision is damaged. I have discussion at stackoverflow, with Michael Klink. http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 when we see some changes merely was structural. Some changes was just rounding problem - ISSUE 1778. When I test, problem of damaged signature was caused from structural change [where there must be direct reference, there was indirect reference and etc..] So we solve that problem. I will upload damaged PDF document, fixed pdf, and the patch too. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1780) previous revision is damaged after signing
[ https://issues.apache.org/jira/browse/PDFBOX-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1780: Attachment: fixed.jpg fixed version now looks like this previous revision is damaged after signing -- Key: PDFBOX-1780 URL: https://issues.apache.org/jira/browse/PDFBOX-1780 Project: PDFBox Issue Type: Bug Components: Parsing, Signing, Writing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: fixed.jpg, fixed.patch, original-signed -[FIXED].pdf, original-signed [DAMAGED].pdf, original-signed [ORIGINAL].pdf Ihave PDF file which was signed by some other application. When I try to sign it with PDFbox, previous revision is damaged. I have discussion at stackoverflow, with Michael Klink. http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 when we see some changes merely was structural. Some changes was just rounding problem - ISSUE 1778. When I test, problem of damaged signature was caused from structural change [where there must be direct reference, there was indirect reference and etc..] So we solve that problem. I will upload damaged PDF document, fixed pdf, and the patch too. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1780) previous revision is damaged after signing
[ https://issues.apache.org/jira/browse/PDFBOX-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1780: Description: Ihave PDF file which was signed by some other application. When I try to sign it with PDFbox, previous revision is damaged. I have discussion at stackoverflow, with Michael Klink. http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 when we see some changes merely was structural. Some changes was just rounding problem - ISSUE 1778. When I test, problem of damaged signature was caused from structural change [when there must be direct reference, there was indirect reference and etc..] So we solve that problem. I will upload damaged PDF document, fixed pdf, and the patch too. was: Ihave PDF file which was signed by some other application. When I try to sign it with PDFbox, previous revision is damaged. I have discussion at stackoverflow, with Michael Klink. http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 when we see some changes merely was structural. Some changes was just rounding problem - ISSUE 1778. When I test, problem of damaged signature was caused from structural change [where there must be direct reference, there was indirect reference and etc..] So we solve that problem. I will upload damaged PDF document, fixed pdf, and the patch too. previous revision is damaged after signing -- Key: PDFBOX-1780 URL: https://issues.apache.org/jira/browse/PDFBOX-1780 Project: PDFBox Issue Type: Bug Components: Parsing, Signing, Writing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: fixed.jpg, fixed.patch, original-signed -[FIXED].pdf, original-signed [DAMAGED].pdf, original-signed [ORIGINAL].pdf Ihave PDF file which was signed by some other application. When I try to sign it with PDFbox, previous revision is damaged. I have discussion at stackoverflow, with Michael Klink. http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 when we see some changes merely was structural. Some changes was just rounding problem - ISSUE 1778. When I test, problem of damaged signature was caused from structural change [when there must be direct reference, there was indirect reference and etc..] So we solve that problem. I will upload damaged PDF document, fixed pdf, and the patch too. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (PDFBOX-1780) previous revision is damaged after signing
vakhtang koroghlishvili created PDFBOX-1780: --- Summary: previous revision is damaged after signing Key: PDFBOX-1780 URL: https://issues.apache.org/jira/browse/PDFBOX-1780 Project: PDFBox Issue Type: Bug Components: Parsing, Signing, Writing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original-signed -[FIXED].pdf, original-signed [DAMAGED].pdf, original-signed [ORIGINAL].pdf Ihave PDF file which was signed by some other application. When I try to sign it with PDFbox, previous revision is damaged. I have discussion at stackoverflow, with Michael Klink. http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 when we see some changes merely was structural. Some changes was just rounding problem - ISSUE 1778. When I test, problem of damaged signature was caused from structural change [where there must be direct reference, there was indirect reference and etc..] So we solve that problem. I will upload damaged PDF document, fixed pdf, and the patch too. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1780) previous revision is damaged after signing
[ https://issues.apache.org/jira/browse/PDFBOX-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1780: Attachment: original-signed [ORIGINAL].pdf original-signed -[FIXED].pdf original-signed [DAMAGED].pdf testing pdf files. previous revision is damaged after signing -- Key: PDFBOX-1780 URL: https://issues.apache.org/jira/browse/PDFBOX-1780 Project: PDFBox Issue Type: Bug Components: Parsing, Signing, Writing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original-signed -[FIXED].pdf, original-signed [DAMAGED].pdf, original-signed [ORIGINAL].pdf Ihave PDF file which was signed by some other application. When I try to sign it with PDFbox, previous revision is damaged. I have discussion at stackoverflow, with Michael Klink. http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 when we see some changes merely was structural. Some changes was just rounding problem - ISSUE 1778. When I test, problem of damaged signature was caused from structural change [where there must be direct reference, there was indirect reference and etc..] So we solve that problem. I will upload damaged PDF document, fixed pdf, and the patch too. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13819933#comment-13819933 ] vakhtang koroghlishvili commented on PDFBOX-1778: - I solve rounding problem, but I have the same problem - when we try to sign the pdf documen with PDFbox, previous revision is damaged (firs revision was created by another software). The structural changes probably are caused by the quirk of PDFBox to force its preference of which kinds of objects should be direct or indirect onto existing objects it touches. Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13820214#comment-13820214 ] vakhtang koroghlishvili commented on PDFBOX-1778: - Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great. I will add the patch. Thank you. Tilman Hausherr thank you Martin Schröder Thank you. :) Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13820214#comment-13820214 ] vakhtang koroghlishvili edited comment on PDFBOX-1778 at 11/12/13 4:05 PM: --- Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you, my friend :) Tilman Hausherr thank you Martin Schröder Thank you. I will add the patch. :) was (Author: v.koroghlishvili): Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you. Tilman Hausherr thank you Martin Schröder Thank you. I will add the patch. :) Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13820214#comment-13820214 ] vakhtang koroghlishvili edited comment on PDFBOX-1778 at 11/12/13 4:05 PM: --- Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you. Tilman Hausherr thank you Martin Schröder Thank you. I will add the patch. :) was (Author: v.koroghlishvili): Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great. I will add the patch. Thank you. Tilman Hausherr thank you Martin Schröder Thank you. :) Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13820214#comment-13820214 ] vakhtang koroghlishvili edited comment on PDFBOX-1778 at 11/12/13 4:07 PM: --- Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you, my friend :) It was caused by structural changes - indirect/direct references was changed. Tilman Hausherr thank you Martin Schröder Thank you. I will add the patch. :) was (Author: v.koroghlishvili): Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you, my friend :) Tilman Hausherr thank you Martin Schröder Thank you. I will add the patch. :) Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13820214#comment-13820214 ] vakhtang koroghlishvili edited comment on PDFBOX-1778 at 11/12/13 4:08 PM: --- Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you, my friend :) It was caused by structural changes - indirect/direct references was changed. :) I will attach my patch was (Author: v.koroghlishvili): Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you, my friend :) It was caused by structural changes - indirect/direct references was changed. Tilman Hausherr thank you Martin Schröder Thank you. I will add the patch. :) Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13820214#comment-13820214 ] vakhtang koroghlishvili edited comment on PDFBOX-1778 at 11/12/13 4:13 PM: --- Michael Klink I have already fixed that problem , in the apache pdfbox core libs (which made structural changes) and now everything works great.Thank you, my friend :) It was caused because - indirect/direct references was changed. :) I will attach that patch was (Author: v.koroghlishvili): Michael Klink I have already fixed that problem , in the apache pdfbox core (which causes structural changes) and now everything works great.Thank you, my friend :) It was caused by structural changes - indirect/direct references was changed. :) I will attach my patch Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (PDFBOX-1778) Rounding issue in generated PDF file
vakhtang koroghlishvili created PDFBOX-1778: --- Summary: Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSNumber. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1778: Description: We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text. {code} public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } {code} was: We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSNumber. Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text. {code} public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } {code} -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1778: Description: We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text. public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } {code} was: We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text. {code} public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } {code} Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text. public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } {code} -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1778: Description: We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } was: We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text. public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } {code} Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1778: Attachment: saved.pdf original.pdf From attached files original.pdf is original PDF. And saved.pdf is file modified by code in description. As you can see values for /WhitePoint, /Gamma and /Matrix are changed in saved.pdf. Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (PDFBOX-1778) Rounding issue in generated PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13819486#comment-13819486 ] vakhtang koroghlishvili commented on PDFBOX-1778: - Do you mean changes of direct arrays into indirect? PDFbox creates that structure. How can we fix that problem, what do you think? Rounding issue in generated PDF file Key: PDFBOX-1778 URL: https://issues.apache.org/jira/browse/PDFBOX-1778 Project: PDFBox Issue Type: Bug Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Attachments: original.pdf, saved.pdf We have PDF file which was signed by some other application. When we try to sign it with PDFbox, previous revision is damaged. We did some investigations and found such problem: (question on stackoverflow is here: http://stackoverflow.com/questions/19903884/pdf-document-is-modified-by-another-revision/19905271?noredirect=1#19905271 ) Some PDF tags are changed in new revisions. For example values of following tags: /WhitePoint /Gamma /Matrix are changed from values like this: 0.9505 to values like this: 0.9505000114 We think this is problem of converting float/double inside COSFloat. Following code just opens and saves PDF file and this operation changes values of mentioned text: public void saveTo(String sourceFile, String destFile) throws Exception{ PDDocument doc = PDDocument.load(new FileInputStream(sourceFile)); doc.save(new FileOutputStream(destFile)); } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (PDFBOX-1766) [PATCH] Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13811921#comment-13811921 ] vakhtang koroghlishvili edited comment on PDFBOX-1766 at 11/2/13 9:22 AM: -- At the moment we can only add image on visible signature (with parameters -width, height, x and y coordinates and etc...) Then we can improve that and add text too (in the future). I can do this too. thank you :) was (Author: v.koroghlishvili): At the moment we can only add image on visible signature (with align, with and etc...) Then we can improve that and add text too. (I can do this too). thank you :) [PATCH] Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: New Feature Components: PDModel, Signing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch, signature, visual Attachments: VisibleSignature.patch In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (PDFBOX-1766) [PATCH] Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13811921#comment-13811921 ] vakhtang koroghlishvili commented on PDFBOX-1766: - At the moment we can only add image on visible signature (with align, with and etc...) Then we can improve that and add text too. (I can do this too). thank you :) [PATCH] Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: New Feature Components: PDModel, Signing Affects Versions: 1.8.2 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch, signature, visual Attachments: VisibleSignature.patch In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1766) Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1766: Attachment: VisibleSignature.patch In this patch there is example too. everything works well. Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: Improvement Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch Fix For: 1.8.2 Attachments: VisibleSignature.patch Original Estimate: 24h Remaining Estimate: 24h In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (PDFBOX-1766) Visible Signature using PDFbox
vakhtang koroghlishvili created PDFBOX-1766: --- Summary: Visible Signature using PDFbox Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: Improvement Components: PDModel, Signing Affects Versions: 1.8.3 Reporter: vakhtang koroghlishvili Priority: Critical Fix For: 1.8.2 Attachments: VisibleSignature.patch In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (PDFBOX-1766) Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili resolved PDFBOX-1766. - Resolution: Implemented Fix Version/s: 1.8.3 That library is already written! congratulations! Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: Improvement Components: PDModel, Signing Affects Versions: 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch Fix For: 1.8.3, 1.8.2 Attachments: VisibleSignature.patch Original Estimate: 24h Remaining Estimate: 24h In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1766) Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1766: Affects Version/s: 2.0.0 Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: Improvement Components: PDModel, Signing Affects Versions: 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch Fix For: 1.8.2, 1.8.3 Attachments: VisibleSignature.patch Original Estimate: 24h Remaining Estimate: 24h In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Reopened] (PDFBOX-1766) Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili reopened PDFBOX-1766: - it's not yet commited Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: Improvement Components: PDModel, Signing Affects Versions: 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch Fix For: 1.8.2, 1.8.3 Attachments: VisibleSignature.patch Original Estimate: 24h Remaining Estimate: 24h In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13811361#comment-13811361 ] vakhtang koroghlishvili commented on PDFBOX-1690: - ok. it's ready to commit :) Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Fix Version/s: (was: 1.8.2) Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: Improvement Components: PDModel Affects Versions: 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 1.8.3 Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Issue Type: Improvement (was: New Feature) Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: Improvement Components: PDModel Affects Versions: 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 1.8.3 Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1766) Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1766: Issue Type: New Feature (was: Improvement) Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: New Feature Components: PDModel, Signing Affects Versions: 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch Fix For: 1.8.2, 1.8.3 Attachments: VisibleSignature.patch Original Estimate: 24h Remaining Estimate: 24h In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1766) [PATCH] Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1766: Summary: [PATCH] Visible Signature using PDFbox (was: Visible Signature using PDFbox) [PATCH] Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: New Feature Components: PDModel, Signing Affects Versions: 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch Fix For: 1.8.2, 1.8.3 Attachments: VisibleSignature.patch Original Estimate: 24h Remaining Estimate: 24h In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Fix Version/s: 1.8.2 1.8.3 Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: Improvement Components: PDModel Affects Versions: 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 1.8.3 Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Fix Version/s: (was: 1.8.3) 1.8.2 Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: Improvement Components: PDModel Affects Versions: 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 1.8.2 Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (PDFBOX-1766) [PATCH] Visible Signature using PDFbox
[ https://issues.apache.org/jira/browse/PDFBOX-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1766: Remaining Estimate: 168h (was: 24h) Original Estimate: 168h (was: 24h) [PATCH] Visible Signature using PDFbox -- Key: PDFBOX-1766 URL: https://issues.apache.org/jira/browse/PDFBOX-1766 Project: PDFBox Issue Type: New Feature Components: PDModel, Signing Affects Versions: 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Critical Labels: patch Fix For: 1.8.2, 1.8.3 Attachments: VisibleSignature.patch Original Estimate: 168h Remaining Estimate: 168h In order to sign document with visible signature we have very bad solution at the moment: passing a PDF as an InputStream that serves as a template for the appearance settings is very inconvenient. So, Now Everything is well and fixed! You only set image with location, zoom, width, height, and etc, and everything will be added automatically. I've just already done this, and I will upload my patches too. I have wrote example too, in order to see how to use it. Everything is easy! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (PDFBOX-1261) Support for visual signature without a pdf template
[ https://issues.apache.org/jira/browse/PDFBOX-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778630#comment-13778630 ] vakhtang koroghlishvili commented on PDFBOX-1261: - At the moment, if you need and digital signature with visible signature, you must have an template with visible field (image, or text, or something like that). I've just written library for pdfbox. You just create one class. you can set Image, Image Size, Image Zoom, Image location and so on... and finally You have template (with fake signature), with visible signature. then you can use that signature in order to create digital signature with visible signature too. Do you need that library? Support for visual signature without a pdf template --- Key: PDFBOX-1261 URL: https://issues.apache.org/jira/browse/PDFBOX-1261 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.6.0 Reporter: Matthias Küng It would be very nice to set an image (of a hand written signature) along with the position and dimension of the visible signature field to the SignatureOptions which are interpreted in PDDocument.addSignature(). The current solution with passing a pdf as InputStream that serves as a template for the appearance settings is very inconvenient. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (PDFBOX-1261) Support for visual signature without a pdf template
[ https://issues.apache.org/jira/browse/PDFBOX-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778632#comment-13778632 ] vakhtang koroghlishvili edited comment on PDFBOX-1261 at 9/26/13 10:15 AM: --- You can just set an image, and everything will be automatically. In this way there will not be templates (there will be created temporary template in memory, at the background, and that stream will be added automatically too). is this good way? what do you think? I can write that code. was (Author: v.koroghlishvili): You can just set an image, and everything will be automatically. In this way there will not be templates (there will be created temporary template in memory, and that stream will be added). is this good way? what do you think? I can write that code. Support for visual signature without a pdf template --- Key: PDFBOX-1261 URL: https://issues.apache.org/jira/browse/PDFBOX-1261 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.6.0 Reporter: Matthias Küng It would be very nice to set an image (of a hand written signature) along with the position and dimension of the visible signature field to the SignatureOptions which are interpreted in PDDocument.addSignature(). The current solution with passing a pdf as InputStream that serves as a template for the appearance settings is very inconvenient. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PDFBOX-1261) Support for visual signature without a pdf template
[ https://issues.apache.org/jira/browse/PDFBOX-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778632#comment-13778632 ] vakhtang koroghlishvili commented on PDFBOX-1261: - You can just set an image, and everything will be automatically. In this way there will not be templates (there will be created temporary template in memory, and that stream will be added). is this good way? what do you think? I can write that code. Support for visual signature without a pdf template --- Key: PDFBOX-1261 URL: https://issues.apache.org/jira/browse/PDFBOX-1261 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.6.0 Reporter: Matthias Küng It would be very nice to set an image (of a hand written signature) along with the position and dimension of the visible signature field to the SignatureOptions which are interpreted in PDDocument.addSignature(). The current solution with passing a pdf as InputStream that serves as a template for the appearance settings is very inconvenient. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PDFBOX-912) PDF signing interface and improvments
[ https://issues.apache.org/jira/browse/PDFBOX-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778644#comment-13778644 ] vakhtang koroghlishvili commented on PDFBOX-912: At the moment, As I know, if you need and digital signature with visible signature, you must have an stream of template with visible field (image, or text, or something like that). I've just written library for pdfbox. You just create one class. you can set Image, Image Size, Image Zoom, Image location and so on... and finally You have template (with fake signature), with visible signature. then you can use that signature in order to create digital signature with visible signature too. Do you need that library? You can just set an image, and everything will be automatically. In this way there will not be templates (there will be created temporary template in memory, at the background, and that stream will be added automatically too). is this good way? what do you think? I can write that code. what do you think? PDF signing interface and improvments - Key: PDFBOX-912 URL: https://issues.apache.org/jira/browse/PDFBOX-912 Project: PDFBox Issue Type: Improvement Components: PDFReader, PDModel, PDModel.AcroForm, Writing Affects Versions: 1.4.0 Reporter: Thomas Chojecki Assignee: Adam Nichols Priority: Minor Fix For: 1.6.0 Attachments: cos_object_improvement_patch.txt, fields_annotations_patch.txt, interface_options_patch.txt, io_patch.txt, main_documents_patch.txt, parser_patch.txt, signature_exception_patch.txt, test.pdf, test_signed.pdf, writer_patch.txt This is a first version of a signing interface for pdfbox. There are some design issues i could not handle without rewriting too much of the code. Here we go: - incremental update support (tested for signatures with pdf/a compatibility), not compatible with encrypted documents nor with xref-streams - cos object improvment -- COSString with ability to force writing hexbin for given string -- COSBase with ability to write direct into a dictionary (that means if this is set, no indirect object will be wrote) (sry hard to explain what i mean, actualy needed for incremental update to lower the rate of indirect objects) -- COSBase with ability to force writing object (this hook help the COSWriter write needed objects for inkremental update) -- COSName added new names -- COSDocument some getter and setter for handling new signature and incremental features - SignatureException with some exceptions for handling the bunch of new possible errors -Parser improvments -- PDFParser saves now the position of the last startxref -- VisualSignatureParser (hook for parsing visual signature templates) (it's only for prepared visualisation that should be merged with the document) -IO improvments -- COSFilterInput helps to find the proper content that should be hashed / signed -- COSStandardOutputStream is tricky, it helps the writer to jump to the right place in the document -- COSWriter got some improvments for incremental update -- COSWriterXRefEntry needed for incremental updates and writing the new Xref table - PDDocument -- got a new method addSignature with the needed implementation (do the whole signature stuff) -- cleanup - Fields and Annotations -- PDSignature represent the signature dictionary -- PDSignatureFild / Annotation are the visible unvisible signature representations - Signature Interface and options -- SignatureInterface the interface that shall be implemented for proper signing -- SignatureOptions, some additional options for signing Patch splited into pieces sry for spelling, didn't include a spellchecker for english. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (PDFBOX-1261) Support for visual signature without a pdf template
[ https://issues.apache.org/jira/browse/PDFBOX-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778658#comment-13778658 ] vakhtang koroghlishvili edited comment on PDFBOX-1261 at 9/26/13 10:58 AM: --- Ok, no problem :) but I have only Image Support. I don't have text writing support :) was (Author: v.koroghlishvili): Ok, no problem :) but I have only Image. I don't have text writing support :) Support for visual signature without a pdf template --- Key: PDFBOX-1261 URL: https://issues.apache.org/jira/browse/PDFBOX-1261 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.6.0 Reporter: Matthias Küng It would be very nice to set an image (of a hand written signature) along with the position and dimension of the visible signature field to the SignatureOptions which are interpreted in PDDocument.addSignature(). The current solution with passing a pdf as InputStream that serves as a template for the appearance settings is very inconvenient. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PDFBOX-1261) Support for visual signature without a pdf template
[ https://issues.apache.org/jira/browse/PDFBOX-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778658#comment-13778658 ] vakhtang koroghlishvili commented on PDFBOX-1261: - Ok, no problem :) but I have only Image. I don't have text writing support :) Support for visual signature without a pdf template --- Key: PDFBOX-1261 URL: https://issues.apache.org/jira/browse/PDFBOX-1261 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.6.0 Reporter: Matthias Küng It would be very nice to set an image (of a hand written signature) along with the position and dimension of the visible signature field to the SignatureOptions which are interpreted in PDDocument.addSignature(). The current solution with passing a pdf as InputStream that serves as a template for the appearance settings is very inconvenient. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Affects Version/s: (was: 1.8.1) (was: 1.8.0) Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 1.8.0, 1.8.1, 1.8.2 Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Fix Version/s: 1.8.2 Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 1.8.2 Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Fix Version/s: 1.8.3 Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Fix For: 1.8.0, 1.8.1, 1.8.2, 1.8.3 Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (PDFBOX-1690) Add description to embedded file
vakhtang koroghlishvili created PDFBOX-1690: --- Summary: Add description to embedded file Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: Improvement Components: PDModel Affects Versions: 1.8.2, 1.8.1, 1.8.0, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Minor PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13735998#comment-13735998 ] vakhtang koroghlishvili commented on PDFBOX-1690: - I've just done it. Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: Improvement Components: PDModel Affects Versions: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Minor Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Attachment: issue PDFBOX-1690.patch fixed Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: Improvement Components: PDModel Affects Versions: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Minor Attachments: issue PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Issue Type: New Feature (was: Improvement) Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Priority: Minor Attachments: issue PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Priority: Major (was: Minor) Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: issue PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Attachment: (was: issue PDFBOX-1690.patch) Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1690) Add description to embedded file
[ https://issues.apache.org/jira/browse/PDFBOX-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vakhtang koroghlishvili updated PDFBOX-1690: Attachment: PDFBOX-1690.patch fixed Add description to embedded file - Key: PDFBOX-1690 URL: https://issues.apache.org/jira/browse/PDFBOX-1690 Project: PDFBox Issue Type: New Feature Components: PDModel Affects Versions: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 2.0.0 Reporter: vakhtang koroghlishvili Attachments: PDFBOX-1690.patch Original Estimate: 2m Remaining Estimate: 2m PDF documents can contain file attachments. But at the moment, we can't add descriptions of file attachments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira