delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/06/00:12:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Vlad Edmond Gradin" <gradin AT total DOT net>
To: <cygwin AT cygwin DOT com>
Cc: <english-gpg AT gdata DOT de>
Subject: Cygwin GPG + Outlook 2000 + G-Data plugin
Date: Sat, 6 Dec 2003 00:12:07 -0500
Message-ID: <DPECJIEGEMEEOEJCOGBBCEDPCBAA.gradin@total.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

-----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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019