Key rotation
Security

Key rotation

This page covers your consumer developer signing key. POS terminal-key rotation and consumer account-key replacement are separate operations.

Coordinate developer-key rotation with Wollette before shipping a new signing key. The SDK provides no key-registration, overlap or revocation API.

Agree the rollout first

Confirm these with the platform owner:

  • Whether more than one public key can be active for the same DeveloperId.
  • How to register the new public material and verify that it is active.
  • How old app versions keep working during the rollout.
  • When and how the old key is revoked.
  • Whether certificate expiry affects acceptance.

Do not assume that registering a new key preserves the old one. The mobile repository does not establish this behaviour.

Prepare the app update

  1. Generate a separate RSA key pair for the target environment.
  2. Register the new public material using Wollette's confirmed process.
  3. Provision/import the new private key under a new Keystore alias or Keychain tag. If you use the original bundled development starter, update its packaged test files as well.
  4. Verify that the new provider's signatures are accepted in the approved environment.
  5. Roll out the app update using the agreed overlap and revocation plan.
  6. Remove superseded local key entries when they are no longer needed. clear does not remove them.

Follow Developer key setup for formats and import code.

If a key is exposed

Contact the Wollette platform/security owner to agree revocation and replacement. A bundled private key is extractable from a distributed app; importing it into protected storage does not change that fact. Revoking a key may stop authenticated calls from old installed versions, so include them in the incident plan.