pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Crypt module discussion


From: David Vazquez
Subject: Re: [pdf-devel] Crypt module discussion
Date: Sat, 02 Aug 2008 17:48:55 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

address@hidden writes:

>    Just a note that Acrobat 9 includes a new encryption option that is
>    based on AES256, but with a completely different methodology for
>    generating the seed/initialization vector _AND_ which also now supports
>    Unicode passwords.
>
> David, do libgcrypt support AES256?
>

Yes, it does. 

However, jemarch. The question is that PDF Reference allows define new
encryption methods known as security handlers, possibly provided by an
external mechanism. We have discussed only the standard described by
PDF Reference, which provides both V2 and AESV2 methods.

Perhaps we could support others security handlers but it will not be
work for pdf-crypt, but for higher layers, I think. Since we do not
know anything about the methodology they will use. They could require
more knowledge of pdf objects, for example.

It occurs already in the standard security level too. The key is get
from the object's id. The IV (for AESv2) is get from 16 first bytes
from object itself. Pdf-crypt does not know anything about it.

So, we can implement several methods in pdf-crypt now. But if we want
to implement several security levels, perhaps it should be better
write a interface to security handlers in the future.

Cheers!

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]