...
Code Block |
---|
const qrType = process.env.QR_TYPE || 'W3C-VC'; const certDomainUrl = process.env.CERTIFICATE_DOMAIN_URL || "https://dev.sunbirded.org"; |
We are supporting 2 types of qr code.
W3C-VC (old)
URL-W3C-VC (new)
according to the formate what you need, change the process.env.QR_TYPE
variable;
change the signingKeyType
to KeyType.RSA
in /sunbird-rc-core/services/certificate-signer/configs/keys.js
...