Jenkins build is back to normal : PDFBox-2.0.x » Apache PDFBox examples #2052

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-2.0.x #2052

2020-05-21 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-Trunk-jdk14 #538

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-Trunk-jdk14 » Apache PDFBox examples #538

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-trunk #5234

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-trunk » Apache PDFBox examples #5234

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2020-05-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113357#comment-17113357
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1878006 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1878006 ]

PDFBOX-4071: update ant version

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2020-05-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113354#comment-17113354
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1878005 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878005 ]

PDFBOX-4071: update ant version

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-2.0.x » Apache PDFBox examples #2050

2020-05-21 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 7.90 KB...]
May 21, 2020 4:34:59 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createBackgroundLayerForm
INFO: Created background layer form
May 21, 2020 4:34:59 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectProcSetArray
INFO: Inserted ProcSet to PDF
May 21, 2020 4:34:59 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 21, 2020 4:34:59 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createVisualSignature
INFO: Visible signature has been created
May 21, 2020 4:34:59 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createWidgetDictionary
INFO: WidgetDictionary has been created
May 21, 2020 4:34:59 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: stream returning started, size= 28426
TSA test successful
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 
INFO: PDF Structure has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: pdf building has been started
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createProcSetArray
INFO: ProcSet array has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createPage
INFO: PDF page has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroForm
INFO: AcroForm has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureField
INFO: Signature field has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignature
INFO: PDSignature has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAffineTransform
INFO: Matrix has been added
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureRectangle
INFO: Signature rectangle has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createFormatterRectangle
INFO: Formatter rectangle has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureImage
INFO: Visible Signature Image has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormStream
INFO: Holder form stream has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormResources
INFO: Holder form resources have been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderForm
INFO: Holder form has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAppearanceDictionary
INFO: PDF appearance dictionary has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has 
been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder 
form)have been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormStream
INFO: Created image form stream
May 21, 2020 4:35:01 PM 

Build failed in Jenkins: PDFBox-2.0.x #2050

2020-05-21 Thread Apache Jenkins Server
See 

Changes:


--
[...truncated 1.30 MB...]
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderForm
INFO: Holder form has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAppearanceDictionary
INFO: PDF appearance dictionary has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has 
been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder 
form)have been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormStream
INFO: Created image form stream
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormResources
INFO: Created image form resources
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageForm
INFO: Created image form
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createBackgroundLayerForm
INFO: Created background layer form
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectProcSetArray
INFO: Inserted ProcSet to PDF
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createVisualSignature
INFO: Visible signature has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createWidgetDictionary
INFO: WidgetDictionary has been created
May 21, 2020 4:35:01 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: stream returning started, size= 28426
TSA test successful
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 
INFO: PDF Structure has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: pdf building has been started
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createProcSetArray
INFO: ProcSet array has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createPage
INFO: PDF page has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroForm
INFO: AcroForm has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureField
INFO: Signature field has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignature
INFO: PDSignature has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAffineTransform
INFO: Matrix has been added
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureRectangle
INFO: Signature rectangle has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createFormatterRectangle
INFO: Formatter rectangle has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureImage
INFO: Visible Signature Image has been created
May 21, 2020 4:35:02 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormStream
INFO: Holder form stream has been created

Jenkins build is back to normal : PDFBox-Trunk-jdk15 #1080

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-Trunk-jdk15 » Apache PDFBox examples #1080

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk #5233

2020-05-21 Thread Apache Jenkins Server
See 

Changes:


--
[...truncated 672.79 KB...]
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has 
been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder 
form)have been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormStream
INFO: Created image form stream
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormResources
INFO: Created image form resources
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageForm
INFO: Created image form
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createBackgroundLayerForm
INFO: Created background layer form
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectProcSetArray
INFO: Inserted ProcSet to PDF
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createVisualSignature
INFO: Visible signature has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createWidgetDictionary
INFO: WidgetDictionary has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: stream returning started, size= 28426
TSA test successful
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 
INFO: PDF Structure has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: pdf building has been started
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createProcSetArray
INFO: ProcSet array has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createPage
INFO: PDF page has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroForm
INFO: AcroForm has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureField
INFO: Signature field has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignature
INFO: PDSignature has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAffineTransform
INFO: Matrix has been added
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureRectangle
INFO: Signature rectangle has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createFormatterRectangle
INFO: Formatter rectangle has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureImage
INFO: Visible Signature Image has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormStream
INFO: Holder form stream has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormResources
INFO: Holder form resources have been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderForm
INFO: Holder form has been created

