Re: [iText-questions] iText signature bug - Non conformance to ISO 32000-1?

2012-12-20 Thread Bruno Lowagie
On 20/12/2012 1:21, Stefan Santesson wrote:
 I want to report a suspected bug in iText

Hello Stefan,
many integrators working for the EU are playing solo-slim. I don't like 
this.

The problem you mention is old news for us. Please read 
http://itextpdf.com/book/digitalsignatures

If you read this technical white paper carefully, you'll find out that 
iText fully supports PAdES-2 (ISO-32000-1), PAdES-3 (to be expected in 
ISO-32000-2) and even PAdES-4 (Long Term Validation). iText DOES NOT 
support PAdES-5 (XFA based forms) yet. It's on our roadmap for 2013 if 
somebody (the EU?) is willing to sponsor its development.

I've recently attended the ETSI Workshop in Berlin. See 
http://www.etsi.org/news-events/news/611-201211-tsp
I'm starting to get acquainted with the upcoming rules and regulations 
in different countries, as well as with the way the EU works.

I urge you to tell everyone you know that the EU-Commission Open Source 
tool based on iText 2.1.7 HAS NEVER BEEN ENDORSED by the copyright 
owners of iText.

Some of the companies that has worked on this tool refuse to talk to us: 
http://www.lowagie.com/dearintegrator
Some companies were aware of the problem and asked us for an exception 
so that they could use the newer iText version (AGPL) in an EUPL 
project. However: as they wanted us to grant them this exception for 
free, there was a discussion that didn't end in a mutual agreement: 
http://www.lowagie.com/eupl

I fear that these companies will be in serious trouble once the EU finds 
out they've spent plenty of money on software development that doesn't 
succeed in producing standard conforming signatures. Fortunately, we 
have sufficient proof that these companies refused to purchase support 
from us and denied our advice. This lack of professionalism shown by 
some specific integrators really makes me sad, especially if they'd 
start blaming iText for their own mistakes.

I usually welcome bug reports, because they allow us to improve our 
product. However, it's disappointing to read a mail saying I want to 
report a suspected bug in iText after I've been talking to a wall for 
such a long time, warning different stakeholders in this matter that 
things weren't going in the right direction.

I know you aren't to blame for this. The main problem is the fact that 
the EU isn't aware of the fact that they pay good money to companies who 
make wrong use of a fine Free/Open Source Software product.

I'm putting our sales in Bcc: to check if your company is a customer of 
ours. If not, please don't expect privileged support; that would be 
unfair towards those companies who have established a correct business 
relationship with us.
Best regards,
Bruno Lowagie
CEO iText Software Group

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] iText signature bug - Non conformance to ISO 32000-1?

2012-12-20 Thread 1T3XT BVBA
On 20/12/2012 1:21, Stefan Santesson wrote:
 Government authorities in Sweden depends on being able to sign these 
 types of forms using the Swedish signature infrastructure, and it is 
 essential that the resulting signature is visible in other PDF 
 readers, such as Acrobat.

Maybe you've also noticed that Adobe Reader XI now adds a line to the 
signature panel informing if the signature is LTV enabled. We've 
worked with one of our customers to provide functionality to make sure 
that Adobe Reader always shows that the signed document is LTV enabled 
instead of the message that it isn't (which happens when you don't sign 
the document according to best practices).

If you're not a customer, and you sign a document incorrectly using 
iText, please consider paid support to find out what you're doing wrong. 
If you're a customer, please use the paid support forum, and we'll 
explain what is needed in the context of PAdES-4 (LTV).

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] iText signature bug - Non conformance to ISO 32000-1?

2012-12-20 Thread Stefan Santesson
Hi Bruno,

I'll start saying Don't shoot the messenger :)
The DSS part of this was only additional info.

Note that the main question is that I produced this with iText 5.3.0.
You will not find me as a registered customer of iText, as I'm not selling
any software.
I'm just a consultant.

I'm creating the business for you, but I'm not your direct customer.

I will read the linked document, thanks, and I will pass your message to
the Commission.

So what I hear you say is that the fact that 5.3.0 produces this result is
not a bug, but a missing feature. Right?

/Stefan



On 12/20/12 8:59 AM, Bruno Lowagie br...@lowagie.com wrote:

On 20/12/2012 1:21, Stefan Santesson wrote:
 I want to report a suspected bug in iText

Hello Stefan,
many integrators working for the EU are playing solo-slim. I don't like
this.

The problem you mention is old news for us. Please read
http://itextpdf.com/book/digitalsignatures

If you read this technical white paper carefully, you'll find out that
iText fully supports PAdES-2 (ISO-32000-1), PAdES-3 (to be expected in
ISO-32000-2) and even PAdES-4 (Long Term Validation). iText DOES NOT
support PAdES-5 (XFA based forms) yet. It's on our roadmap for 2013 if
somebody (the EU?) is willing to sponsor its development.

I've recently attended the ETSI Workshop in Berlin. See
http://www.etsi.org/news-events/news/611-201211-tsp
I'm starting to get acquainted with the upcoming rules and regulations
in different countries, as well as with the way the EU works.

I urge you to tell everyone you know that the EU-Commission Open Source
tool based on iText 2.1.7 HAS NEVER BEEN ENDORSED by the copyright
owners of iText.

Some of the companies that has worked on this tool refuse to talk to us:
http://www.lowagie.com/dearintegrator
Some companies were aware of the problem and asked us for an exception
so that they could use the newer iText version (AGPL) in an EUPL
project. However: as they wanted us to grant them this exception for
free, there was a discussion that didn't end in a mutual agreement:
http://www.lowagie.com/eupl

