|
From: Charly A. <sha...@ma...> - 2007-04-13 13:43:56
|
tombb wrote the following on 4/13/07 4:25 PM: > Hi all, > Question here: able to encrypt/sign when I am sending messages back and > forth to self using mac version of gpg, but trouble across platform to > another user with windows version of gnu gpg. Their app correctly received > my key, but the mac Mail.app on my computer appears to be having difficulty > with their key. I can't seem to import the key when using GPG Keychain > Access app on my mac. the file I receive from the windows pubkey export is > listed as "0x0C0D89A8.asc.pgp" -- even though when I export it on the > windows machine it appears to be a text file with a .txt extension on the > windows end before mailing it. > What do I need to do to import this into my mac system? Right now Mail.app > does not have the windows pubkey, nor does GPG Keychain Access. > Much thanks. The reason why you can import the key you received from that Windows user *might* be that the key file has DOS line-ends. GnuPG recognizes only Unix line ends. I suggest you try the following: - open the keyfile you have received from the Windows user, using a text editor like BBEdit Lite or TextWrangler (both are freeware, you can download them and use them right away). - now save that file using Unix line-ends. If you are using BBEdit, the save dialogue box will show a button named 'Options'. Click it, and choose the Unix line-ends option. You can, if you wish, save it under a different name, so as not to get confused. - try to import that new file (with Unix line-ends) using GPG Keychain Access. You can also import it using Terminal: $ gpg --import[the path to the new keyfile]. Good luck, Charly |