Build failed in Jenkins: PDFBox-trunk » Apache PDFBox examples #5233

2020-05-21 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 13.22 KB...]
May 21, 2020 4:25:03 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 21, 2020 4:25:03 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createVisualSignature
INFO: Visible signature has been created
May 21, 2020 4:25:03 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createWidgetDictionary
INFO: WidgetDictionary has been created
May 21, 2020 4:25:03 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: stream returning started, size= 28426
TSA test successful
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 
INFO: PDF Structure has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: pdf building has been started
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createProcSetArray
INFO: ProcSet array has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createPage
INFO: PDF page has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroForm
INFO: AcroForm has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureField
INFO: Signature field has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignature
INFO: PDSignature has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAffineTransform
INFO: Matrix has been added
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureRectangle
INFO: Signature rectangle has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createFormatterRectangle
INFO: Formatter rectangle has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureImage
INFO: Visible Signature Image has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormStream
INFO: Holder form stream has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormResources
INFO: Holder form resources have been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderForm
INFO: Holder form has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAppearanceDictionary
INFO: PDF appearance dictionary has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has 
been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder 
form)have been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormStream
INFO: Created image form stream
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormResources
INFO: Created image form resources
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageForm
INFO: Created image form
May 21, 2020 4:25:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 

Build failed in Jenkins: PDFBox-Trunk-jdk14 #537

2020-05-21 Thread Apache Jenkins Server
See 

Changes:


--
[...truncated 288.25 KB...]
INFO: Inserted ProcSet to PDF
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createVisualSignature
INFO: Visible signature has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createWidgetDictionary
INFO: WidgetDictionary has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: stream returning started, size= 28426
TSA test successful
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 
INFO: PDF Structure has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: pdf building has been started
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createProcSetArray
INFO: ProcSet array has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createPage
INFO: PDF page has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroForm
INFO: AcroForm has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureField
INFO: Signature field has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignature
INFO: PDSignature has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAffineTransform
INFO: Matrix has been added
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureRectangle
INFO: Signature rectangle has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createFormatterRectangle
INFO: Formatter rectangle has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureImage
INFO: Visible Signature Image has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormStream
INFO: Holder form stream has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormResources
INFO: Holder form resources have been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderForm
INFO: Holder form has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAppearanceDictionary
INFO: PDF appearance dictionary has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has 
been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder 
form)have been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormStream
INFO: Created image form stream
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormResources
INFO: Created image form resources
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageForm
INFO: Created image form
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 

Build failed in Jenkins: PDFBox-Trunk-jdk14 » Apache PDFBox examples #537

2020-05-21 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 9.10 KB...]
INFO: stream returning started, size= 28426
TSA test successful
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 
INFO: PDF Structure has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
 buildPDF
INFO: pdf building has been started
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createProcSetArray
INFO: ProcSet array has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createPage
INFO: PDF page has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroForm
INFO: AcroForm has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureField
INFO: Signature field has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignature
INFO: PDSignature has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAcroFormDictionary
INFO: AcroForm dictionary has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAffineTransform
INFO: Matrix has been added
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureRectangle
INFO: Signature rectangle has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createFormatterRectangle
INFO: Formatter rectangle has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createSignatureImage
INFO: Visible Signature Image has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormStream
INFO: Holder form stream has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderFormResources
INFO: Holder form resources have been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createHolderForm
INFO: Holder form has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createAppearanceDictionary
INFO: PDF appearance dictionary has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormStream
INFO: Stream of another form (inner form - it will be inside holder form) has 
been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerFormResource
INFO: Resources of another form (inner form - it will be inside holder 
form)have been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createInnerForm
INFO: Another form (inner form - it will be inside holder form) has been created
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 insertInnerFormToHolderResources
INFO: Now inserted inner form inside holder form
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormStream
INFO: Created image form stream
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageFormResources
INFO: Created image form resources
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createImageForm
INFO: Created image form
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createBackgroundLayerForm
INFO: Created background layer form
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectProcSetArray
INFO: Inserted ProcSet to PDF
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 injectAppearanceStreams
INFO: Injected appearance stream to pdf
May 21, 2020 4:20:05 PM 
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigBuilder
 createVisualSignature
