You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Patrick C. Lankswert" <PL...@InsightBB.COM> on 2003/01/09 07:34:09 UTC

Encryption

To all,

I tried to determine the reason from the archives with clarity... but why
isn't PDF encryption in the core?

Pat Lankswert


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: Encryption

Posted by "Patrick C. Lankswert" <PL...@InsightBB.COM>.
Jeremias (et al.),

I have implemented the changes as prescribed and tested it with several fo
files containing text and graphics. Everything looks good so far. I have two
open issues:

1) I have implemented the encryption through the command line interface and
renderOptions. Should it have been implemented to use the config.xml
instead? Both?

2) I am using Forte 4.0 CE and the built-in CVS engine. checkout was great.
However, it does not seem to support the CVS diff command. When I select
diff, it gives me a visual comparison. I assume that CVS diff is like the
UN*X command line diff for use with patch... can anybody help.
Unfortunately, I am on a Windows platform as that is our development
platform at work.

Otherwise, I ready to submit this.

Pat


-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: Monday, February 10, 2003 3:07 AM
To: fop-dev@xml.apache.org
Subject: Re: Encryption


Hi Patrick

On 10.02.2003 06:17:26 Patrick C. Lankswert wrote:
> Ok... with two separate weekends of the stomach flu in my house, it took a
> little longer than I had hoped. However, I have a working copy of the V1
R2
> encryption with support for user and owner passwords, print, copy, content
> edit and annotation edit control written against v0.20.4. Some more QC and
> commenting and it will be ready for submission. I have command line
control
> of options which are passed to the renderer via renderOptions. All
> encryption is support via bouncecastle's provider. Now a couple questions
> before I submit it.
>
> 1) Which version do the committers want this verified? 0.20.4 or 0.20.4rc?

Neither. We're already having 0.20.5rc and approaching 0.20.5. :-) You
should provide a unified CVS diff against the maintenance branch (CVS
tag "fop-0_20_2-maintain").

> 2) Where can I find some complicated fo files for transforming and
testing?

There's only the examples in the FOP distribution. But I think you'll
find other examples when searching the mailing list archives.

> 3) Is anybody interested in helping to test this?

I'm concentrating on the redesign. I'd rather help there.

> 4) I would like to implement the PDF 1.4 version V2 for the fop
redesign...
> is anybody interested?

Yup. Everything that brings the redesign forward is welcome.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Encryption

Posted by Jeremias Maerki <de...@greenmail.ch>.
Hi Patrick

On 10.02.2003 06:17:26 Patrick C. Lankswert wrote:
> Ok... with two separate weekends of the stomach flu in my house, it took a
> little longer than I had hoped. However, I have a working copy of the V1 R2
> encryption with support for user and owner passwords, print, copy, content
> edit and annotation edit control written against v0.20.4. Some more QC and
> commenting and it will be ready for submission. I have command line control
> of options which are passed to the renderer via renderOptions. All
> encryption is support via bouncecastle's provider. Now a couple questions
> before I submit it.
> 
> 1) Which version do the committers want this verified? 0.20.4 or 0.20.4rc?

Neither. We're already having 0.20.5rc and approaching 0.20.5. :-) You
should provide a unified CVS diff against the maintenance branch (CVS
tag "fop-0_20_2-maintain").

> 2) Where can I find some complicated fo files for transforming and testing?

There's only the examples in the FOP distribution. But I think you'll
find other examples when searching the mailing list archives.

> 3) Is anybody interested in helping to test this?

I'm concentrating on the redesign. I'd rather help there.

> 4) I would like to implement the PDF 1.4 version V2 for the fop redesign...
> is anybody interested?

Yup. Everything that brings the redesign forward is welcome.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: Encryption

Posted by "Patrick C. Lankswert" <PL...@InsightBB.COM>.
Jeremias,

Ok... it now works with bouncycastle's implementation. I need to add a
couple more days, we are moving our offices. It was majorly bungled and it
is eating up a lot of time.

Pat

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: Friday, January 10, 2003 2:07 AM
To: fop-dev@xml.apache.org
Subject: Re: Encryption


Hi Patrick

That's great news! I'll be glad to help testing and integrating.

