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

Feature Request: Replace OpenSC CLI Components with miekg/pkcs11 Go Package for MIT Compliance #33

Open
MGTheTrain opened this issue Feb 1, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@MGTheTrain
Copy link
Owner

Is your feature request related to a problem? Please describe.
Currently, the project utilizes OpenSC CLI components, which may present licensing concerns (LGPL-2.1). OpenSC is not fully MIT-compliant and using it could potentially limit the project's ability to fully adhere to the MIT License requirements.

Describe the solution you'd like
Replace the usage of OpenSC CLI components with the miekg/pkcs11 Go package. This would provide a more direct, Go-native interface to PKCS#11, allowing the project to remain fully MIT-compliant without relying on external, non-compliant dependencies.

Describe alternatives you've considered
Another alternative would be to find a different PKCS#11 library or command-line tool that is MIT-compliant, but after evaluating the options, miekg/pkcs11 seems like the most practical and efficient choice for Go-based projects.

Additional context
miekg/pkcs11 is a lightweight and well-maintained package that directly interfaces with PKCS#11 devices from Go, reducing the overhead and potential legal complications of relying on external CLI tools. Switching to this package would simplify the codebase, improve maintainability, and ensure licensing compatibility.

@MGTheTrain MGTheTrain changed the title Utilize miekg/pkcs11 go package instead of OpenSC cli components to be MIT-compliant Feature Request: Replace OpenSC CLI Components with miekg/pkcs11 Go Package for MIT Compliance Feb 1, 2025
@MGTheTrain MGTheTrain added the enhancement New feature or request label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant