flatpak-build-sign man page

flatpak-build-sign — Sign an application or runtime


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


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.


The following options are understood:

-h, --help
Show help options and exit.
Sign the commit with this GPG key. This option can be used multiple times.
GPG Homedir to use when looking for keyrings
Sign a runtime instead of an app.
The architecture to use.
-v, --verbose
Print debug information during command processing.
Print OSTree debug information during command processing.
Print version information and exit.


$ flatpak build-export ~/repos/gnome-calculator/ ~/build/gnome-calculator/ org.gnome.Calculator

Commit: 9d0044ea480297114d03aec85c3d7ae3779438f9d2cb69d717fb54237acacb8c
Metadata Total: 605
Metadata Written: 5
Content Total: 1174
Content Written: 1
Content Bytes Written: 305

See Also

ostree(1), flatpak(1), flatpak-build-export(1), flatpak-build(1),

Referenced By

flatpak(1), flatpak-build-commit-from(1), flatpak-build-export(1).

flatpak flatpak build-sign