Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node-forge license issue as it is installed as dependency #66

Open
AshishUpadhyayCivica opened this issue Dec 2, 2022 · 4 comments
Open

Comments

@AshishUpadhyayCivica
Copy link

I am facing a problem of licensing((BSD-3-Clause OR GPL-2.0)) when I am using @nrwl/angular.
The issue is regarding one of the package that is installed as part of dependency.
Consider below
node-forge license dependency
So I am installing @nrwl/angular and all of its dependent packages are installed under MIT license except node-forge.
My security scan detects this as problem as we don't want to use BSD-3-Clause license.

I expect the node-forge should be removed as part of dependency of @nrwl/angular as this is creating lot of problems of licensing whilst using @nrwl/angular.

@jfromaniello
Copy link
Owner

Excuse my ignorance but isnt BSD-3-Clause compatible with MIT ?

@AshishUpadhyayCivica
Copy link
Author

Excuse my ignorance but isnt BSD-3-Clause compatible with MIT ?

BSD-3 - GPL v2 are associated with node-forge, and there are difference between these two licenses. I am using a scanning tool which detects the BSD-3 license as potential risk.
image

The above images gives a glimpse of the error I am facing.
I would welcome if you have any solution or workaround for this problem.

@jfromaniello
Copy link
Owner

I can see the problem here is that it found GPL-2.0 which is true... but the project is dual licensed and users can use under what licenses they think its apropiate. The tool is not reporting you a problem with BSD-3-clause.

https://github.com/digitalbazaar/forge#contributing

This license allows Forge to be used under the terms of either the BSD License or the GNU General Public License (GPL) Version 2.

@jimmywarting
Copy link

Any possibility that we could instead use web crypto instead of node-forge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants