Red Gate forums :: View topic - Keycontainer
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Keycontainer

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Knuddlbaer



Joined: 30 Mar 2011
Posts: 10

PostPosted: Wed Mar 30, 2011 1:19 pm    Post subject: Keycontainer Reply with quote

Is it possible to use keycontainer on strong name singing?

best regards
Michael
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Thu Mar 31, 2011 5:05 pm    Post subject: Reply with quote

I'm afraid I don't know what you mean. You mean you want to use a software signing certificate and strong-naming together on a protected assembly? That's okay. A few other people that have contacted me are doing just that.
Back to top
View user's profile Send private message
Knuddlbaer



Joined: 30 Mar 2011
Posts: 10

PostPosted: Thu Mar 31, 2011 9:36 pm    Post subject: Reply with quote

Using strong name with keycontainer like:

http://msdn.microsoft.com/en-us/library/5b92wy0h%28v=vs.80%29.aspx
and
[assembly: AssemblyKeyName("<Keyname>")]

http://snipplr.com/view/920/shared-strong-name-keys-in-a-key-container/

You can install an key in keycontainer using sn.exe -i . Than you can refer this key with

[assembly: AssemblyKeyName("<Keyname>")]

or compilerflag /keycontainer

so you do not need to handle the file unsave on any drive or get the usb stick out of the securitybox.

I build my framework with AssemblyKeyName and need to take my usb stick on obfuscating. It was nice, if i can use the key from keycontainer to like the c# compiler with /keycontainer.

I'm sorry for my bad english.

Best regards
Michael
Back to top
View user's profile Send private message
Knuddlbaer



Joined: 30 Mar 2011
Posts: 10

PostPosted: Thu Mar 31, 2011 9:47 pm    Post subject: Reply with quote

[edit]Wrong window - sry[/edit]
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Fri Apr 01, 2011 9:07 am    Post subject: Reply with quote

As far as I know you're limited to an assembly key file for signing in SmartAssembly.
Back to top
View user's profile Send private message
Knuddlbaer



Joined: 30 Mar 2011
Posts: 10

PostPosted: Fri Apr 01, 2011 12:07 pm    Post subject: Reply with quote

Is it possible to make an feature request for future versions?

Best regards
Michael
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Fri Apr 01, 2011 12:49 pm    Post subject: Reply with quote

Yes, I will do that.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Fri Apr 01, 2011 1:40 pm    Post subject: Reply with quote

Our reference number for the feature request is SA-882. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group