We would need one key-pair set which must be kept completely private,
and used for the official binary-only release. An assembly with that
key can be assured to be "pure", and therefore that key set cannot be
released with the source code. (If it were, a cracker could create a
malilicous version of Castle, and it would be indistinguishible from
the real code --- ths defeating the purpose of string naming in the
first place).
Which means we have the choice a) we provide a secondary "faux"
key-pair with the downloadable source code , or b) the source code
won't compile until the user creates thier own key-pair.
Truth,
James
This complicates things, but is nevertheless probably a good idea.
We would need one key-pair set which must be kept completely private,
and used for the official binary-only release. An assembly with that
key can be assured to be "pure", and therefore that key set cannot be
released with the source code. (If it were, a cracker could create a
malilicous version of Castle, and it would be indistinguishible from
the real code --- ths defeating the purpose of string naming in the
first place).
Which means we have the choice a) we provide a secondary "faux"
key-pair with the downloadable source code , or b) the source code
won't compile until the user creates thier own key-pair.
Truth,
James
On Mon, Feb 8, 2010 at 10:52 PM, Jonathon Rossi <jo...@jonorossi.com> wrote:
> Do many people put Castle binaries in the GAC. I assume most people would
> ship them in their bin directory, but I just wanted to get a feeling for how
> many people use the GAC.
>
> --
> Jono
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
nope
Some of our projects do because of Visual Studio designer quirks.
(Yes, there are some projects link to a Castle assembly and still use
the ASP.NET designers.)
In addition, I want to state that strong names are not only needed if
Castle binaries are put into the GAC, but also if another strong-named
library links to Castle assemblies.
Fabian
Cheers,
Henry Conceição
GAC is evil. 'Nuff said.
-rb
Why would you ever want to do such a thing to yourself?
Why are we strong naming the Castle assemblies?
As far as I know it doesn't really gives us any benefits, if we didn't
strong name assemblies we wouldn't have problems like this:
http://groups.google.com/group/castle-project-devel/browse_thread/thread/4a2cdffa18ab6583
Thoughts?
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
Truth,
James
A strong-named assembly cannot use a non-string-named assembly.
Since many of Castle's parts (like Windsor, DP and ActiveRecord), are
used as building blocks of third-party tools -- which themselves might
be strong-named, our assemblied must be.
Truth,
James
> Why are we strong naming the Castle assemblies?
> As far as I know it doesn't really gives us any benefits, if we didn't
> strong name assemblies we wouldn't have problems like this:
> http://groups.google.com/group/castle-project-devel/browse_thread/thread/4a2cdffa18ab6583
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
On Feb 11, 7:40 pm, James Curran <james.cur...@gmail.com> wrote:
> A strong-named assembly cannot use a non-string-named assembly.
> Since many of Castle's parts (like Windsor, DP and ActiveRecord), are
> used as building blocks of third-party tools -- which themselves might
> be strong-named, our assemblied must be.
>
> Truth,
> James
>
> On Thu, Feb 11, 2010 at 3:23 AM, John Simons <johnsimons...@yahoo.com.au> wrote:
> > Why are we strong naming the Castle assemblies?
> > As far as I know it doesn't really gives us any benefits, if we didn't
> > strong name assemblies we wouldn't have problems like this:
> >http://groups.google.com/group/castle-project-devel/browse_thread/thr...
But strong-naming isn't just about using the GAC -- It's mostly about
having a verifiable origin. In a world where corporate IT departments
lock out all kinds of software coming from the Internet, being able to
show that an assembly is the original version and not one create by a
hacker who download and modified the source code is important.
Truth,
James
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
Are you implying that any project that uses Castle and needs its
assemblies to be strong-named should just use Signer and sign them by
itself?
If so, I think this would be a very bad default. Libraries should be
strong-named so that they can be reused in strong-named applications
and other libraries. Everything else would be an unpleasant surprise.
If someone really needs a version of the Castle stack without strong
naming (for whatever reason), he or she should be required remove the
strong names, not the other way around.
What are the actual arguments in favor of removing strong names?
The posting cited by John (
http://groups.google.com/group/castle-project-devel/browse_thread/thread/4a2cdffa18ab6583
) seems to me an argument for releasing (or re-releasing the same
version with updated references) more often rather than just removing
strong names. .NET provides facilities to use newer versions of
referenced libraries (assembly dependency rebinding), and that
mechanism is very explicit for a good reason: it can easily break
something if the newer version isn't fully backwards compatible.
The argument that the snk is publicly available anyway is a good one.
But I'd rather solve it by having a private key for official builds
that is not in source control and available to only a limited number
of people. E.g. Castle Stronghold, or the PMC.
Fabian
Krzysztof
On 11 Lut, 11:11, Fabian Schmied <fabian.schm...@gmail.com> wrote:
> >http://www.codeplex.com/Signer
>
> Are you implying that any project that uses Castle and needs its
> assemblies to be strong-named should just use Signer and sign them by
> itself?
>
> If so, I think this would be a very bad default. Libraries should be
> strong-named so that they can be reused in strong-named applications
> and other libraries. Everything else would be an unpleasant surprise.
> If someone really needs a version of the Castle stack without strong
> naming (for whatever reason), he or she should be required remove the
> strong names, not the other way around.
>
> What are the actual arguments in favor of removing strong names?
>
> The posting cited by John (http://groups.google.com/group/castle-project-devel/browse_thread/thr...