Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WindowsSecureMimeContext with more certificate identificators #100

Closed
xtomas opened this issue Feb 10, 2015 · 1 comment
Closed

WindowsSecureMimeContext with more certificate identificators #100

xtomas opened this issue Feb 10, 2015 · 1 comment
Labels
bug Something isn't working

Comments

@xtomas
Copy link

xtomas commented Feb 10, 2015

Hello,

I started to use MimeKit this week with Windows certificate store so WindowsSecureMimeContext was logical choose. But there is only one identifier to identify certificate - mail address. What do I need is identification using Thumbprint. For testing purposes, I've easily created ThumbprintWindowsSecureMimeContext based on your code from git, but may be it can be useful for others to.

Also MultipartSigned Create method will be useful with Thumbprint parameter to use ThumbprintWindowsSecureMimeContext.

MultipartSigned Create(MyWindowsSecureMimeContext ctx, string certificateThumbprint, DigestAlgorithm digestAlgo, MimeEntity entity)

Well, I'm not sure, if this is the Issue but I'm also new on github...

Tomas

jstedfast added a commit that referenced this issue Feb 10, 2015
@jstedfast
Copy link
Owner

Hi xtomas,

It looks like WindowsSecureMimeContext was not updated to take advantage of the SecureMailboxAddress class which already has a Fingerprint (aka Thumbprint in Microsoft lingo) property for this purpose.

What you want to do is create SecureMailboxAddresses instead of normal MailboxAddresses if you'd prefer the Thumbprint to be used for lookups instead of the email address.

@jstedfast jstedfast added the bug Something isn't working label Mar 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants