have been trying to decrypt a message using the session key, but can't get it to work, (am using gnupg 1.4.2 at the command line)
started by encrypting a file to a test key (and also to my default key), saving the file as c:\r\s.txt and decrypting with the option of --show-session-key here is part of the gpg output after decryption: gpg: public key is F0E74948 gpg: using subkey F0E74948 instead of primary key 7B534E2D gpg: public key encrypted data: good DEK gpg: public key is 04ADEE20 gpg: using subkey 04ADEE20 instead of primary key 6A589A97 gpg: encrypted with 4096-bit RSA key, ID 04ADEE20, created 4/26/2001 "vedaal nistar <[EMAIL PROTECTED]>" gpg: encrypted with 1024-bit ELG-E key, ID F0E74948, created 1/15/2002 "boo <[EMAIL PROTECTED]>" gpg: 3DES encrypted data gpg: decryption okay gpg: session key: `2:1568A79A26ABCB75C294AA07AB73C53A7D168F2B898F93BE' here is what i tried to do to decrypt with the session key: first, this one: C:\>gpg --override-session-key string1568A79A26ABCB75C294AA07AB73C53A7D168F2B898F93BE c:\r\s.txt and got this gpg output error message: gpg: public key decryption failed: bad key gpg: decryption failed: secret key not available then i tried each of the following, but got the same error message as above gpg --override-session-key string2:1568A79A26ABCB75C294AA07AB73C53A7D168F2B898F93BE c:\r\s.txt gpg --override-session-key string`1568A79A26ABCB75C294AA07AB73C53A7D168F2B898F93BE' c:\r\s.txt gpg --override-session-key string`2:1568A79A26ABCB75C294AA07AB73C53A7D168F2B898F93BE' c:\r\s.txt then i tried it with a space between the word string and the session key string, like this: (there was no line wrapping in the command line) gpg --override-session-key string `2:1568A79A26ABCB75C294AA07AB73C53A7D168F2B898F93BE' c:\r\s.txt and got the following gpg error message: usage: gpg [options] [filename] and got the same syntax error mesage for each of the variants of the session key string, both with and without the 2 and : in front, and both with and without the ' before and after the string what is the correct syntax to get this to work? TIA, vedaal Concerned about your privacy? Follow this link to get secure FREE email: http://www.hushmail.com/?l=2 Free, ultra-private instant messaging with Hush Messenger http://www.hushmail.com/services-messenger?l=434 Promote security and make money with the Hushmail Affiliate Program: http://www.hushmail.com/about-affiliate?l=427 _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users