6 May
2025
6 May
'25
10:17 a.m.
Am 04.05.25 um 19:13 schrieb Pocket:
gpg —full-gen-key gpg —export —armor —output public-key.asc pocket gpg —export-secret-keys —armor —output private-key.asc pocket The key id is pocket. For each key/attempt I imported each key into Pacman-key and signed with Pacman-key —lsign pocket Then I tried this. repo-add —sign —key pocket custom.db.tar.xz “file spec”
It failed with the error invalid key/doesn’t know the key.
makepkg and repo-add need the key in the callers keyring. They simply call gpg --detach-sign. Pacman's keyring is only for installing packages. HTH & BR