---
name: "flatpak-build-sign"
section: "1"
platform: "linux"
package: "flatpak"
version: "1:1.18.4-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/flatpak-build-sign"
---

# flatpak-build-sign(1)

Sign an application or runtime

## NAME

flatpak-build-sign - Sign an application or runtime

## SYNOPSIS

**flatpak build-sign** \[OPTION...\] LOCATION ID \[BRANCH\]

## DESCRIPTION

Signs the commit for a specified application or runtime in a local repository. LOCATION is the location of the repository. ID is the name of the application, or runtime if --runtime is specified. If BRANCH is not specified, it is assumed to be "master".

Applications can also be signed during build-export, but it is sometimes useful to add additional signatures later.

## OPTIONS

The following options are understood:

- **-h**, **--help**

  Show help options and exit.

- **--gpg-sign=KEYID**

  Sign the commit with this GPG key. This option can be used multiple times.

- **--gpg-homedir=PATH**

  GPG Homedir to use when looking for keyrings

- **--runtime**

  Sign a runtime instead of an app.

- **--arch=ARCH**

  The architecture to use. See **flatpak --supported-arches** for architectures supported by the host.

- **-v**, **--verbose**

  Print debug information during command processing.

- **--ostree-verbose**

  Print OSTree debug information during command processing.

## EXAMPLES

**$ flatpak build-sign --gpg-sign=D8BA6573DDD2418027736F1BC33B315E53C1E9D6 /some/repo org.my.App**

## SEE ALSO

[**ostree**(1)](/ostree/1.md), [**flatpak**(1)](/flatpak/1.md), [**flatpak-build-export**(1)](/flatpak-build-export/1.md), [**flatpak-build**(1)](/flatpak-build/1.md),
