<div dir="ltr"><div><div>I would probably refactor the code so the authentication key (or routine) goes into a separate file (authentication file) and distribute that file under a different license. Everything except that will go open source and instruction to users to replace the authentication file.<br><br></div>You decide how much you want to open source. Convention says that you should at least provide enough to be useful. Open source never requires you to disclose your private key so is my reading that you will satisfy the convention that you provide enough information (such as API documentation) to allow others to substitute and implement their own authentication key/method in place of yours. Putting authentication details in a a separate file and license it separately is an easy mean to achieve this.<br><br></div>Besides, separating them makes it easier to prevent accidental disclosure of your private keys.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Best Regards,<br>Cinly<br><br>*****<br>I do not read footer and will not be bounded by them. If they are 
legally enforceable then this one always triumph yours.</div></div></div></div>
<br><div class="gmail_quote">On 4 February 2015 at 12:11, Gervase Markham <span dir="ltr"><<a href="mailto:gerv@mozilla.org" target="_blank">gerv@mozilla.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/02/15 17:21, Zluty Sysel wrote:<br>
> I have a set of source files that I would like to open source using a<br>
> standard 3-Clause BSD but my company would not like that a certain set<br>
> of Private Keys used for authentication be disclosed along with the<br>
> code.<br>
<br>
</span>You don't need to write a new license for this. Merely provide the<br>
Private Key to your customers under a license other than the BSD license<br>
- e.g. an agreement which has a confidentiality clause prohibiting<br>
disclosure.<br>
<br>
Gerv<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
License-discuss mailing list<br>
<a href="mailto:License-discuss@opensource.org">License-discuss@opensource.org</a><br>
<a href="http://projects.opensource.org/cgi-bin/mailman/listinfo/license-discuss" target="_blank">http://projects.opensource.org/cgi-bin/mailman/listinfo/license-discuss</a><br>
</div></div></blockquote></div><br></div>