PowerShell Script Signing

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
ryanba
Posts: 28
Joined: Fri Dec 05, 2008 8:19 am

PowerShell Script Signing

Post by ryanba » Mon Dec 08, 2008 3:47 am

I did not recieve the email you sent me

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

PowerShell Script Signing

Post by Alexander Riedel » Mon Dec 08, 2008 3:59 am

Please email me your correct email address to support@sapien.com
Please note that email MAY get stuck in spam filters and also let me know if you have limitations on what type of attachments can be sent to your account.

Thanks,
Alex
Alexander Riedel2008-12-08 11:09:40
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
ryanba
Posts: 28
Joined: Fri Dec 05, 2008 8:19 am

PowerShell Script Signing

Post by ryanba » Mon Dec 08, 2008 5:24 am

I received your email and followed your instructions by downloading then registered the new dll using regasm.exe. Then restarted my computer even though it wasn't necessary just for good measure. I then pointed to the certificate as I have shown previously and tried to sign my script by both going to Script > Sign Script and also to have it automatically sign the script when saving. PrimalScript still does nothing and gives me no output or errors. (The certificate was the one that does not have a password for it)

Again I verified that the certificate was valid by manually doing it through the PowerShell console. I was able to successfully register the certificate using the exact same PFX file.

Thanks,
-Ryanryanba2008-12-08 12:27:37

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

PowerShell Script Signing

Post by Alexander Riedel » Mon Dec 08, 2008 5:31 am

Alright. I'll put in some more diagnostics and we try again.
It works fine here, so I am really curious.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

PowerShell Script Signing

Post by Alexander Riedel » Mon Dec 08, 2008 5:34 am

Oh, just to make sure, the file you are attempting to sign does have a .PS1 extension?
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
ryanba
Posts: 28
Joined: Fri Dec 05, 2008 8:19 am

PowerShell Script Signing

Post by ryanba » Mon Dec 08, 2008 7:03 am

Oh, just to make sure, the file you are attempting to sign does have a .PS1 extension?


Yes I am trying to sign a file that has a .PS1 extension

Thanks,
-Ryan

User avatar
ryanba
Posts: 28
Joined: Fri Dec 05, 2008 8:19 am

PowerShell Script Signing

Post by ryanba » Wed Jan 07, 2009 2:25 am

I have not gotten a response on this topic for month. Could someone please help me with my problem as I am still unable to sign scripts use PrimalScript?

Thanks,
-Ryan

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

PowerShell Script Signing

Post by Alexander Riedel » Wed Jan 07, 2009 2:29 am

I sent you a modified exe and dll for testing on December 10th.
Can you please verify that our emails don't get stuck in your spam filter?

Alex
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
ryanba
Posts: 28
Joined: Fri Dec 05, 2008 8:19 am

PowerShell Script Signing

Post by ryanba » Wed Jan 07, 2009 2:34 am

Can you please send it to my other email address as the one for my work . I will email my address again to support@sapien.com.

Thanks,
-Ryan

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

PowerShell Script Signing

Post by Alexander Riedel » Wed Jan 07, 2009 2:40 am

Yeah, that's the one I sent it to. I'll try again this afternoon.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.