3DES key generation
Fri Apr 18 13:14:01 2003
Content-Description: signed data
On Friday 18 April 2003 11:13, Egon Andersen wrote:
> David Shaw wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > On Thu, Apr 17, 2003 at 05:13:41PM +0200, Egon Andersen wrote:
> >>I know that gpg can use 3DES cipher algorithm, but how do I
> >> generate the 128-bit key used for this?
> >>I can see that gpg can generate DSA and ElGamal, but I can find out
> >> how to generate keys for 3DES.
> > GnuPG uses 3DES for session keys, so you do not need to generate
> > them. They are generated automatically as needed.
> Well, this true when I use gpg in both ends.
> But my problem is that the opposite end only uses symmetric ciphers
> and I have to inform them about my 3DES key for this session
> (encrypted with another 3DES key).
> So therefore I need to generate 3DES keys, encrypt it with a given
> 3DES key, at send it to the receiver.
> (I haven't 'invented' this system, the receiver did.)
> So is there any way I can generate/get 3DES key?
> Perhaps using some library?
Try --show-session-key and --override-session-key <string>. See 'man=20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----