Error encrypting string data
Mon, 21 Jul 2003 18:29:49 +0200
=2D----BEGIN PGP SIGNED MESSAGE-----
Am Montag, 21. Juli 2003 18:20 schrieb Moritz Schulte:
> Ralf Schneider <email@example.com> writes:
> > Ok, and then I have 6 MPI values. What do I have to with them to get
> > the key?
> Uhm, I think you misunderstood something; *those* MPI values together
Yes, I think so :-(
> form the key, it is everything what you need and the only interesting
> piece of information that is stored in a gcry_ac_key_t structure.
But what is the content of the files that are created when I generate a key=
pair with GPG?=20
> > What do I have to do to get the key as a byte array?
> Not sure. You need a special format for this purpose.
What I want to do is simply store the key (in my case in a database, but it=
must be the same when storing it in file) and at a later time I want to=20
reload the data from the database and rebuild the key from it so that it ca=
be used for decrypting a piece of encrypted data.
I'm sure there must be a way to manage this :-)
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
=2D----END PGP SIGNATURE-----