Notice: Undefined offset: 68 in /var/www/codoforum/sys/CODOF/Forum/Category.php on line 241

Notice: Trying to get property 'cat_name' of non-object in /var/www/codoforum/sys/CODOF/Forum/Category.php on line 241

Notice: Undefined offset: 68 in /var/www/codoforum/sys/CODOF/Forum/Category.php on line 242

Notice: Trying to get property 'cat_alias' of non-object in /var/www/codoforum/sys/CODOF/Forum/Category.php on line 242

Notice: Undefined offset: 68 in /var/www/codoforum/sys/CODOF/Forum/Category.php on line 238

Notice: Trying to get property 'cat_pid' of non-object in /var/www/codoforum/sys/CODOF/Forum/Category.php on line 238
Progress Update: Switching to CAPICOM | PMAIL COMMUNITY
Encryption
Progress Update: Switching to CAPICOM

[quote user="Rolf Lindby"]

Ah, a fellow Delphi programmer...! I noticed in another context that Mercury includes the CryptLib library, and that there is a Delphi interface for it here: http://cryptlib.sogot.de/delphi.html

Not sure if that could be of any use for you, but it would at least be independant of any Microsoft version problems.

/Rolf 

[/quote]

It's actually delivered with Pegasus Mail as well, but I don't want to use it for several reasons:

1. I'm already using the CryptoAPI in my PGP extension, so I'm a bit familiar with it.

2. CryptLib doesn't provide any user interface and especially no convenient key/certificate management tools.

3. People switching from any kind of "Windows Mail" may already be accustomed to using the built-in user interface and "certificate store".

4. There is a CAPICOM interface for Delphi as well (you need to use the TLIBIMP tool to extract it), so that's not the main issue (except for a couple of fixes required), it's just getting accustomed to new interfaces no matter which one. And like I said, CAPICOM solves the version issues.

[quote user="Rolf Lindby"]<p>Ah, a fellow Delphi programmer...! I noticed in another context that Mercury includes the CryptLib library, and that there is a Delphi interface for it here: <a href="http://cryptlib.sogot.de/delphi.html" mce_href="http://cryptlib.sogot.de/delphi.html">http://cryptlib.sogot.de/delphi.html</a></p><p>Not sure if that could be of any use for you, but it would at least be independant of any Microsoft version problems.</p><p>/Rolf </p><p>[/quote]</p><p>It's actually delivered with Pegasus Mail as well, but I don't want to use it for several reasons:</p><p>1. I'm already using the CryptoAPI in my PGP extension, so I'm a bit familiar with it.</p><p>2. CryptLib doesn't provide any user interface and especially no convenient key/certificate management tools.</p><p>3. People switching from any kind of "Windows Mail" may already be accustomed to using the built-in user interface and "certificate store". </p><p>4. There is a CAPICOM interface for Delphi as well (you need to use the TLIBIMP tool to extract it), so that's not the main issue (except for a couple of fixes required), it's just getting accustomed to new interfaces no matter which one. And like I said, CAPICOM solves the version issues. </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

A first note on development progress:

I've already written most of the code for S/MIME processing using the "plain" crypto API functions but am rather dissatisfied with its versioning hassles (check the respective functions for the varying details) and what I think is a rather bad bug in an important verification function resp. the data structure returned by it. For finding a better approach I've now started to work on using the CAPICOM interface which is a lot easier to use and redistribute while its most recent version just requires IE 6 SP1 to be installed on Win98 or later (some of this information can be found at http://msdn.microsoft.com/en-us/library/aa380255(VS.85).aspx, the most recent required IE version can better be checked on the pages describing the respective COM objects).

Although this isn't all of my issues as I still had and have to figure out how to use all this within my (free personal) Delphi environment I'm rather confident I've now done a proper start in replacing my "plain" crypto API based routines by COM based ones. I'm rather glad for having my PGP extension available for re-using its user interface, BTW ...

Watch out for more!

<p>A first note on development progress:</p><p>I've already written most of the code for S/MIME processing using the "plain" <a href="http://msdn.microsoft.com/en-us/library/aa380252%28VS.85%29.aspx" target="_blank" mce_href="http://msdn.microsoft.com/en-us/library/aa380252(VS.85).aspx">crypto API functions</a> but am rather dissatisfied with its versioning hassles (check the respective functions for the varying details) and what I think is a rather bad bug in an important <a href="http://msdn.microsoft.com/en-us/library/aa376078.aspx" target="_blank" mce_href="http://msdn.microsoft.com/en-us/library/aa376078.aspx">verification function</a> resp. the <a href="http://msdn.microsoft.com/en-us/library/aa377182%28VS.85%29.aspx" target="_blank" mce_href="http://msdn.microsoft.com/en-us/library/aa377182(VS.85).aspx">data structure</a> returned by it. For finding a better approach I've now started to work on using the <a href="http://msdn.microsoft.com/en-us/library/aa375732%28VS.85%29.aspx" target="_blank" mce_href="http://msdn.microsoft.com/en-us/library/aa375732(VS.85).aspx">CAPICOM interface</a> which is a lot easier to use and redistribute while its most recent version just requires IE 6 SP1 to be installed on Win98 or later (some of this information can be found at <a href="http://msdn.microsoft.com/en-us/library/aa380255%28VS.85%29.aspx" target="_blank" mce_href="http://msdn.microsoft.com/en-us/library/aa380255(VS.85).aspx">http://msdn.microsoft.com/en-us/library/aa380255(VS.85).aspx</a>, the most recent required IE version can better be checked on the pages describing the respective COM objects).</p><p>Although this isn't all of my issues as I still had and have to figure out how to use all this within my (free personal) Delphi environment I'm rather confident I've now done a proper start in replacing my "plain" crypto API based routines by COM based ones. I'm rather glad for having my PGP extension available for re-using its user interface, BTW ... </p><p>Watch out for more! </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Ah, a fellow Delphi programmer...! I noticed in another context that Mercury includes the CryptLib library, and that there is a Delphi interface for it here: http://cryptlib.sogot.de/delphi.html

Not sure if that could be of any use for you, but it would at least be independant of any Microsoft version problems.

/Rolf 

<p>Ah, a fellow Delphi programmer...! I noticed in another context that Mercury includes the CryptLib library, and that there is a Delphi interface for it here: <a href="http://cryptlib.sogot.de/delphi.html">http://cryptlib.sogot.de/delphi.html</a></p><p>Not sure if that could be of any use for you, but it would at least be independant of any Microsoft version problems.</p><p>/Rolf </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft