---
name: "ostree-gpg-sign"
section: "1"
platform: "linux"
package: "ostree"
version: "2026.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ostree-gpg-sign"
---

# ostree-gpg-sign(1)

Sign a commit

## NAME

ostree-gpg-sign - Sign a commit

## SYNOPSIS

**ostree gpg-sign** \[OPTIONS...\] {COMMIT} {KEY-ID...}

## DESCRIPTION

Add a new signature to a commit for each specified GPG key. Note that currently, this will append a new signature even if the commit is already signed with a given key.

## OPTIONS

- **--delete**

  Delete signatures having any of the GPG KEY-IDs.

- **--gpg-homedir**="HOMEDIR"

  GPG Homedir to use when looking for keyrings.