INFO: Visible signature has been created
May 21, 2020 4:20:05 PM 

[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2020-05-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113318#comment-17113318
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1878004 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1878004 ]

PDFBOX-4071: update ant version

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Assigned] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr reassigned PDFBOX-4839:
---

Assignee: Tilman Hausherr

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Assignee: Tilman Hausherr
>Priority: Minor
>  Labels: security
> Fix For: 1.8.17
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Resolved] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Warren Nash (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Warren Nash resolved PDFBOX-4839.
-
Resolution: Fixed

Updates and check newer version and ensure have an owner password too.

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
> Fix For: 1.8.17
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Warren Nash (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113251#comment-17113251
 ] 

Warren Nash commented on PDFBOX-4839:
-

[~tilman] thanks for the commitment and effort

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
> Fix For: 1.8.17
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113188#comment-17113188
 ] 

ASF subversion and git services commented on PDFBOX-4839:
-

Commit 1878003 from Tilman Hausherr in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1878003 ]

PDFBOX-4839: dummy commit to test svn2jira

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
> Fix For: 1.8.17
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113057#comment-17113057
 ] 

Tilman Hausherr edited comment on PDFBOX-4839 at 5/21/20, 12:12 PM:


I looked at the code: in the trunk and 2.0.\*, when the owner password is 
empty, the user password is taken as the owner password. The 1.8 version hasn't 
got this, so I added it. However you should use the 2.0.\* version, and use 
strong encryption, i.e. not 40 bit, rather 256 bit encryption. IIRC this is the 
default in 2.0.\*.

Done in rev 1877998 and 1877999.


was (Author: tilman):
I looked at the code: in the trunk and 2.0.\*, when the owner password is 
empty, the user password is taken as the owner password. The 1.8 version hasn't 
got this, so I added it. However you should use the 2.0.\* version, and use 
strong encryption, i.e. not 40 bit, rather 256 bit encryption. IIRC this is the 
default in 2.0.\*.

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
> Fix For: 1.8.17
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-4839:

Fix Version/s: 1.8.17

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
> Fix For: 1.8.17
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113108#comment-17113108
 ] 

Tilman Hausherr commented on PDFBOX-4839:
-

You can get a snapshot here:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/1.8.17-SNAPSHOT/

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-1.8.x » Apache PDFBox #791

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-1.8.x #791

2020-05-21 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-1.8.x #790

2020-05-21 Thread Apache Jenkins Server
See 


Changes:

[tilman] PDFBOX-4839: if no owner password is set, use the user password instead


--
[...truncated 442.25 KB...]
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pdfbox ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 193 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pdfbox ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 546 source files to 

[WARNING] 
:
 Some input files use or override a deprecated API.
[WARNING] 
:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
pdfbox ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 117 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ pdfbox 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 60 source files to 

[WARNING] 
:
 Some input files use or override a deprecated API.
