J
jojobar
BACKGROUND
=======================================================
I used makecert to create a self-signed certificate, and then used cert2spc
to
create a test Software's Publishers Certificate (SPC). I then used SignCode
to Authenticode sign my C# AddIn Shim.
In Word, I unchecked "Trust all installed add-ins and templates" and set
security
to first Medium and then High.
On medium security settings, at Word startup, a message indicating that the
certificate was not to be trusted was displayed. It also allowed me to enable
the macros which allowed my Add-In to install and run. But the checkbox
option "Always trust macros from this source" was also disabled.
On the High security settings, Word displayed the same dialog as above, but
the "Enable Macros" button was disabled, which kept my Add-In from loading at
all.
=============================================
Question(s).
Conditions: "Always trust macros from this source" not checked
Macro Security: Medium
1. Using only a self signed test SPC is the default behavior to require the
user to push "Enable Macros" every time Word loads.
2. Is the default behavior to disable the checkbox"Always trust macros
from this source?"
3. Is there any way to add a self-signed certificate to the "Trusted Sources"
list?
4. Is the above described behavior typical of self-signed certificates?
5. What is the easiest and best way to verify Authenticode signed assemblies
without having to rely on whether the add loads in an office application?
=======================================================
I used makecert to create a self-signed certificate, and then used cert2spc
to
create a test Software's Publishers Certificate (SPC). I then used SignCode
to Authenticode sign my C# AddIn Shim.
In Word, I unchecked "Trust all installed add-ins and templates" and set
security
to first Medium and then High.
On medium security settings, at Word startup, a message indicating that the
certificate was not to be trusted was displayed. It also allowed me to enable
the macros which allowed my Add-In to install and run. But the checkbox
option "Always trust macros from this source" was also disabled.
On the High security settings, Word displayed the same dialog as above, but
the "Enable Macros" button was disabled, which kept my Add-In from loading at
all.
=============================================
Question(s).
Conditions: "Always trust macros from this source" not checked
Macro Security: Medium
1. Using only a self signed test SPC is the default behavior to require the
user to push "Enable Macros" every time Word loads.
2. Is the default behavior to disable the checkbox"Always trust macros
from this source?"
3. Is there any way to add a self-signed certificate to the "Trusted Sources"
list?
4. Is the above described behavior typical of self-signed certificates?
5. What is the easiest and best way to verify Authenticode signed assemblies
without having to rely on whether the add loads in an office application?