For existing adopters
What's new, what changed, and how to upgrade an existing Sunbird RC deployment.
Already running Sunbird RC? This page brings together what you need before moving to a newer release: what's new, what changed, what stays compatible, and how to upgrade.
What's new
v2.1.0 adds the OID4VC service, which lets any standards-compliant wallet receive credentials through OpenID4VCI 1.0 and present them through OpenID4VP 1.0 (draft-23). The service is opt-in: it only runs when you enable the oid4vc profile, so an existing deployment keeps working as before until you turn it on.
The release also updates the runtime and dependencies of every service in the repository.
Wallet Integration β how the OID4VC service works with wallets
What changed from v1 to v2
The biggest change between major versions is how the Registry signs credentials. From v2, the Registry can use either the legacy signer (Signature V1) or the Credentials services (Signature V2). You choose with the signature_provider setting.
Signing keys
Created manually and placed in a config file before deploying
Created by the identity service when an issuer is created; the private key is held in HashiCorp Vault
Adding a key
Add it to the file manually and redeploy
Keys are created as needed
Signature suites
RsaSignature2018
Ed25519Signature2020, Ed25519Signature2018, RsaSignature2018
Services needed
certificate-signer, certificate-api
identity, credential-schema, credentials, Vault
Setting
signature_provider=dev.sunbirdrc.registry.service.impl.SignatureV1ServiceImpl
signature_provider=dev.sunbirdrc.registry.service.impl.SignatureV2ServiceImpl, plus the did_* and signature_v2_* settings
For more on each option, see Signature V1 or V2.
Compatibility
Registry APIs
From v2, the list-entity and search APIs are paginated and return a different response structure from v1. Update any client that reads these responses.
Documented
Registry schemas
Schema versioning isn't supported. Adding or removing fields has to be managed outside Sunbird RC.
Documented
Keys and DIDs
After switching from Signature V1 to V2, new credentials are signed with keys held in Vault and use V2 DIDs.
Documented
Credentials already issued
Whether credentials issued under V1 can still be verified after switching to V2.
Being confirmed
Data
Whether existing registry data needs migrating between releases.
Being confirmed
Credential schemas
Whether existing credential schemas need changes between releases.
Being confirmed
Deployment configuration
Which environment variables and settings change between releases.
Being confirmed
Upgrade steps (Docker Compose)
Read the release notes
Check the release notes for every version between yours and the one you're moving to. See Previous versions below.
Back up your data
Back up your databases before upgrading. See Backup and Restore.
Optional: enable the OID4VC service
See Wallet Integration for the settings it needs.
Previous versions
Registry
Credentials
All releases and changelogs are also on GitHub.