[WARNING] 
:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ pdfbox ---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running org.apache.pdfbox.TestAll
Tests run: 180, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.118 sec - 
in org.apache.pdfbox.TestAll
Running org.apache.pdfbox.util.TestTextStripper
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.849 sec - in 
org.apache.pdfbox.util.TestTextStripper
Running org.apache.pdfbox.util.TestImageIOUtils
src/test/resources/input/rendering/ccitt4-cib-test.pdf
Writing: target/test-output/ccitt4-cib-test.pdf-1.png
Writing: target/test-output/ccitt4-cib-test.pdf-1.jpg
Writing: target/test-output/ccitt4-cib-test.pdf-1.bmp
Writing: target/test-output/ccitt4-cib-test.pdf-1.gif
Writing: target/test-output/ccitt4-cib-test.pdf-1.wbmp
Writing: target/test-output/ccitt4-cib-test.pdf-bw-1.tif
Writing: target/test-output/ccitt4-cib-test.pdf-co-1.tif
src/test/resources/input/rendering/26101_Colors.ai
Writing: target/test-output/26101_Colors.ai-1.png
Writing: target/test-output/26101_Colors.ai-1.jpg
Writing: target/test-output/26101_Colors.ai-1.bmp
Writing: target/test-output/26101_Colors.ai-1.gif
Writing: target/test-output/26101_Colors.ai-1.wbmp
Writing: target/test-output/26101_Colors.ai-bw-1.tif
Writing: target/test-output/26101_Colors.ai-co-1.tif
src/test/resources/input/rendering/JBIG2Image.pdf
Writing: target/test-output/JBIG2Image.pdf-1.png
Writing: target/test-output/JBIG2Image.pdf-1.jpg
Writing: target/test-output/JBIG2Image.pdf-1.bmp
Writing: target/test-output/JBIG2Image.pdf-1.gif
Writing: target/test-output/JBIG2Image.pdf-1.wbmp
Writing: target/test-output/JBIG2Image.pdf-bw-1.tif
Writing: target/test-output/JBIG2Image.pdf-co-1.tif
src/test/resources/input/rendering/JPXTestRGB.pdf
Writing: target/test-output/JPXTestRGB.pdf-1.png
Writing: target/test-output/JPXTestRGB.pdf-1.jpg
Writing: target/test-output/JPXTestRGB.pdf-1.bmp
Writing: target/test-output/JPXTestRGB.pdf-1.gif
Writing: target/test-output/JPXTestRGB.pdf-1.wbmp
Writing: target/test-output/JPXTestRGB.pdf-bw-1.tif
Writing: 

Build failed in Jenkins: PDFBox-1.8.x » Apache PDFBox #790

2020-05-21 Thread Apache Jenkins Server
See 


Changes:

[tilman] PDFBOX-4839: if no owner password is set, use the user password instead


