This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin GPG + Outlook 2000 + G-Data plugin


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

If somebody wants to use Cygwin GPG with Outlook with G-Data plugin.
G-Data plugin is available from www3.gdata.de, with sources.
I had to rebuild GDGPG.dll with some small changes, because I got "wrong
passphrase" error and then, an outlook fopen error.
I used Visual C++ 6.0 and I had to download Windows Template Library from
MS. Also, the program can be debuged attaching outlook.exe to the project
settings.
For the key management I use only cygwin gpg from commnad line.


- --- GDATA_sources/Gdgpg/GDGPG.cpp       2003-12-05
23:03:30.527054400 -0500
+++ GDATA_sources_original/Gdgpg/GDGPG.cpp      2001-08-10
11:45:12.000000000 -0400
@@ -192,8 +192,7 @@
        // send passpharse (if spezified)
        if (bSuccess && (sPassphrase.size() > 0))
        {
- -               //string s = sPassphrase + "\r\n";
- -               string s = sPassphrase + "\n";
+               string s = sPassphrase + "\r\n";
                DWORD dwWritten = 0;
                WriteFile(hWritePipeIn, s.c_str(), s.size(), &dwWritten,
NULL);
        }



- --- GDATA_sources/Gdgpg/GDGPGO.cpp      2003-12-05
22:59:11.384425600 -0500
+++ GDATA_sources_original/Gdgpg/GDGPGO.cpp     2001-08-10
11:37:48.000000000 -0400
@@ -615,10 +615,8 @@
        USES_CONVERSION;

        *pvReturn = GDGPG_SUCCESS;
- -       //if (OLE2A(strFilenameDest) == "")
- -       //{
- -       _bstr_t sir(strFilenameDest);
- -       if (sir.length() == 0){
+       if (OLE2A(strFilenameDest) == "")
+       {
                m_sEncryptCommandNextFile = "";
                m_sEncryptPassphraseNextFile = m_sPassphraseInvalid;
                return S_OK;
@@ -677,10 +675,8 @@
                hWndParent = (ULONG) ::GetActiveWindow();

        *pvReturn = GDGPG_SUCCESS;
- -       //if (OLE2A(strFilenameDest) == "")
- -       //{
- -       _bstr_t sir(strFilenameDest);
- -       if (sir.length() == 0){
+       if (OLE2A(strFilenameDest) == "")
+       {
                m_sDecryptPassphraseNextFile = m_sPassphraseInvalid;
                return S_OK;
        }
@@ -712,6 +708,3 @@

        return S_OK;
 }
- -
- -
- -



- --- GDATA_sources/GPGExch/GPGExch.cpp   2003-12-05
23:08:07.335084800 -0500
+++ GDATA_sources_original/GPGExch/GPGExch.cpp  2001-06-12
16:13:52.000000000 -0400
@@ -22,7 +22,7 @@
 #include "stdafx.h"

 #include <INITGUID.H>
- -//#include <MAPIGUID.H>
+#include <MAPIGUID.H>
 #include <EXCHEXT.H>

 #include "GPGExchange.h"



- --- GDATA_sources/GPGExch/GPG.cpp       2003-11-13
14:45:08.000000000 -0500
+++ GDATA_sources_original/GPGExch/GPG.cpp      2001-08-09
20:49:38.000000000 -0400
@@ -29,9 +29,7 @@
 #include "GPGExch.h"
 #include "..\GDGPG\Wrapper\GDGPGWrapper.h"

- -//DEFINE_OLEGUID(IID_IMessage, 0x00020307, 0, 0);
- -
- -#define INITGUID
+DEFINE_OLEGUID(IID_IMessage, 0x00020307, 0, 0);

 // actions for ProcessAttachments()
 #define PROATT_SAVE                  1


Key ID 0x1D4FFB96
Key Server http://www.keyserver.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Cygwin)

iD8DBQE/0WUe8dGAeh1P+5YRAnA5AKClQ/uny7EwQ+79VHNljOUtJt3DGwCeMS4p
37tlBQkgc5WXlKMXzR+A5xw=
=gMYo
-----END PGP SIGNATURE-----


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]