Agent skill

linux-gpg-signing

Sign Linux packages with GPG keys for secure distribution

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/skills/other/linux-gpg-signing

SKILL.md

linux-gpg-signing

Sign Linux packages with GPG keys for secure distribution through package repositories.

Capabilities

  • Generate GPG signing keys
  • Sign DEB packages
  • Sign RPM packages
  • Sign AppImages
  • Configure APT repository signing
  • Set up YUM/DNF repository signing
  • Export public keys for distribution

Input Schema

json
{
  "type": "object",
  "properties": {
    "packagePath": { "type": "string" },
    "keyId": { "type": "string" },
    "packageType": { "enum": ["deb", "rpm", "appimage"] }
  },
  "required": ["packagePath", "keyId"]
}

Signing Commands

bash
# Generate GPG key
gpg --full-generate-key

# Sign DEB package
dpkg-sig --sign builder -k $KEY_ID package.deb

# Sign RPM package
rpm --addsign -D "_gpg_name $KEY_ID" package.rpm

# Export public key
gpg --armor --export $KEY_ID > public-key.asc

Related Skills

  • deb-package-builder
  • rpm-spec-generator

Didn't find tool you were looking for?

Be as detailed as possible for better results