Skip to content

Code Signing

For security, we recommend signing your updates. This ensures that only updates signed by your private key can be executed by the app.

You can generate an RSA keypair using OpenSSL:

Terminal window
openssl genrsa -out private-key.pem 2048
openssl rsa -in private-key.pem -pubout -out public-key.pem

Add the public key (as a single line) and metadata to your app.json:

{
"expo": {
"updates": {
"codeSigningCertificate": "./path-to-public-key.pem",
"codeSigningMetadata": {
"keyid": "main",
"alg": "rsa-v1_5-sha256"
}
}
}
}