[jira] [Commented] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread ASF subversion and git services (JIRA)


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

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

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

PDFBOX-4413: add comment that a manual test with Adobe Reader should also be 
done

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread ASF subversion and git services (JIRA)


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

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

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

PDFBOX-4413: add comment that a manual test with Adobe Reader should also be 
done

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr edited comment on PDFBOX-4413 at 12/23/18 10:31 AM:


The main differences are that SHA-256 is to be used instead of SHA-1, that the 
recipients must go into the crypt filter dictionary when the subfilter 
adbe.pkcs7.s5 is used (I couldn't get it to run with the adbe.pkcs7.s4 
subfilter, and a working file I created with another software used 
adbe.pkcs7.s5), and that the standard crypt filter is now named 
/{color:#33}DefaultCryptFilter{color} for public key encryption instead of 
/StdCF for symmetric encryption.

I also improved the test so that it looks at the contents too. (Not doing it 
prevented the testing of the actual decryption).


was (Author: tilman):
The main differences are that SHA-256 is to be used instead of SHA-1, that the 
recipients must go into the crypt filter dictionary when the subfilter 
adbe.pkcs7.s5 is used (I couldn't get it to run with the adbe.pkcs7.s4 
subfilter, and a working file I created with another software used 
adbe.pkcs7.s5), and that the standard crypt filter is now named 
/{color:#33}DefaultCryptFilter{color} for public key encryption instead of 
/StdCF symmetric encryption.

I also improved the test so that it looks at the contents too. (Not doing it 
prevented the testing of the actual decryption).

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread ASF subversion and git services (JIRA)


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

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

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

PDFBOX-4413: test all key lengths

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread ASF subversion and git services (JIRA)


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

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

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

PDFBOX-4413: test all key lengths

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr edited comment on PDFBOX-4413 at 12/23/18 8:56 AM:
---

[~gavinreid] please test AES256 with a snapshot

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


was (Author: tilman):
[~gavinreid] please test with a snapshot

https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.14-SNAPSHOT/

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr updated PDFBOX-4413:

Fix Version/s: 3.0.0 PDFBox
   2.0.14

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr commented on PDFBOX-4413:
-

[~gavinreid] please test with a snapshot

https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.14-SNAPSHOT/

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr updated PDFBOX-4413:

Labels: AES256  (was: )

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>  Labels: AES256
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (PDFBOX-4413) Add support for AES256 encryption for public key

2018-12-23 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr edited comment on PDFBOX-4413 at 12/23/18 8:54 AM:
---

The main differences are that SHA-256 is to be used instead of SHA-1, that the 
recipients must go into the crypt filter dictionary when the subfilter 
adbe.pkcs7.s5 is used (I couldn't get it to run with the adbe.pkcs7.s4 
subfilter, and a working file I created with another software used 
adbe.pkcs7.s5), and that the standard crypt filter is now named 
/{color:#33}DefaultCryptFilter{color} for public key encryption instead of 
/StdCF symmetric encryption.

I also improved the test so that it looks at the contents too. (Not doing it 
prevented the testing of the actual decryption).


was (Author: tilman):
The main differences are that the recipients must go into the crypt filter 
dictionary when the subfilter adbe.pkcs7.s5 is used (I couldn't get it to run 
with the adbe.pkcs7.s4 subfilter, and a working file I created with another 
software used adbe.pkcs7.s5), and that the standard crypt filter is now named 
/{color:#33}DefaultCryptFilter{color} for public key encryption instead of 
/StdCF symmetric encryption.

> Add support for AES256 encryption for public key
> 
>
> Key: PDFBOX-4413
> URL: https://issues.apache.org/jira/browse/PDFBOX-4413
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Crypto
>Affects Versions: 2.0.13
>Reporter: Tilman Hausherr
>Priority: Major
>
> Adobe 9 added support for AES 256 encryption. This should also be implemented 
> for public key encryption, currently it is only implemented for symmetric key 
> encryption.
> Further information is available at 
> [http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf].
> I suspect that much of it is already available in the base class, but 
> PublicKeySecurityHandler.prepareDocumentForEncryption() is definitively old 
> stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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