But one question: Why would you want to implement RC4 yourself? Wouldn't
it be better if we used (for example) bouncycastle.org's implementation
for that? They have an MIT licence which is compatible with the APL
AFAIK. You wouldn't have to do any debugging and testing on the
cryptography stuff that way.

On 10.01.2003 00:25:16 Patrick C. Lankswert wrote:
> Thanks for the reply. Outside of clean up, I have working code. It is
> limited since only PDF 1.3 is supported by FOP and I am currently using a
> non-commercial RC4 implementation. If I get the time, I could have it
> cleaned up in a week and a half. It might be a little longer if I go ahead
> and implement RC4 myself. I might need some help testing, but I already
have
> it generating encrypted PDFs with and without passwords, permissions etc.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Encryption

Posted by Jeremias Maerki <de...@greenmail.ch>.
Hi Patrick

That's great news! I'll be glad to help testing and integrating.

But one question: Why would you want to implement RC4 yourself? Wouldn't
it be better if we used (for example) bouncycastle.org's implementation
for that? They have an MIT licence which is compatible with the APL
AFAIK. You wouldn't have to do any debugging and testing on the
cryptography stuff that way.

On 10.01.2003 00:25:16 Patrick C. Lankswert wrote:
> Thanks for the reply. Outside of clean up, I have working code. It is
> limited since only PDF 1.3 is supported by FOP and I am currently using a
> non-commercial RC4 implementation. If I get the time, I could have it
> cleaned up in a week and a half. It might be a little longer if I go ahead
> and implement RC4 myself. I might need some help testing, but I already have
> it generating encrypted PDFs with and without passwords, permissions etc.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: Encryption

Posted by "Patrick C. Lankswert" <PL...@InsightBB.COM>.
Jeremias,

Ok... with two separate weekends of the stomach flu in my house, it took a
little longer than I had hoped. However, I have a working copy of the V1 R2
encryption with support for user and owner passwords, print, copy, content
edit and annotation edit control written against v0.20.4. Some more QC and
commenting and it will be ready for submission. I have command line control
of options which are passed to the renderer via renderOptions. All
encryption is support via bouncecastle's provider. Now a couple questions
before I submit it.

1) Which version do the committers want this verified? 0.20.4 or 0.20.4rc?
2) Where can I find some complicated fo files for transforming and testing?
3) Is anybody interested in helping to test this?
4) I would like to implement the PDF 1.4 version V2 for the fop redesign...
is anybody interested?

Pat Lankswert

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: Thursday, January 09, 2003 1:50 AM
To: fop-dev@xml.apache.org
Subject: Re: Encryption


Hi Patrick

Because still noone has started working on it? :-) It's one of the most
requested features. On the other side, iText seems to work for those who
want to add encryption.

Would you like to help? We can use all the help we can get.

On 09.01.2003 07:34:09 Patrick C. Lankswert wrote:
> I tried to determine the reason from the archives with clarity... but why
> isn't PDF encryption in the core?


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: Encryption

Posted by "Patrick C. Lankswert" <PL...@InsightBB.COM>.
Jeremias,

Thanks for the reply. Outside of clean up, I have working code. It is
limited since only PDF 1.3 is supported by FOP and I am currently using a
non-commercial RC4 implementation. If I get the time, I could have it
cleaned up in a week and a half. It might be a little longer if I go ahead
and implement RC4 myself. I might need some help testing, but I already have
it generating encrypted PDFs with and without passwords, permissions etc.

Pat Lankswert

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: Thursday, January 09, 2003 1:50 AM
To: fop-dev@xml.apache.org
Subject: Re: Encryption


Hi Patrick

Because still noone has started working on it? :-) It's one of the most
requested features. On the other side, iText seems to work for those who
want to add encryption.

Would you like to help? We can use all the help we can get.

On 09.01.2003 07:34:09 Patrick C. Lankswert wrote:
> I tried to determine the reason from the archives with clarity... but why
> isn't PDF encryption in the core?


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Encryption

Posted by Jeremias Maerki <de...@greenmail.ch>.
Hi Patrick

Because still noone has started working on it? :-) It's one of the most
requested features. On the other side, iText seems to work for those who
want to add encryption.

Would you like to help? We can use all the help we can get.

On 09.01.2003 07:34:09 Patrick C. Lankswert wrote:
> I tried to determine the reason from the archives with clarity... but why
> isn't PDF encryption in the core?


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org