Newbie question

Werner Koch wk at gnupg.org
Fri Feb 9 14:56:58 CET 2007


On Fri,  9 Feb 2007 12:01, antonio.bleile at seac02.it said:

> - Does libcrypt do the job? I guess so...

No.  Libgcrypt provides basic building blocks but has no support for
any specific protocol.

> - The CAD data may contain a fixed header, so an atacker knowing
>   the header might use this info to easily get the private key?

It all depends on the protocol used.  Getting the protocol right is
not easy and thus the best advise I can give is to use an established
protocol like OpenPGP or CMS (pkcs#7)

For your application I would simply use a different file suffix or a
special MIME type and pipe the data through gpg while reading.


Salam-Shalom,

   Werner




More information about the Gnupg-users mailing list