Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

  1. W3C-VC (old)

  2. 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

...