I fear that these companies will be in serious trouble once the EU finds
out they've spent plenty of money on software development that doesn't
succeed in producing standard conforming signatures. Fortunately, we
have sufficient proof that these companies refused to purchase support
from us and denied our advice. This lack of professionalism shown by
some specific integrators really makes me sad, especially if they'd
start blaming iText for their own mistakes.

I usually welcome bug reports, because they allow us to improve our
product. However, it's disappointing to read a mail saying I want to
report a suspected bug in iText after I've been talking to a wall for
such a long time, warning different stakeholders in this matter that
things weren't going in the right direction.

I know you aren't to blame for this. The main problem is the fact that
the EU isn't aware of the fact that they pay good money to companies who
make wrong use of a fine Free/Open Source Software product.

I'm putting our sales in Bcc: to check if your company is a customer of
ours. If not, please don't expect privileged support; that would be
unfair towards those companies who have established a correct business
relationship with us.
Best regards,
Bruno Lowagie
CEO iText Software Group

--

LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a
reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 

Re: [iText-questions] iText signature bug - Non conformance to ISO 32000-1?

2012-12-20 Thread Bruno Lowagie
On 20/12/2012 11:03, Stefan Santesson wrote:
 I'll start saying Don't shoot the messenger:)

I know. What saddens me is the misinformation in spite of our 
significant investment in providing good information :-(

 I'm just a consultant.

 I'm creating the business for you

That's the general idea, but in practice many consultants don't create 
any business for us because large integrators sell iText-based projects 
without establishing a business relationship with us. On top of that, we 
see that these integrators use iText in a way that doesn't follow best 
practices.

 So what I hear you say is that the fact that 5.3.0 produces this result is
 not a bug, but a missing feature.

Before you sign a PDF document, you need to check which type of 
signature applies.
It should be evident that you can't sign a pure XFA form using PAdES 2 
or PAdES 3.
For those forms, you need PAdES 5 and that's currently not supported yet.

best regards,
Bruno

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] iText signature bug - Non conformance to ISO 32000-1?

2012-12-20 Thread Stefan Santesson
Thank you,

That was really helpful.

/Stefan

On 12/20/12 11:09 AM, Bruno Lowagie br...@lowagie.com wrote:

On 20/12/2012 11:03, Stefan Santesson wrote:
 I'll start saying Don't shoot the messenger:)

I know. What saddens me is the misinformation in spite of our
significant investment in providing good information :-(

 I'm just a consultant.

 I'm creating the business for you

That's the general idea, but in practice many consultants don't create
any business for us because large integrators sell iText-based projects
without establishing a business relationship with us. On top of that, we
see that these integrators use iText in a way that doesn't follow best
practices.

 So what I hear you say is that the fact that 5.3.0 produces this result
is
 not a bug, but a missing feature.

Before you sign a PDF document, you need to check which type of
signature applies.
It should be evident that you can't sign a pure XFA form using PAdES 2
or PAdES 3.
For those forms, you need PAdES 5 and that's currently not supported yet.

best regards,
Bruno

--

LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a
reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] OutOfMemory using PdfGraphics2D

2012-12-20 Thread Paco (Dem)
I solved my issue using PdfStamper:

Open the pdf file, stamp a bunch of shapes (over 100.000), save and
close the file.

Repeat with more shapes.

Maybe is not elegant, but worked for me. It keep crashing with one
million elements but I don't need so many elements to be exported.

Thank you.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

[iText-questions] Get text on particular layer

2012-12-20 Thread mika . mahonen
Hello,

I have a question about pdf-text extraction and layers. I have Pdf-files 
that have multiple layers. Only one of these layers is containing text 
that I am interested in. Is there a way to extract text from this 
particular layer only? I am familiar with programming, so I just wish to 
know if API has support for this? So far, I have been able to find only 
examples to add new layers for Pdf -files. 

Best Regards,
Mika Mähönen
Pori, Finland
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Get text on particular layer

2012-12-20 Thread 1T3XT BVBA

On 20/12/2012 13:07, mika.maho...@elinar.fi wrote:

Hello,

I have a question about pdf-text extraction and layers. I have 
Pdf-files that have multiple layers. Only one of these layers is 
containing text that I am interested in. Is there a way to extract 
text from this particular layer only? I am familiar with programming, 
so I just wish to know if API has support for this? So far, I have 
been able to find only examples to add new layers for Pdf -files. 


When you download iText from SourceForge, there's a zip with three jars.
The code you need is in the xtra jar: com.itextpdf.text.pdf.ocg.OCGRemover
With this class, you can remove layers from a PDF, keeping only the one 
you're interested in.
Or, by using OCGParser correctly, you could filter our content of one 
specific layer.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

[iText-questions] [SPAM] Re: iText signature bug - Non conformance to ISO 32000-1?

2012-12-20 Thread mkl
blowagie wrote
 It should be evident that you can't sign a pure XFA form using PAdES 2 
 or PAdES 3.

[nitpicking]

Well, if you make sure that all participating software inspects the AcroForm
signature fields even though XFA is involved, using PAdES 2 / 3 signatures
might be ok.

[nitpicking off]

For the sake of interoperability, though, you obviously should refrain from
such solutions.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/How-I-clean-ownerpassword-to-be-able-to-modify-a-pdf-tp4657157p4657172.html
Sent from the iText - General mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


[iText-questions] Question on Itext

2012-12-20 Thread Rosy rose
Hi All,

I am trying to convert the tiff file into pdf file but the conversion fails
if the tiff file has tiles.
Kindly suggest solution for the same.

Regards
Rosy
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php