Skip to content
Blog

Product updates 2 min read

Patch signing beta

Announcing Patch Signing for Shorebird Code Push.

Bryan Oltman

Founding Engineer

Shorebird’s code push allows developers to update their Flutter apps instantly, over the air, deploying fixes directly to end users’ devices. Our solution takes less than 5 minutes to integrate and requires no code changes. Shorebird’s code push can update any Dart code in your app and we’ve designed the system to comply with Apple and Google store policies without sacrificing performance (even after patching).

One of our goals is that Shorebird should be the default for all Flutter users. To do that, using Shorebird needs to be a strict upgrade from default Flutter. This includes ensuring that Shorebird is always helping with the security and privacy of your application.

Today we’re announcing another layer of security for Shorebird: patch signing. Patch signing allows you to cryptographically sign updates to your app and make your app require that patch contents are verified (via cryptographic signature) before applying the patch.

This uses the same signing technologies that are used when distributing your app through the app stores. With patch signing, your app has the ability to independently verify patch contents without trusting any system or networks (including Shorebird) that might have been involved in transporting the patch from you to your users.

Patch signing is an optional addition to the many ways in which Shorebird already works to protect the security of all our customers. We always take many precautions to protect the security of your app, including limiting what data leaves your servers (we never see or store your source code), securing what data we do store both via encryption in transit and in rest, cryptographically hashing and validating the contents of any patch you create, as examples. You can see a full breakdown of security practices we follow on your behalf in our public security policies.

The patch signing we’ve shipped today is marked as “beta”. The feature is fully functional, but we expect there to be rough edges in how the patch signing integrates with your existing developer flows. A system is only as secure as its weakest link, so improving our integrations with your preferred key management systems, etc. is where we go next and where we need your help.

We’re looking for companies to work with us in testing and improving patch signing over the next few weeks. If you are interested, please give it a try: https://docs.shorebird.dev/guides/patch-signing/ You can also reach out to us via GitHub, Discord or email should you have feedback or questions.

We’d love to help you integrate Shorebird code push into your application. Please reach out to us if you have any questions or need help getting started.

If you’re curious about what we had to change in Dart to make this all possible, check out our previous post.

All posts
  • Product updates 4 min read

    Shorebird improvements for enterprises

    Meet the enterprise console: your whole company's Shorebird setup in one place, with SCIM from Okta and Entra ID, organization members, contract billing, offboarding and one audit log.

    Wesley Peck

    Lead Product Manager

  • Product updates 2 min read

    Orgs at Shorebird just got better

    Shorebird now has one kind of organization. Your personal org works like any other org, and org membership replaces app collaborators.

    Wesley Peck

    Lead Product Manager

  • Product updates 5 min read

    Your CI shouldn't run on someone's personal key

    Service accounts give your release pipeline its own identity in your organization, with a fixed role and keys that keep working as your team changes. On GitHub Actions, you can drop the stored key entirely.

    Abhishek Doshi

    Developer Relations Engineer

Ship your first patch today.

Install the CLI, create a release and send a patch. Free for 5,000 patch installs a month.

Larger team? Talk to sales