--
[...truncated 6.97 KB...]
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.11/maven-project-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.11/maven-project-2.0.11.pom
 (2.8 kB at 231 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.0.11/maven-settings-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.0.11/maven-settings-2.0.11.pom
 (2.2 kB at 168 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.11/maven-model-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.11/maven-model-2.0.11.pom
 (3.2 kB at 250 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.pom
 (1.4 kB at 111 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.11/maven-profile-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.11/maven-profile-2.0.11.pom
 (2.0 kB at 170 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.11/maven-artifact-manager-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.11/maven-artifact-manager-2.0.11.pom
 (2.6 kB at 219 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.11/maven-repository-metadata-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.11/maven-repository-metadata-2.0.11.pom
 (2.3 kB at 188 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.11/maven-artifact-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.11/maven-artifact-2.0.11.pom
 (1.6 kB at 122 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.0.11/maven-plugin-registry-2.0.11.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.0.11/maven-plugin-registry-2.0.11.pom
 (1.9 kB at 176 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.2/ant-1.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.2/ant-1.8.2.pom 
(9.9 kB at 823 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.2/ant-parent-1.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.2/ant-parent-1.8.2.pom
 (4.7 kB at 335 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.pom
 (2.4 kB at 173 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.11/maven-plugin-api-2.0.11.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.11/maven-project-2.0.11.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.0.11/maven-settings-2.0.11.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.11/maven-profile-2.0.11.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.11/maven-plugin-api-2.0.11.jar
 (13 kB at 1.0 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.11/maven-model-2.0.11.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.11/maven-profile-2.0.11.jar
 (37 kB at 2.3 MB/s)
[INFO] Downloading from central: 

[jira] [Comment Edited] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113057#comment-17113057
 ] 

Tilman Hausherr edited comment on PDFBOX-4839 at 5/21/20, 10:47 AM:


I looked at the code: in the trunk and 2.0.\*, when the owner password is 
empty, the user password is taken as the owner password. The 1.8 version hasn't 
got this, so I added it. However you should use the 2.0.\* version, and use 
strong encryption, i.e. not 40 bit, rather 256 bit encryption. IIRC this is the 
default in 2.0.\*.


was (Author: tilman):
I looked at the code: in the trunk and 2.0.*, when the owner password is empty, 
the user password is taken as the owner password. The 1.8 version hasn't got 
this, so I added it. However you should use the 2.0.* version, and use strong 
encryption, i.e. not 40 bit, rather 256 bit encryption. IIRC this is the 
default in 2.0.*.

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113057#comment-17113057
 ] 

Tilman Hausherr edited comment on PDFBOX-4839 at 5/21/20, 10:47 AM:


I looked at the code: in the trunk and 2.0.*, when the owner password is empty, 
the user password is taken as the owner password. The 1.8 version hasn't got 
this, so I added it. However you should use the 2.0.* version, and use strong 
encryption, i.e. not 40 bit, rather 256 bit encryption. IIRC this is the 
default in 2.0.*.


was (Author: tilman):
I looked at the code: in the trunk and 2.*, when the owner password is empty, 
the user password is taken as the owner password. The 1.8 version hasn't got 
this, so I added it. However you should use the 2.0.* version, and use strong 
encryption, i.e. not 40 bit, rather 256 bit encryption. IIRC this is the 
default in 2.0.*.

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4839) Iphone IOS able to open password PDF file without password

2020-05-21 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113057#comment-17113057
 ] 

Tilman Hausherr commented on PDFBOX-4839:
-

I looked at the code: in the trunk and 2.*, when the owner password is empty, 
the user password is taken as the owner password. The 1.8 version hasn't got 
this, so I added it. However you should use the 2.0.* version, and use strong 
encryption, i.e. not 40 bit, rather 256 bit encryption. IIRC this is the 
default in 2.0.*.

> Iphone IOS able to open password PDF file without password
> --
>
> Key: PDFBOX-4839
> URL: https://issues.apache.org/jira/browse/PDFBOX-4839
> Project: PDFBox
>  Issue Type: Bug
>  Components: Crypto
>Affects Versions: 1.8.16
> Environment: Latest version of Apple IOS on Iphone 8s
>Reporter: Warren Nash
>Priority: Minor
>  Labels: security
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Able to create encrypted password PDF file.
>  # Able to use password PDF file on PC by entering password
>  # Able to use password PDF file on Android Phone by entering password
>  # Apply IOS open PDF file and then can see all contents of PDF file.  No 
> password is required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4751) Removing field / annotation does not work

2020-05-21 Thread Jira


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler updated PDFBOX-4751:
---
Fix Version/s: (was: 2.0.20)
   (was: 3.0.0 PDFBox)

> Removing field / annotation does not work
> -
>
> Key: PDFBOX-4751
> URL: https://issues.apache.org/jira/browse/PDFBOX-4751
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.18
> Environment: macOS Mojave 10.14.6
>Reporter: Jesse
>Assignee: Maruan Sahyoun
>Priority: Minor
>
> After upgrading to `2.0.18`, the following code doesn't work for me anymore:
> {code:java}
> private void removeField() throws IOException {
> PDAcroForm form = this.field.getAcroForm();
> List allFields = form.getFields();
> PDAnnotationWidget widget = field.getWidgets().get(0);
> List allAnnotations = widget.getPage().getAnnotations();
> System.out.println("BEFORE: Fields size: " + allFields.size() + "; Field 
> to array: " + COSArrayList.converterToCOSArray(allFields));
> for(PDField field : allFields) {
> if 
> (field.getFullyQualifiedName().equals(this.field.getFullyQualifiedName())) {
> allFields.remove(field);
> break;
> }
> }
> System.out.println("AFTER: Fields size: " + allFields.size() + "; Field 
> to array: " + COSArrayList.converterToCOSArray(allFields));
> System.out.println("BEFORE: Annots size: " + allAnnotations.size() + "; 
> Annots to array: " + COSArrayList.converterToCOSArray(allAnnotations));
> for(PDAnnotation annotation : allAnnotations) {
> if(annotation.getCOSObject().equals(widget.getCOSObject())) {
> allAnnotations.remove(annotation);
> break;
> }
> }
> System.out.println("AFTER: Annots size: " + allAnnotations.size() + "; 
> Annots to array: " + COSArrayList.converterToCOSArray(allAnnotations));
> }
> {code}
> For whatever reason, the array in `COSArrayList` is not updating. The 
> internal `ArrayList` is updating, but not the internal `COSArray`. Here is 
> some output from above that might helpful after trying to remove a field from 
> a pdf with a single field.
> {code:java}
> // 2.0.17
> BEFORE: Fields size: 1; Field to array: COSArray{[COSObject{10, 0}]}
> AFTER: Fields size: 0; Field to array: COSArray{[]}
> BEFORE: Annots size: 1; Annots to array: COSArray{[COSObject{10, 0}]}
> AFTER: Annots size: 0; Annots to array: COSArray{[]}
> // 2.0.18
> BEFORE: Fields size: 1; Field to array: COSArray{[COSObject{10, 0}]}
> AFTER: Fields size: 0; Field to array: COSArray{[COSObject{10, 0}]}
> BEFORE: Annots size: 1; Annots to array: COSArray{[COSObject{10, 0}]}
> AFTER: Annots size: 0; Annots to array: COSArray{[COSObject{10, 0}]}
> {code}
> I can definitely attach one of the PDFs I was working with if needed... But 
> this was happening with every PDF I tried it on, so I don't think it's 
> something special about the pdfs I was working with.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Closed] (PDFBOX-4751) Removing field / annotation does not work

2020-05-21 Thread Jira


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler closed PDFBOX-4751.
--
Resolution: Cannot Reproduce

> Removing field / annotation does not work
> -
>
> Key: PDFBOX-4751
> URL: https://issues.apache.org/jira/browse/PDFBOX-4751
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.18
> Environment: macOS Mojave 10.14.6
>Reporter: Jesse
>Assignee: Maruan Sahyoun
>Priority: Minor
>
> After upgrading to `2.0.18`, the following code doesn't work for me anymore:
> {code:java}
> private void removeField() throws IOException {
> PDAcroForm form = this.field.getAcroForm();
> List allFields = form.getFields();
> PDAnnotationWidget widget = field.getWidgets().get(0);
> List allAnnotations = widget.getPage().getAnnotations();
> System.out.println("BEFORE: Fields size: " + allFields.size() + "; Field 
> to array: " + COSArrayList.converterToCOSArray(allFields));
> for(PDField field : allFields) {
> if 
> (field.getFullyQualifiedName().equals(this.field.getFullyQualifiedName())) {
> allFields.remove(field);
> break;
> }
> }
> System.out.println("AFTER: Fields size: " + allFields.size() + "; Field 
> to array: " + COSArrayList.converterToCOSArray(allFields));
> System.out.println("BEFORE: Annots size: " + allAnnotations.size() + "; 
> Annots to array: " + COSArrayList.converterToCOSArray(allAnnotations));
> for(PDAnnotation annotation : allAnnotations) {
> if(annotation.getCOSObject().equals(widget.getCOSObject())) {
> allAnnotations.remove(annotation);
> break;
> }
> }
> System.out.println("AFTER: Annots size: " + allAnnotations.size() + "; 
> Annots to array: " + COSArrayList.converterToCOSArray(allAnnotations));
> }
> {code}
> For whatever reason, the array in `COSArrayList` is not updating. The 
> internal `ArrayList` is updating, but not the internal `COSArray`. Here is 
> some output from above that might helpful after trying to remove a field from 
> a pdf with a single field.
> {code:java}
> // 2.0.17
> BEFORE: Fields size: 1; Field to array: COSArray{[COSObject{10, 0}]}
> AFTER: Fields size: 0; Field to array: COSArray{[]}
> BEFORE: Annots size: 1; Annots to array: COSArray{[COSObject{10, 0}]}
> AFTER: Annots size: 0; Annots to array: COSArray{[]}
> // 2.0.18
> BEFORE: Fields size: 1; Field to array: COSArray{[COSObject{10, 0}]}
> AFTER: Fields size: 0; Field to array: COSArray{[COSObject{10, 0}]}
> BEFORE: Annots size: 1; Annots to array: COSArray{[COSObject{10, 0}]}
> AFTER: Annots size: 0; Annots to array: COSArray{[COSObject{10, 0}]}
> {code}
> I can definitely attach one of the PDFs I was working with if needed... But 
> this was happening with every PDF I tried it on, so I don't think it's 
> something special about the pdfs I was working with.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4783) empty annotation appearance BBox brings "Multiplying two matrices produces illegal values"

2020-05-21 Thread Jira


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler updated PDFBOX-4783:
---
Fix Version/s: 3.0.0 PDFBox

> empty annotation appearance BBox brings "Multiplying two matrices produces 
> illegal values"
> --
>
> Key: PDFBOX-4783
> URL: https://issues.apache.org/jira/browse/PDFBOX-4783
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.18
>Reporter: Tilman Hausherr
>Assignee: Tilman Hausherr
>Priority: Major
>  Labels: regression
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> Happens when rendering the file from PDFBOX-2583, the empty BBox is at 
> {{Root/Pages/Kids/[0]/Annots/[3]/AP/N/BBox}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Reopened] (PDFBOX-4751) Removing field / annotation does not work

2020-05-21 Thread Jira


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler reopened PDFBOX-4751:


> Removing field / annotation does not work
> -
>
> Key: PDFBOX-4751
> URL: https://issues.apache.org/jira/browse/PDFBOX-4751
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.18
> Environment: macOS Mojave 10.14.6
>Reporter: Jesse
>Assignee: Maruan Sahyoun
>Priority: Minor
> Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> After upgrading to `2.0.18`, the following code doesn't work for me anymore:
> {code:java}
> private void removeField() throws IOException {
> PDAcroForm form = this.field.getAcroForm();
> List allFields = form.getFields();
> PDAnnotationWidget widget = field.getWidgets().get(0);
> List allAnnotations = widget.getPage().getAnnotations();
> System.out.println("BEFORE: Fields size: " + allFields.size() + "; Field 
> to array: " + COSArrayList.converterToCOSArray(allFields));
> for(PDField field : allFields) {
> if 
> (field.getFullyQualifiedName().equals(this.field.getFullyQualifiedName())) {
> allFields.remove(field);
> break;
> }
> }
> System.out.println("AFTER: Fields size: " + allFields.size() + "; Field 
> to array: " + COSArrayList.converterToCOSArray(allFields));
> System.out.println("BEFORE: Annots size: " + allAnnotations.size() + "; 
> Annots to array: " + COSArrayList.converterToCOSArray(allAnnotations));
> for(PDAnnotation annotation : allAnnotations) {
> if(annotation.getCOSObject().equals(widget.getCOSObject())) {
> allAnnotations.remove(annotation);
> break;
> }
> }
> System.out.println("AFTER: Annots size: " + allAnnotations.size() + "; 
> Annots to array: " + COSArrayList.converterToCOSArray(allAnnotations));
> }
> {code}
> For whatever reason, the array in `COSArrayList` is not updating. The 
> internal `ArrayList` is updating, but not the internal `COSArray`. Here is 
> some output from above that might helpful after trying to remove a field from 
> a pdf with a single field.
> {code:java}
> // 2.0.17
> BEFORE: Fields size: 1; Field to array: COSArray{[COSObject{10, 0}]}
> AFTER: Fields size: 0; Field to array: COSArray{[]}
> BEFORE: Annots size: 1; Annots to array: COSArray{[COSObject{10, 0}]}
> AFTER: Annots size: 0; Annots to array: COSArray{[]}
> // 2.0.18
> BEFORE: Fields size: 1; Field to array: COSArray{[COSObject{10, 0}]}
> AFTER: Fields size: 0; Field to array: COSArray{[COSObject{10, 0}]}
> BEFORE: Annots size: 1; Annots to array: COSArray{[COSObject{10, 0}]}
> AFTER: Annots size: 0; Annots to array: COSArray{[COSObject{10, 0}]}
> {code}
> I can definitely attach one of the PDFs I was working with if needed... But 
> this was happening with every PDF I tried it on, so I don't think it's 
> something special about the pdfs I was working with.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4822) Off-by-one error in PDSignature.getConvertedContents()

2020-05-21 Thread Jira


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler updated PDFBOX-4822:
---
Fix Version/s: 1.8.17

> Off-by-one error in PDSignature.getConvertedContents()
> --
>
> Key: PDFBOX-4822
> URL: https://issues.apache.org/jira/browse/PDFBOX-4822
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel, Signing
>Affects Versions: 2.0.19
>Reporter: Gábor Stefanik
>Assignee: Tilman Hausherr
>Priority: Major
> Fix For: 1.8.17, 2.0.20, 3.0.0 PDFBox
>
>
> In PDSignature.java, we have the following function:
> {code:java}
> private byte[] getConvertedContents(InputStream is) throws IOException
> {
> ByteArrayOutputStream byteOS = new ByteArrayOutputStream(1024);
> byte[] buffer = new byte[1024];
> int c;
> while ((c = is.read(buffer)) != -1)
> {
> // Filter < and (
> if(buffer[0]==0x3C || buffer[0]==0x28)
> {
> byteOS.write(buffer, 1, c); // ERROR: may read buffer[1024], 
> which doesn't exist!
> }
> // Filter > and )
> else if(buffer[c-1]==0x3E || buffer[c-1]==0x29)
> {
> byteOS.write(buffer, 0, c-1);
> }
> else
> {
> byteOS.write(buffer, 0, c);
> }
> }
> is.close();return 
> COSString.parseHex(byteOS.toString("ISO-8859-1")).getBytes();
> }
> {code}
>  
> If c = 1024 (i.e. is.read() fills the buffer completely), and the first byte 
> is 0x3C or 0x28, we try to read the 1025th byte of the buffer, and hit an 
> IndexOutOfBoundsException:
> {noformat}
> java.lang.IndexOutOfBoundsException: Range [1, 1 + 1024) out of bounds for 
> length 1024
> at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) 
> ~[?:?]
> at 
> jdk.internal.util.Preconditions.outOfBoundsCheckFromIndexSize(Preconditions.java:82)
>  ~[?:?]
> at 
> jdk.internal.util.Preconditions.checkFromIndexSize(Preconditions.java:343) 
> ~[?:?]
> at java.util.Objects.checkFromIndexSize(Objects.java:424) ~[?:?]
> at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:155) 
> ~[?:?]
> at 
> org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature.getConvertedContents(PDSignature.java:348)
>  ~[pdfbox-2.0.19.jar:2.0.19]
> at 
> org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature.getContents(PDSignature.java:335)
>  ~[pdfbox-2.0.19.jar:2.0.19]{noformat}
>  
> By changing the first byteOS.write call to this:
> {code:java}
> byteOS.write(buffer, 1, c-1);
> {code}
> the problem is fixed.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Closed] (PDFBOX-4841) How and when do I download the latest pdfbox version: 2.2.20

2020-05-21 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr closed PDFBOX-4841.
---
Resolution: Invalid

> How and when do I download the latest pdfbox version: 2.2.20
> 
>
> Key: PDFBOX-4841
> URL: https://issues.apache.org/jira/browse/PDFBOX-4841
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Dushyanth Balasubramanian
>Priority: Blocker
>  Labels: newbie
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I have a few issues which needed to be fixed:
> https://issues.apache.org/jira/browse/PDFBOX-4783
> https://issues.apache.org/jira/browse/PDFBOX-4516?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
> I see that they are fixed in PDFBox version 2.2.20. However I don't see that 
> version to download or use for my project:
> [https://pdfbox.apache.org/download.cgi]
>  
> Any idea when that will be released? Thanks!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4841) How and when do I download the latest pdfbox version: 2.2.20

2020-05-21 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17112930#comment-17112930
 ] 

Tilman Hausherr commented on PDFBOX-4841:
-

We're thinking about a release in 2-3 weeks. Until then, get it here:

[https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.20-SNAPSHOT/]

In the future, please ask questions on the users mailing list. This here is for 
bugs.

> How and when do I download the latest pdfbox version: 2.2.20
> 
>
> Key: PDFBOX-4841
> URL: https://issues.apache.org/jira/browse/PDFBOX-4841
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.19
>Reporter: Dushyanth Balasubramanian
>Priority: Blocker
>  Labels: newbie
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I have a few issues which needed to be fixed:
> https://issues.apache.org/jira/browse/PDFBOX-4783
> https://issues.apache.org/jira/browse/PDFBOX-4516?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
> I see that they are fixed in PDFBox version 2.2.20. However I don't see that 
> version to download or use for my project:
> [https://pdfbox.apache.org/download.cgi]
>  
> Any idea when that will be released? Thanks!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4841) How and when do I download the latest pdfbox version: 2.2.20

2020-05-21 Thread Dushyanth Balasubramanian (Jira)
Dushyanth Balasubramanian created PDFBOX-4841:
-

 Summary: How and when do I download the latest pdfbox version: 
2.2.20
 Key: PDFBOX-4841
 URL: https://issues.apache.org/jira/browse/PDFBOX-4841
 Project: PDFBox
  Issue Type: Bug
  Components: Rendering
Affects Versions: 2.0.19
Reporter: Dushyanth Balasubramanian


I have a few issues which needed to be fixed:

https://issues.apache.org/jira/browse/PDFBOX-4783

https://issues.apache.org/jira/browse/PDFBOX-4516?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

I see that they are fixed in PDFBox version 2.2.20. However I don't see that 
version to download or use for my project:

[https://pdfbox.apache.org/download.cgi]

 

Any idea when that will be released? Thanks!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org