Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@govtechsg/certificate-cli
Advanced tools
npm install -g @govtechsg/certificate-cli
For Windows you need to set up the toolchain for node-gyp before installing this repository, follow the instructions in https://github.com/nodejs/node-gyp#on-windows.
This command process all certificates in the input directory and issue all of them in a single batch. It will then add the signature to the individual certificates.
./index.js batch <PathToUnsignedCertificates> <PathToSignedCertificates>
Example:
./index.js batch ./certificates/raw-certificates/ ./certificates/processed-certificates/
2019-02-11T08:37:44.848Z info: Batch Certificate Root: 0xf51030c5751a646284c898cff0f9d833c64a50d6f307b61f2c96c3c838b13bfc
This command verifies that the certificate (and all it's evidence) is valid and is part of the certificate batch. However, it does not verify that the batch's merkle root is stored on the blockchain. User will need to verify that the certificate has indeed been issued by checking with the issuer's smart contract.
./index.js verify-all <PathToCertificate>
Example:
./index.js verify-all ./certificates/processed-certificates
2019-02-11T08:38:36.767Z info: All certificates in ./certificates/processed-certificates is verified
sign This command verifies that the certificate (and all it's evidence) is valid and is part of the certificate batch. However, it does not verify that the batch's merkle root is stored on the blockchain. User will need to verify that the certificate has indeed been issued by checking with the issuer's smart contract.
./index.js verify <PathToCertificate>
Example:
./index.js verify ./certificates/processed-certificates/urn:uuid:08b1f10a-6bf0-46c8-bbfd-64750b0d73ef.json
2019-02-11T08:41:17.301Z info: Certificate's signature is valid!
2019-02-11T08:41:17.302Z warn: Warning: Please verify this certificate on the blockchain with the issuer's certificate store.
This allows certificate holders to generate valid certificates which hides certain evidences. Useful for hiding grades lol.
./index.js filter <inputCertificatePath> <outputCertificatePath> [filters...]
Example:
./index.js filter signed/example1.json signed/example1.out.json transcript.0.grade transcript.1.grade
2019-02-11T08:43:50.643Z info: Obfuscated certificate saved to: signed/example1.out.json
./index.js --version
npm run test
FAQs
## Setup
We found that @govtechsg/certificate-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.