Possible to automate Word macro signing from VB with Verisigncertificate?

C

Chrisso

Hi All

Does anyone know if it is possible to automate the signing of Word
files with a Verisign code signing certifcate from Visual Basic For
Applications code?

I have 2000 Word files that have macros that require signing and I
want to do this all in bulk.

I also add 10-100 new Word files to this library each month that also
need signing. This all happens currently from Visual Basic For
Applications code.

I really need to be able to sign the Word files from VB too it make
this process fully automatic.

Does anyone know if this is possible? It seems to me that this is a
task a lot of people must face.

Thanks in advance for any suggestions, ideas or links,
Chris
 
J

Jonathan West

Chrisso said:
Hi All

Does anyone know if it is possible to automate the signing of Word
files with a Verisign code signing certifcate from Visual Basic For
Applications code?

Alas, no. As far as I am aware it is not possible.
I have 2000 Word files that have macros that require signing and I
want to do this all in bulk.

I think you are going to be out of luck.
I also add 10-100 new Word files to this library each month that also
need signing. This all happens currently from Visual Basic For
Applications code.

What you need to do is to ensure that the base template for these 10-100 new
files contains a signed VBA project. Provided you don't modify the code in
any way, any documents you create from this base template will still be
signed.
 
C

Chrisso

Alas, no. As far as I am aware it is not possible.




I think you are going to be out of luck.




What you need to do is to ensure that the base template for these 10-100 new
files contains a signed VBA project. Provided you don't modify the code in
any way, any documents you create from this base template will still be
signed.

Thanks Jon.

I am really surprised that there is no way of doing this.

Am I the only person in the world who wants to do something similar?

Is there any (blue sky thinking) manner to script this up? I may be
stuck here in a rather large hole! :(

Thanks for your post though,
Chrisso
 
J

Jonathan West

Chrisso said:
Thanks Jon.

I am really surprised that there is no way of doing this.

Am I the only person in the world who wants to do something similar?

Is there any (blue sky thinking) manner to script this up? I may be
stuck here in a rather large hole! :(

No, and I'll explain why. If it were possible to script this, a virus that
gains access to a machine with a certificate (such things can happen) could
then hijack the certificate to create certified copies of itself.

That would be a Very Bad Thing, and would subvert the whole purpose of
having these certificates in the first place!
 
C

Chrisso

No, and I'll explain why. If it were possible to script this, a virus that
gains access to a machine with a certificate (such things can happen) could
then hijack the certificate to create certified copies of itself.

That would be a Very Bad Thing, and would subvert the whole purpose of
having these certificates in the first place!
Thanks....
 

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

Top