Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Progress Update: Switching to CAPICOM

Last post 01-19-2009, 14:33 by idw. 2 replies.
Sort Posts: Previous Next
  •  01-18-2009, 11:42

    • idw is not online. Last active: Mon, Nov 18 2019, 7:46 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 47,915
    • BetaTeam

    Progress Update: Switching to CAPICOM

    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!


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
  •  01-18-2009, 16:30

    • Rolf Lindby is not online. Last active: 2019-11-17, 17:42 Rolf Lindby
    • Top 10 Contributor
    • Joined on 05-08-2007
    • Stockholm, Sweden
    • SuperStar
    • Points 26,420
    • BetaTeam Moderator SystemAdministrator

    Re: Progress Update: Switching to CAPICOM

    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 

  •  01-19-2009, 14:33

    • idw is not online. Last active: Mon, Nov 18 2019, 7:46 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 47,915
    • BetaTeam

    Re: Progress Update: Switching to CAPICOM

    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 

    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.


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page