-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-16521] Remove dependency on x509 module
The x509 module is unmaintained, and no longer builds on Node.js v12. It no longer built on Node.js v10, but we managed to patch it in Fabric v1.4 when we upgraded to Node.js v10. For Fabric v2.0, we will remove this dependency and remove the getX509Certificate() API which returned a class instance from this module. This will improve build times as there is no need to build this native dependency. Also, we were using TWO certificate parsers for the same job, so dump both x509 and jsrsasign, and move to @fidm/x509 which does the job nicely. The fabric-shim-crypto package still uses jsrsasign, but that package actually has to perform crypto ops. Signed-off-by: Simon Stone <sstone1@uk.ibm.com> Change-Id: I257ca8ee0a1b3cd4118af48c2cd8f57c796bf2ed
- Loading branch information
Simon Stone
committed
Sep 6, 2019
1 parent
cfd41a4
commit 3fe2f76
Showing
7 changed files
with
2,445 additions
and
2,189 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.