Name truncated in digitally signing?

C

c mateland

Can anyone shed light on this?

My company got a certificate or VBA digital signing ID for digitially
signing VBA macros inside MS Office. It was issued from VeriSign.
Everything's fine, but the Security Alert dialog box, where the user
chooses to trust the source and enable macros, shows our company name
WITHOUT "Inc". It shows truncated from "XXX Company, Inc." to "XXX
Company,".

Every property in the certificate shows it correctly, but in the dialog
box mentioned above, it truncates. VeriSign can't figure it out and
they are blaming Microsoft, saying I have to call them. I will, but in
the meantime, I'd like to know if anyone has any thoughts on this.

Thanks,
Chuck
 
C

c mateland

The problem seems to be due to the "&" in our company name. It cuts off
text from there in the MS Security dialog box where it asks the user to
trust the source.

I know I'm not the only company with an "&" in it's name, so I'm asking
if anyone else has come across this problem?

-Chuck
 
G

Guest

Hi mateland,
While I don't have an answer for you, I DO want to thank you for keeping
our community up on what's happening with this issue. As far as I know, It's
a new one on us.
Thanks and again, sorry I don't have an answer for you.
Sincerely,
 
C

c mateland

MS help (premium access) never answered the phone, so I put in a call
record via the Web, but I'm not holding my breath I'll get an answer
anytime soon. <g>

In the meantime, with deadlines already expired, I researched more on
my own. I built certificates using Selfcert where I included the "&" in
the name trying to grasp a pattern or logic to all this. Invariably the
name was truncated by the MS Office Security dialog box. (That's the
dialog box all Office files pop up when a macro is in the file being
opened. If a certificate is assigned to the macro, which MS recommends,
then the name of the developer/company is displayed and the user can
choose to trust the source and never be bothered again with the
warning. My point is this is a very commonly viewed dialog box, so the
problem is not obscure.)

And it's not a fluke. Anyone can see this for themselves. It's very
reproducable and only takes a few seconds to set up:
1) Launch Selfcert.exe (In the Office folders).
2) When prompted, set the certificate name to anything an "&".
("Beavis & Butthead")
3) Finish the certificate.
4) In ANY MS Office program make sure macro security is set to Medium
or higher (Tools > Macro > Security).
5) Start a new document and make a simple macro (recording one is
fine).
6) In the VBE sign the certificate to the macro (Tools > Digital
Signature).
7) Save the document, close it, then re-open it.
8) The Office security dialog box appears asking to enable macros with
a checkbox asking to trust the source in the future.
9) STOP and look at the name of the certificate source at the top of
the dialog box. Instead of "Beavis & Butthead", it shows only, "Beavis
&". OOPS!

Further testing showed that if I add a space and a punctuation to the
end of my certificate name when setting it up, the whole name magically
appears in the dialog box. It seems the "&" cuts off text like a
delimiter, then the space+punctuation restores it. Go figure.

See if for yourself. Using the steps above, make a new certificate but
make the name "Beavis & Butthead -" (note the spaces). In the dialog
box the name now displays correctly. The caveat is the technical
properties of the certificate display "Beavis & Butthead -". But that's
better than the first scenario. Most users won't look at that anyway.

It sounds funky, but at least I found a workaround. The only outcome
from Verisign and MS pointing fingers at each other is that I lost lots
of money and time. I'm happy I found a solution so I can move on past
this problem.

So, there you have it. I hope this helps someone in the future so they
don't have to go through the frustrations I had to deal with proving to
these large corporations I'm not insane and that I didn't create the
problem as they tried insinuating.

I'm all ears if anyone has other thoughts on this.

Thanks,
Chuck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top