Error encrypting string data
Ralf Schneider
ralf@tapfere-schneiderleins.de
Tue, 22 Jul 2003 11:17:52 +0200
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Dienstag, 22. Juli 2003 00:12 schrieb Moritz Schulte:
> Ralf Schneider <ralf@tapfere-schneiderleins.de> writes:
> > But what is the content of the files that are created when I
> > generate a key pair with GPG?
>
> Those are the same information, i.e.: MPI values, written in a special
> format.
Ok, I think I understood this now :-) Lets assume I have my own format for=
=20
storing the MPI values. How can I then restore the key when I recover the M=
PI=20
values? Is it simply the other way round:
1. Create a new data set (gcry_ac_data_new)
2. Set the MPI values (gcry_ac_data_set)
3. Create the key from the data set (gcry_ac_key_init)
Or do I have to do anything else?
Best regards,
Ralf.
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/HQFA7YyyfykA0YkRAoNOAJkBn+HBDw1Dp5V7Y3ryIkbQZuemtwCfc0Xg
Dp49QRBmz899/t6bChMuQOU=3D
=3DHkhW
=2D----END PGP SIGNATURE-----