andeya / faygo

Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc.

Home Page:https://github.com/henrylee2cn/faydoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attribute Code Used from gorilla/securecookie

elithrar opened this issue · comments

When fixing an issue, I came across code that is (in some parts) identical to code in the BSD licensed https://github.com/gorilla/securecookie codebase.

Specifically:

I'm not a stickler for licenses, and I don't know whether you are new to open-source (and thus OSS licensing!), but the concern here is that you are:

  • Copying upstream code in part, but not in whole, and thus introducing weaknesses in the process: #8
  • Isolating your users from any upstream fixes we make to securecookie
  • Already vendoring some code, but not all, which makes this appear intentional.

Can you please either:

  1. Import the securecookie library (vendored or otherwise) and, if necessary, wrap the functions for your own API?
    -or-
  2. Attribute the library correctly in all files where it is used as per https://github.com/gorilla/securecookie/blob/master/LICENSE

Thanks!

The session package comes from beego and retains beego's copyright statement. I do not know who is ultimately infringing, and do not want to figure out.

The code is from gorilla/securecookie.

I strongly suggest you fix your license to attribute this correctly, and/or just vendor the securecookie code directly.

If you are copying it from Beego, then Beego also needs to resolve this, but you are responsible for your repository.