Share via

Outlook does not always use the configured algorithm for digital signature (S/MIME)

Anonymous
2024-04-19T10:06:31+00:00

I am working with the Outlook version:

Microsoft® Outlook® para Microsoft 365 MSO (versión 2403 compilación 16.0.17425.20176) de 64 bits

For the digital signature of the messages I have configured the SHA256 algorithm. All messages are signed with this hash algorithm. Perfect.

The problem comes when I encrypt and sign a message. In that case, the encryption is done with the algorithm I have configured (AES256), but the signature uses a SHA1 hash.

Given the progressive lack of trust in SHA1 by mail clients, signing messages with this algorithm is very problematic.

Is it a bug? Can the configuration be further tweaked?

Outlook | Windows | Classic Outlook for Windows | For education

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

11 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-06T17:19:06+00:00

    Hi Eleni,

    Thank you for your comments.

    The feedback you mention:

    is unrelated to this problem.

    I have already opened a ticket about this problem:

    but I don't think that fixing a bug should depend on people's votes. You are not asking for a new feature but for it to work properly.

    Regards

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-04-26T12:33:25+00:00

    Hi Eleni,

    Thank you for your response.

    I know how to configure the algorithm (hash) used in the signature and avoid using SHA1.

    In fact, I opened this ticket because Outlook ignores this configuration: it erroneously uses SHA1 when encrypting and signing an email. Regardless of how the account security is configured.

    To summarize:

    • if I configure an account in Outlook to sign with SHA256

    • when sending a signed and encrypted email, Outlook ignores the configuration and uses SHA1

    • only-signed emails do use the hash set by the user

    This is a bug in the client that should be fixed

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-04-23T15:29:43+00:00

    HI mimaen,

    Good day!

    Thank you for Replying to the Microsoft Community. We are glad to assist.

    after alotof search about your problem , you need to check configure Outlook to use modern algorithm settings ,

    you need to follow below steps :

    These registry keys need to be set before you configure the security profile. If a security profile has already been set up, make a note of the settings, then delete the security profile, restart Outlook, and create a new security profile. 

    To view and configure security settings, click the File menu, then click OptionsTrust Center, click the Trust Center Settings button, then click Email Security, and then the Settings button.

    To set the following higher security algorithms as the new defaults, use the registry settings below:

    • Encrypted email - AES 128 bit (2.16.840.1.101.3.4.1.2)
    • Digital signature - SHA 384 bit (2.16.840.1.101.3.4.2.2)
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\Security]
    "UseAlternateDefaultHashAlg"=dword:00000001
    "DefaultHashOID"="2.16.840.1.101.3.4.2.2"
    "UseAlternateDefaultEncryptionAlg"=dword:00000001
    "DefaultEncryptionAlgOID"="2.16.840.1.101.3.4.1.2"
    [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\Security\CNGAlgs\3DES]
    "Flags"=dword:00000001
    [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\Security\CNGAlgs\RC2]
    "Flags"=dword:00000001
    [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\Security\CNGAlgs\SHA1]
    "Flags"=dword:00000001

    The security profile should look like this:

    thumbnail image 1 of blog post titled                                              Recommended SMIME algorithm settings for modern Outlook builds                                             REF : Recommended SMIME algorithm settings for modern Outlook builds

    **Note :**please update your Vote to help other people have same Question .

    Thanks for your precious time. Have a nice day!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-04-19T12:24:33+00:00

    Hi Eleni,

    Thank you for the quick response.

    But the problem is unique to the Outlook client. There is no server involved in signing/encrypting my messages.

    I don't use an Exchange account and the certificates (and private keys) are only accessible to the client.

    Regards

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-04-19T12:14:02+00:00

    HI mimaen,

    Good day!

    Thank you for posting to Microsoft Community. We are glad to assist.

    Based on your post regarding with "Outlook does not always use the configured algorithm for digital signature (S/MIME)". It seems that the cause of the problem is most likely due to an error on the server backend. Because our forum lacks relevant resources and permissions, It is advised to create a service ticket in the Microsoft 365 admin center, as they have more access permissions than on this forum, and the dedicated team of professional engineers will further assist you.

    Here is how to get Online support | Microsoft Learn

    1. Go to the admin center at https://admin.microsoft.com. If you get a message that says you don't have permission to access this page or perform this action, you aren't an admin. For more information, see Who has admin permissions in my business?.
    2. On the bottom right side of the page, select Help & support.
    3. Type a question or keyword into the text box. If you get a drop-down list, select the one closest to your question, or continue typing your question, then press Enter.
    4. If the results don't help, at the bottom, select Contact Support.
    5. Enter a description of your issue, confirm your contact number and email address, select your preferred contact method, and then select Contact Me. The expected wait time is indicated in the Contact support pane.

    Note: If you are not using an admin account, kindly reach out to your IT administration within your organization for help.

    Thanks for your precious time. Have a nice day!

    Was this answer helpful?

    0 comments No comments