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: Fri, Sep 20 2019, 8:08 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 47,155
    • 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: 26 5c a3 60 02 c6 e3 8a 75 70 d5 6a 67 ff d3 8d b0 b5 5e 5b
  •  01-18-2009, 16:30

    • Rolf Lindby is not online. Last active: 2019-09-20, 15:00 Rolf Lindby
    • Top 10 Contributor
    • Joined on 05-08-2007
    • Stockholm, Sweden
    • SuperStar
    • Points 26,350
    • 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: Fri, Sep 20 2019, 8:08 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 47,155
    • 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: 26 5c a3 60 02 c6 e3 8a 75 70 d5 6a 67 ff d3 8d b0 b5 5e 5b
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